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
608 HAVE_STRERROR_R_FALSE
610 HAVE_SYS_MMAN_H_FALSE
616 USING_SPLIT_STACK_FALSE
617 USING_SPLIT_STACK_TRUE
619 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
620 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
622 LIBGO_IS_X86_64_FALSE
624 LIBGO_IS_SPARC64_FALSE
625 LIBGO_IS_SPARC64_TRUE
632 LIBGO_IS_MIPS64_FALSE
643 LIBGO_IS_SOLARIS_FALSE
644 LIBGO_IS_SOLARIS_TRUE
649 LIBGO_IS_FREEBSD_FALSE
650 LIBGO_IS_FREEBSD_TRUE
651 LIBGO_IS_DARWIN_FALSE
655 glibgo_toolexeclibdir
683 MAINTAINER_MODE_FALSE
711 INSTALL_STRIP_PROGRAM
767 program_transform_name
780 enable_option_checking
782 enable_dependency_tracking
783 enable_maintainer_mode
790 enable_version_specific_runtime_libs
792 with_system_libunwind
793 enable_sjlj_exceptions
795 ac_precious_vars
='build_alias
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
866 # Accept the important Cygnus configure options, so we can diagnose typos.
868 case $ac_dashdash$ac_option in
872 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
874 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
877 -build |
--build |
--buil |
--bui |
--bu)
878 ac_prev
=build_alias
;;
879 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
880 build_alias
=$ac_optarg ;;
882 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
883 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
884 ac_prev
=cache_file
;;
885 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
886 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
887 cache_file
=$ac_optarg ;;
890 cache_file
=config.cache
;;
892 -datadir |
--datadir |
--datadi |
--datad)
894 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
895 datadir
=$ac_optarg ;;
897 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
898 |
--dataroo |
--dataro |
--datar)
899 ac_prev
=datarootdir
;;
900 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
901 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
902 datarootdir
=$ac_optarg ;;
904 -disable-* |
--disable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 as_fn_error
"invalid feature name: $ac_useropt"
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=no
;;
920 -docdir |
--docdir |
--docdi |
--doc |
--do)
922 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
925 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
927 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
930 -enable-* |
--enable-*)
931 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
934 as_fn_error
"invalid feature name: $ac_useropt"
935 ac_useropt_orig
=$ac_useropt
936 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937 case $ac_user_opts in
941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942 ac_unrecognized_sep
=', ';;
944 eval enable_
$ac_useropt=\
$ac_optarg ;;
946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
948 |
--exec |
--exe |
--ex)
949 ac_prev
=exec_prefix
;;
950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
952 |
--exec=* |
--exe=* |
--ex=*)
953 exec_prefix
=$ac_optarg ;;
955 -gas |
--gas |
--ga |
--g)
956 # Obsolete; use --with-gas.
959 -help |
--help |
--hel |
--he |
-h)
961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
962 ac_init_help
=recursive
;;
963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
964 ac_init_help
=short
;;
966 -host |
--host |
--hos |
--ho)
967 ac_prev
=host_alias
;;
968 -host=* |
--host=* |
--hos=* |
--ho=*)
969 host_alias
=$ac_optarg ;;
971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
975 htmldir
=$ac_optarg ;;
977 -includedir |
--includedir |
--includedi |
--included |
--include \
978 |
--includ |
--inclu |
--incl |
--inc)
979 ac_prev
=includedir
;;
980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
982 includedir
=$ac_optarg ;;
984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
987 infodir
=$ac_optarg ;;
989 -libdir |
--libdir |
--libdi |
--libd)
991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
995 |
--libexe |
--libex |
--libe)
996 ac_prev
=libexecdir
;;
997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
998 |
--libexe=* |
--libex=* |
--libe=*)
999 libexecdir
=$ac_optarg ;;
1001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1002 ac_prev
=localedir
;;
1003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1004 localedir
=$ac_optarg ;;
1006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1008 ac_prev
=localstatedir
;;
1009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1011 localstatedir
=$ac_optarg ;;
1013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1016 mandir
=$ac_optarg ;;
1018 -nfp |
--nfp |
--nf)
1019 # Obsolete; use --without-fp.
1022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1023 |
--no-cr |
--no-c |
-n)
1026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1032 |
--oldin |
--oldi |
--old |
--ol |
--o)
1033 ac_prev
=oldincludedir
;;
1034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1037 oldincludedir
=$ac_optarg ;;
1039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1042 prefix
=$ac_optarg ;;
1044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1045 |
--program-pre |
--program-pr |
--program-p)
1046 ac_prev
=program_prefix
;;
1047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1049 program_prefix
=$ac_optarg ;;
1051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1052 |
--program-suf |
--program-su |
--program-s)
1053 ac_prev
=program_suffix
;;
1054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1056 program_suffix
=$ac_optarg ;;
1058 -program-transform-name |
--program-transform-name \
1059 |
--program-transform-nam |
--program-transform-na \
1060 |
--program-transform-n |
--program-transform- \
1061 |
--program-transform |
--program-transfor \
1062 |
--program-transfo |
--program-transf \
1063 |
--program-trans |
--program-tran \
1064 |
--progr-tra |
--program-tr |
--program-t)
1065 ac_prev
=program_transform_name
;;
1066 -program-transform-name=* |
--program-transform-name=* \
1067 |
--program-transform-nam=* |
--program-transform-na=* \
1068 |
--program-transform-n=* |
--program-transform-=* \
1069 |
--program-transform=* |
--program-transfor=* \
1070 |
--program-transfo=* |
--program-transf=* \
1071 |
--program-trans=* |
--program-tran=* \
1072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1073 program_transform_name
=$ac_optarg ;;
1075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1078 pdfdir
=$ac_optarg ;;
1080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1086 |
-silent |
--silent |
--silen |
--sile |
--sil)
1089 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1091 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1093 sbindir
=$ac_optarg ;;
1095 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1096 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1097 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1099 ac_prev
=sharedstatedir
;;
1100 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1101 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1102 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1104 sharedstatedir
=$ac_optarg ;;
1106 -site |
--site |
--sit)
1108 -site=* |
--site=* |
--sit=*)
1111 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1113 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1114 srcdir
=$ac_optarg ;;
1116 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1117 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1118 ac_prev
=sysconfdir
;;
1119 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1120 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1121 sysconfdir
=$ac_optarg ;;
1123 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1124 ac_prev
=target_alias
;;
1125 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1126 target_alias
=$ac_optarg ;;
1128 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1131 -version |
--version |
--versio |
--versi |
--vers |
-V)
1132 ac_init_version
=: ;;
1135 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=\
$ac_optarg ;;
1150 -without-* |
--without-*)
1151 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error
"invalid package name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval with_
$ac_useropt=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) as_fn_error
"unrecognized option: \`$ac_option'
1185 Try \`$0 --help' for more information."
1189 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 case $ac_envvar in #(
1192 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1193 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 as_fn_error
"missing argument to $ac_option"
1214 if test -n "$ac_unrecognized_opts"; then
1215 case $enable_option_checking in
1217 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222 # Check all directory arguments for consistency.
1223 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224 datadir sysconfdir sharedstatedir localstatedir includedir \
1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226 libdir localedir mandir
1228 eval ac_val
=\$
$ac_var
1229 # Remove trailing slashes.
1232 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233 eval $ac_var=\
$ac_val;;
1235 # Be sure to have absolute directory names.
1237 [\\/$
]* | ?
:[\\/]* ) continue;;
1238 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1240 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1243 # There might be people who depend on the old broken behavior: `$host'
1244 # used to hold the argument of --host etc.
1245 # FIXME: To remove some day.
1248 target
=$target_alias
1250 # FIXME: To remove some day.
1251 if test "x$host_alias" != x
; then
1252 if test "x$build_alias" = x
; then
1253 cross_compiling
=maybe
1254 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1255 If a cross compiler is detected then cross compile mode will be used." >&2
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1264 test "$silent" = yes && exec 6>/dev
/null
1267 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di
=`ls -di .` &&
1269 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error
"working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error
"pwd does not report name of working directory"
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted
=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir
=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1307 ac_srcdir_defaulted
=no
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1311 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1313 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1325 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 for ac_var
in $ac_precious_vars; do
1328 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1330 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1335 # Report the --help message.
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1341 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1348 Defaults for the options are specified in brackets.
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1372 For better control, use the options below.
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1399 --program-prefix=PREFIX prepend PREFIX to installed program names
1400 --program-suffix=SUFFIX append SUFFIX to installed program names
1401 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1404 --build=BUILD configure
for building on BUILD
[guessed
]
1405 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1406 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1410 if test -n "$ac_init_help"; then
1411 case $ac_init_help in
1412 short | recursive
) echo "Configuration of package-unused version-unused:";;
1417 --disable-option-checking ignore unrecognized
--enable/--with options
1418 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1419 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1420 --enable-multilib build many library versions
(default
)
1421 --disable-dependency-tracking speeds up one-time build
1422 --enable-dependency-tracking do not reject slow dependency extractors
1423 --enable-maintainer-mode enable make rules and dependencies not useful
1424 (and sometimes confusing
) to the casual installer
1425 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1426 --enable-static[=PKGS
] build static libraries
[default
=yes]
1427 --enable-fast-install[=PKGS
]
1428 optimize
for fast installation
[default
=yes]
1429 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1430 --enable-version-specific-runtime-libs
1431 Specify that runtime libraries should be installed
1432 in a compiler-specific directory
1433 --enable-sjlj-exceptions
1434 force use of builtin_setjmp
for exceptions
1437 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1438 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1439 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1440 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1442 --without-libffi don
't use libffi
1443 --with-system-libunwind use installed libunwind
1445 Some influential environment variables:
1446 CC C compiler command
1447 CFLAGS C compiler flags
1448 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1449 nonstandard directory <lib dir>
1450 LIBS libraries to pass to the linker, e.g. -l<library>
1451 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1452 you have headers in a nonstandard directory <include dir>
1453 GOC Go compiler command
1454 GOCFLAGS Go compiler flags
1457 Use these variables to override the choices made by `configure' or to
help
1458 it to
find libraries and programs with nonstandard names
/locations.
1460 Report bugs to the package provider.
1465 if test "$ac_init_help" = "recursive"; then
1466 # If there are subdirs, report their specific --help.
1467 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1468 test -d "$ac_dir" ||
1469 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1474 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1476 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1477 # A ".." for each directory in $ac_dir_suffix.
1478 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1479 case $ac_top_builddir_sub in
1480 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1481 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1484 ac_abs_top_builddir
=$ac_pwd
1485 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1486 # for backward compatibility:
1487 ac_top_builddir
=$ac_top_build_prefix
1490 .
) # We are building in place.
1492 ac_top_srcdir
=$ac_top_builddir_sub
1493 ac_abs_top_srcdir
=$ac_pwd ;;
1494 [\\/]* | ?
:[\\/]* ) # Absolute name.
1495 ac_srcdir
=$srcdir$ac_dir_suffix;
1496 ac_top_srcdir
=$srcdir
1497 ac_abs_top_srcdir
=$srcdir ;;
1499 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1500 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1501 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1503 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1505 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1506 # Check for guested configure.
1507 if test -f "$ac_srcdir/configure.gnu"; then
1509 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1510 elif test -f "$ac_srcdir/configure"; then
1512 $SHELL "$ac_srcdir/configure" --help=recursive
1514 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1516 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1520 test -n "$ac_init_help" && exit $ac_status
1521 if $ac_init_version; then
1523 package-unused configure version-unused
1524 generated by GNU Autoconf
2.64
1526 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1527 This configure
script is free software
; the Free Software Foundation
1528 gives unlimited permission to copy
, distribute and modify it.
1533 ## ------------------------ ##
1534 ## Autoconf initialization. ##
1535 ## ------------------------ ##
1537 # ac_fn_c_try_compile LINENO
1538 # --------------------------
1539 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1540 ac_fn_c_try_compile
()
1542 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1543 rm -f conftest.
$ac_objext
1544 if { { ac_try
="$ac_compile"
1546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1547 *) ac_try_echo=$ac_try;;
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_compile") 2>conftest.err
1553 if test -s conftest.err; then
1554 grep -v '^ *+' conftest.err >conftest.er1
1555 cat conftest.er1 >&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && {
1560 test -z "$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest.$ac_objext; then :
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1573 } # ac_fn_c_try_compile
1575 # ac_fn_c_try_link LINENO
1576 # -----------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded.
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext conftest$ac_exeext
1582 if { { ac_try="$ac_link"
1584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1585 *) ac_try_echo
=$ac_try;;
1587 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_link") 2>conftest.err
1591 if test -s conftest.err
; then
1592 grep -v '^ *+' conftest.err
>conftest.er1
1593 cat conftest.er1
>&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && {
1598 test -z "$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest
$ac_exeext && {
1601 test "$cross_compiling" = yes ||
1602 $as_test_x conftest
$ac_exeext
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.
$ac_ext >&5
1611 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1612 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1613 # interfere with the next link command; also delete a directory that is
1614 # left behind by Apple's compiler. We do this before executing the actions.
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1616 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1619 } # ac_fn_c_try_link
1621 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1622 # -------------------------------------------------------
1623 # Tests whether HEADER exists and can be compiled using the include files in
1624 # INCLUDES, setting the cache variable VAR accordingly.
1625 ac_fn_c_check_header_compile
()
1627 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1631 $as_echo_n "(cached) " >&6
1633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h. */
1638 if ac_fn_c_try_compile
"$LINENO"; then :
1643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 $as_echo "$ac_res" >&6; }
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1650 } # ac_fn_c_check_header_compile
1652 # ac_fn_c_try_cpp LINENO
1653 # ----------------------
1654 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1657 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1658 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } >/dev/null && {
1674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_check_func LINENO FUNC VAR
1732 # ----------------------------------
1733 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1734 ac_fn_c_check_func ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1740 $as_echo_n "(cached) " >&6
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1744 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1746 #define $2 innocuous_$2
1748 /* System header to define __stub macros and hopefully few prototypes,
1749 which can conflict with char $2 (); below.
1750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1751 <limits.h> exists even on freestanding compilers. */
1754 # include <limits.h>
1756 # include <assert.h>
1761 /* Override any GCC internal prototype to avoid an error.
1762 Use char because int might match the return type of a GCC
1763 builtin and then its argument prototype would still apply. */
1768 /* The GNU C library defines this for functions which it implements
1769 to always fail with ENOSYS. Some functions are actually named
1770 something starting with __ and the normal name is an alias. */
1771 #if defined __stub_$2 || defined __stub___$2
1783 if ac_fn_c_try_link "$LINENO"; then :
1788 rm -f core conftest.err conftest.$ac_objext \
1789 conftest$ac_exeext conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 } # ac_fn_c_check_func
1798 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1799 # -------------------------------------------------------
1800 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1801 # the include files in INCLUDES and setting the cache variable VAR
1803 ac_fn_c_check_header_mongrel ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1810 $as_echo_n "(cached) " >&6
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1816 # Is the header compilable?
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1818 $as_echo_n "checking $2 usability... " >&6; }
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1825 ac_header_compiler=yes
1827 ac_header_compiler=no
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1831 $as_echo "$ac_header_compiler" >&6; }
1833 # Is the header present?
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1835 $as_echo_n "checking $2 presence... " >&6; }
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1840 if ac_fn_c_try_cpp "$LINENO"; then :
1841 ac_header_preproc=yes
1843 ac_header_preproc=no
1845 rm -f conftest.err conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1847 $as_echo "$ac_header_preproc" >&6; }
1849 # So? What about this header?
1850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1853 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1855 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1859 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1861 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1863 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1865 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1873 $as_echo_n "(cached) " >&6
1875 eval "$3=\$ac_header_compiler"
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1883 } # ac_fn_c_check_header_mongrel
1885 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1886 # -------------------------------------------
1887 # Tests whether TYPE exists after having included INCLUDES, setting cache
1888 # variable VAR accordingly.
1889 ac_fn_c_check_type ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h. */
1923 if ac_fn_c_try_compile "$LINENO"; then :
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1937 } # ac_fn_c_check_type
1938 cat >config.log <<_ACEOF
1939 This file contains any messages produced by compilers while
1940 running configure, to aid debugging if configure makes a mistake.
1942 It was created by package-unused $as_me version-unused, which was
1943 generated by GNU Autoconf 2.64. Invocation command line was
1955 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1956 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1957 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1958 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1959 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1961 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1962 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1964 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1965 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1966 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1967 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1968 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1969 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1970 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978 test -z "$as_dir" && as_dir=.
1979 $as_echo "PATH: $as_dir"
1995 # Keep a trace of the command line.
1996 # Strip out --no-create and --no-recursion so they do not pile up.
1997 # Strip out --silent because we don't want to record it for future runs.
1998 # Also quote any args containing shell meta-characters.
1999 # Make two passes to allow for proper duplicate-argument suppression.
2003 ac_must_keep_next=false
2009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2011 | -silent | --silent | --silen | --sile | --sil)
2014 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2017 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2019 as_fn_append ac_configure_args1 " '$ac_arg'"
2020 if test $ac_must_keep_next = true; then
2021 ac_must_keep_next=false # Got value, back to normal.
2024 *=* | --config-cache | -C | -disable-* | --disable-* \
2025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2027 | -with-* | --with-* | -without-* | --without-* | --x)
2028 case "$ac_configure_args0 " in
2029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2032 -* ) ac_must_keep_next=true ;;
2035 as_fn_append ac_configure_args " '$ac_arg'"
2040 { ac_configure_args0=; unset ac_configure_args0;}
2041 { ac_configure_args1=; unset ac_configure_args1;}
2043 # When interrupted or exit'd, cleanup temporary files, and complete
2044 # config.log. We remove comments because anyway the quotes in there
2045 # would cause problems or look ugly.
2046 # WARNING: Use '\'' to represent an apostrophe within the trap.
2047 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2048 trap 'exit_status=$?
2049 # Save into config.log some information that might help in debugging.
2054 ## ---------------- ##
2055 ## Cache variables. ##
2056 ## ---------------- ##
2059 # The following way of writing the cache mishandles newlines in values,
2061 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2062 eval ac_val=\$$ac_var
2066 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2070 _ | IFS | as_nl) ;; #(
2071 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2072 *) { eval $ac_var=; unset $ac_var;} ;;
2077 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2078 *${as_nl}ac_space=\ *)
2080 "s/'\''/'\''\\\\'\'''\''/g;
2081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2084 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092 ## ----------------- ##
2093 ## Output variables. ##
2094 ## ----------------- ##
2097 for ac_var in $ac_subst_vars
2099 eval ac_val=\$$ac_var
2101 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2103 $as_echo "$ac_var='\''$ac_val'\''"
2107 if test -n "$ac_subst_files"; then
2109 ## ------------------- ##
2110 ## File substitutions. ##
2111 ## ------------------- ##
2114 for ac_var in $ac_subst_files
2116 eval ac_val=\$$ac_var
2118 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2120 $as_echo "$ac_var='\''$ac_val'\''"
2125 if test -s confdefs.h; then
2135 test "$ac_signal" != 0 &&
2136 $as_echo "$as_me: caught signal $ac_signal"
2137 $as_echo "$as_me: exit $exit_status"
2139 rm -f core *.core core.conftest.* &&
2140 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2143 for ac_signal in 1 2 13 15; do
2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2149 rm -f -r conftest* confdefs.h
2151 $as_echo "/* confdefs.h */" > confdefs.h
2153 # Predefined preprocessor variables.
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_NAME "$PACKAGE_NAME"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_STRING "$PACKAGE_STRING"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_URL "$PACKAGE_URL"
2180 # Let the site file select an alternate cache file if it wants to.
2181 # Prefer an explicitly selected file to automatically selected ones.
2184 if test -n "$CONFIG_SITE"; then
2185 ac_site_file1=$CONFIG_SITE
2186 elif test "x$prefix" != xNONE; then
2187 ac_site_file1=$prefix/share/config.site
2188 ac_site_file2=$prefix/etc/config.site
2190 ac_site_file1=$ac_default_prefix/share/config.site
2191 ac_site_file2=$ac_default_prefix/etc/config.site
2193 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2195 test "x$ac_site_file" = xNONE && continue
2196 if test -r "$ac_site_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2199 sed 's/^/| /' "$ac_site_file" >&5
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special
2206 # files actually), so we avoid doing that.
2207 if test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2212 *) . "./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 # Check that the precious variables saved in the cache have kept the same
2223 ac_cache_corrupted=false
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2226 eval ac_new_set=\$ac_env_${ac_var}_set
2227 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2228 eval ac_new_val=\$ac_env_${ac_var}_value
2229 case $ac_old_set,$ac_new_set in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2232 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233 ac_cache_corrupted=: ;;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2236 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2237 ac_cache_corrupted=: ;;
2240 if test "x$ac_old_val" != "x$ac_new_val"; then
2241 # differences in whitespace do not lead to failure.
2242 ac_old_val_w=`echo x
$ac_old_val`
2243 ac_new_val_w=`echo x
$ac_new_val`
2244 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2247 ac_cache_corrupted=:
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251 eval $ac_var=\$ac_old_val
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2254 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2259 # Pass precious variables to config.status.
2260 if test "$ac_new_set" = set; then
2262 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2263 *) ac_arg=$ac_var=$ac_new_val ;;
2265 case " $ac_configure_args " in
2266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2267 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2271 if $ac_cache_corrupted; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293 ac_config_headers="$ac_config_headers config.h"
2296 libtool_VERSION=1:0:0
2299 # Default to --enable-multilib
2300 # Check whether --enable-multilib was given.
2301 if test "${enable_multilib+set}" = set; then :
2302 enableval=$enable_multilib; case "$enableval" in
2303 yes) multilib=yes ;;
2305 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2312 # We may get other options which we leave undocumented:
2313 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2314 # See config-ml.in if you want the gory details.
2316 if test "$srcdir" = "."; then
2317 if test "$with_target_subdir" != "."; then
2318 multi_basedir="$srcdir/$with_multisrctop../.."
2320 multi_basedir="$srcdir/$with_multisrctop.."
2323 multi_basedir="$srcdir/.."
2327 # Even if the default multilib is not a cross compilation,
2328 # it may be that some of the other multilibs are.
2329 if test $cross_compiling = no && test $multilib = yes \
2330 && test "x${with_multisubdir}" != x ; then
2331 cross_compiling=maybe
2334 ac_config_commands="$ac_config_commands default-1"
2338 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2339 for ac_t in install-sh install.sh shtool; do
2340 if test -f "$ac_dir/$ac_t"; then
2342 ac_install_sh="$ac_aux_dir/$ac_t -c"
2347 if test -z "$ac_aux_dir"; then
2348 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2351 # These three variables are undocumented and unsupported,
2352 # and are intended to be withdrawn in a future Autoconf release.
2353 # They can cause serious problems if a builder's source tree is in a directory
2354 # whose full name contains unusual characters.
2355 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2356 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2357 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2360 # Make sure we can run config.sub.
2361 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2362 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2365 $as_echo_n "checking build system type... " >&6; }
2366 if test "${ac_cv_build+set}" = set; then :
2367 $as_echo_n "(cached) " >&6
2369 ac_build_alias=$build_alias
2370 test "x$ac_build_alias" = x &&
2371 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2372 test "x$ac_build_alias" = x &&
2373 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2374 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2375 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2379 $as_echo "$ac_cv_build" >&6; }
2380 case $ac_cv_build in
2382 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2385 ac_save_IFS=$IFS; IFS='-'
2391 # Remember, the first character of IFS is used to create $*,
2392 # except with old shells:
2395 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2399 $as_echo_n "checking host system type... " >&6; }
2400 if test "${ac_cv_host+set}" = set; then :
2401 $as_echo_n "(cached) " >&6
2403 if test "x$host_alias" = x; then
2404 ac_cv_host=$ac_cv_build
2406 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2407 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2412 $as_echo "$ac_cv_host" >&6; }
2415 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2418 ac_save_IFS=$IFS; IFS='-'
2424 # Remember, the first character of IFS is used to create $*,
2425 # except with old shells:
2428 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2432 $as_echo_n "checking target system type... " >&6; }
2433 if test "${ac_cv_target+set}" = set; then :
2434 $as_echo_n "(cached) " >&6
2436 if test "x$target_alias" = x; then
2437 ac_cv_target=$ac_cv_host
2439 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2440 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2445 $as_echo "$ac_cv_target" >&6; }
2446 case $ac_cv_target in
2448 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2450 target=$ac_cv_target
2451 ac_save_IFS=$IFS; IFS='-'
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2461 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2464 # The aliases save the names the user supplied, while $host etc.
2465 # will get canonicalized.
2466 test -n "$target_alias" &&
2467 test "$program_prefix$program_suffix$program_transform_name" = \
2469 program_prefix=${target_alias}-
2471 target_alias=${target_alias-$host_alias}
2473 am__api_version='1.11'
2475 # Find a good install program. We prefer a C program (faster),
2476 # so one script is as good as another. But avoid the broken or
2477 # incompatible versions:
2478 # SysV /etc/install, /usr/sbin/install
2479 # SunOS /usr/etc/install
2480 # IRIX /sbin/install
2482 # AmigaOS /C/install, which installs bootblocks on floppy discs
2483 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2484 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2485 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2486 # OS/2's system install, which has a completely different semantic
2487 # ./install, which can be erroneously created by make from ./install.sh.
2488 # Reject install programs that cannot install multiple files.
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2490 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2491 if test -z "$INSTALL"; then
2492 if test "${ac_cv_path_install+set}" = set; then :
2493 $as_echo_n "(cached) " >&6
2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir=.
2500 # Account for people who put trailing slashes in PATH elements.
2501 case $as_dir/ in #((
2502 ./ | .// | /[cC]/* | \
2503 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2504 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2507 # OSF1 and SCO ODT 3.0 have their own names for install.
2508 # Don't use installbsd from OSF since it installs stuff as root
2510 for ac_prog in ginstall scoinst install; do
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2513 if test $ac_prog = install &&
2514 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2515 # AIX install. It has an incompatible calling convention.
2517 elif test $ac_prog = install &&
2518 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2519 # program-specific install script used by HP pwplus--don't use.
2522 rm -rf conftest.one conftest.two conftest.dir
2523 echo one > conftest.one
2524 echo two > conftest.two
2526 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2527 test -s conftest.one && test -s conftest.two &&
2528 test -s conftest.dir/conftest.one &&
2529 test -s conftest.dir/conftest.two
2531 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2544 rm -rf conftest.one conftest.two conftest.dir
2547 if test "${ac_cv_path_install+set}" = set; then
2548 INSTALL=$ac_cv_path_install
2550 # As a last resort, use the slow shell script. Don't cache a
2551 # value for INSTALL within a source directory, because that will
2552 # break other packages using the cache if that directory is
2553 # removed, or if the value is a relative name.
2554 INSTALL=$ac_install_sh
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2558 $as_echo "$INSTALL" >&6; }
2560 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2561 # It thinks the first close brace ends the variable substitution.
2562 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2564 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2566 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2569 $as_echo_n "checking whether build environment is sane... " >&6; }
2572 echo timestamp > conftest.file
2573 # Reject unsafe characters in $srcdir or the absolute working directory
2574 # name. Accept space and tab only in the latter.
2578 *[\\\"\#\$\&\'\`$am_lf]*)
2579 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2582 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2583 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2586 # Do `set' in a subshell so we don't clobber the current shell's
2587 # arguments. Must try -L first in case configure is actually a
2588 # symlink; some systems play weird games with the mod time of symlinks
2589 # (eg FreeBSD returns the mod time of the symlink's containing
2592 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2593 if test "$*" = "X"; then
2595 set X
`ls -t "$srcdir/configure" conftest.file`
2598 if test "$*" != "X $srcdir/configure conftest.file" \
2599 && test "$*" != "X conftest.file $srcdir/configure"; then
2601 # If neither matched, then we have a broken ls. This can happen
2602 # if, for instance, CONFIG_SHELL is bash and it inherits a
2603 # broken ls alias from the environment. This has actually
2604 # happened. Such a system could not be considered "sane".
2605 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2606 alias in your environment" "$LINENO" 5
2609 test "$2" = conftest.
file
2615 as_fn_error
"newly created file is older than distributed files!
2616 Check your system clock" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2619 $as_echo "yes" >&6; }
2620 test "$program_prefix" != NONE
&&
2621 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2622 # Use a double $ so make ignores it.
2623 test "$program_suffix" != NONE
&&
2624 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2625 # Double any \ or $.
2626 # By default was `s,x,x', remove it if useless.
2627 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2628 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2630 # expand $ac_aux_dir to an absolute path
2631 am_aux_dir
=`cd $ac_aux_dir && pwd`
2633 if test x
"${MISSING+set}" != xset
; then
2636 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2638 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2641 # Use eval to expand $SHELL
2642 if eval "$MISSING --run true"; then
2643 am_missing_run
="$MISSING --run "
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2647 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2650 if test x
"${install_sh}" != xset
; then
2653 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2655 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2659 # Installed binaries are usually stripped using `strip' when the user
2660 # run `make install-strip'. However `strip' might not be the right
2661 # tool to use in cross-compilation environments, therefore Automake
2662 # will honor the `STRIP' environment variable to overrule this program.
2663 if test "$cross_compiling" != no
; then
2664 if test -n "$ac_tool_prefix"; then
2665 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2666 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if test "${ac_cv_prog_STRIP+set}" = set; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$STRIP"; then
2673 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir
=.
2680 for ac_exec_ext
in '' $ac_executable_extensions; do
2681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 STRIP
=$ac_cv_prog_STRIP
2693 if test -n "$STRIP"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2695 $as_echo "$STRIP" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2703 if test -z "$ac_cv_prog_STRIP"; then
2705 # Extract the first word of "strip", so it can be a program name with args.
2706 set dummy strip
; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$ac_ct_STRIP"; then
2713 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_ac_ct_STRIP
="strip"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2733 if test -n "$ac_ct_STRIP"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2735 $as_echo "$ac_ct_STRIP" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2741 if test "x$ac_ct_STRIP" = x
; then
2744 case $cross_compiling:$ac_tool_warned in
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned
=yes ;;
2753 STRIP
="$ac_cv_prog_STRIP"
2757 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2760 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2761 if test -z "$MKDIR_P"; then
2762 if test "${ac_cv_path_mkdir+set}" = set; then :
2763 $as_echo_n "(cached) " >&6
2765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2766 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2769 test -z "$as_dir" && as_dir
=.
2770 for ac_prog
in mkdir gmkdir
; do
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2773 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2774 'mkdir (GNU coreutils) '* | \
2775 'mkdir (coreutils) '* | \
2776 'mkdir (fileutils) '4.1*)
2777 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2787 if test "${ac_cv_path_mkdir+set}" = set; then
2788 MKDIR_P
="$ac_cv_path_mkdir -p"
2790 # As a last resort, use the slow shell script. Don't cache a
2791 # value for MKDIR_P within a source directory, because that will
2792 # break other packages using the cache if that directory is
2793 # removed, or if the value is a relative name.
2794 test -d .
/--version && rmdir .
/--version
2795 MKDIR_P
="$ac_install_sh -d"
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2799 $as_echo "$MKDIR_P" >&6; }
2803 [\\/$
]* | ?
:[\\/]*) ;;
2804 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2807 for ac_prog
in gawk mawk nawk
awk
2809 # Extract the first word of "$ac_prog", so it can be a program name with args.
2810 set dummy
$ac_prog; ac_word
=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if test "${ac_cv_prog_AWK+set}" = set; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$AWK"; then
2817 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2826 ac_cv_prog_AWK
="$ac_prog"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 if test -n "$AWK"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2839 $as_echo "$AWK" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2846 test -n "$AWK" && break
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2850 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2852 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2853 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2854 $as_echo_n "(cached) " >&6
2856 cat >conftest.
make <<\_ACEOF
2859 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2861 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2862 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2864 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2866 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2870 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2877 SET_MAKE
="MAKE=${MAKE-make}"
2880 rm -rf .tst
2>/dev
/null
2881 mkdir .tst
2>/dev
/null
2882 if test -d .tst
; then
2887 rmdir .tst
2>/dev
/null
2889 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2890 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2891 # is not polluted with repeated "-I."
2892 am__isrc
=' -I$(srcdir)'
2893 # test to see if srcdir already configured
2894 if test -f $srcdir/config.status
; then
2895 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2899 # test whether we have cygpath
2900 if test -z "$CYGPATH_W"; then
2901 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2902 CYGPATH_W
='cygpath -w'
2909 # Define the identity of the package.
2911 VERSION
='version-unused'
2914 # Some tools Automake needs.
2916 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2919 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2922 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2925 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2928 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2930 # We need awk for the "check" target. The system "awk" is bad on
2932 # Always define AMTAR for backward compatibility.
2934 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2936 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2948 ac_cpp
='$CPP $CPPFLAGS'
2949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if test "${ac_cv_prog_CC+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC
="$CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 if test -n "$CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2991 if test -z "$ac_cv_prog_CC"; then
2993 # Extract the first word of "gcc", so it can be a program name with args.
2994 set dummy gcc
; ac_word
=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$ac_ct_CC"; then
3001 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir
=.
3008 for ac_exec_ext
in '' $ac_executable_extensions; do
3009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3010 ac_cv_prog_ac_ct_CC
="gcc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3021 if test -n "$ac_ct_CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3023 $as_echo "$ac_ct_CC" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3029 if test "x$ac_ct_CC" = x
; then
3032 case $cross_compiling:$ac_tool_warned in
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3036 ac_tool_warned
=yes ;;
3044 if test -z "$CC"; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3047 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if test "${ac_cv_prog_CC+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC
="$CC" # Let the user override the test.
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir
=.
3061 for ac_exec_ext
in '' $ac_executable_extensions; do
3062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3063 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3085 if test -z "$CC"; then
3086 # Extract the first word of "cc", so it can be a program name with args.
3087 set dummy cc
; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_CC+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC
="$CC" # Let the user override the test.
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir
=.
3102 for ac_exec_ext
in '' $ac_executable_extensions; do
3103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3104 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3105 ac_prog_rejected
=yes
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test $ac_prog_rejected = yes; then
3117 # We found a bogon in the path, so make sure we never use it.
3118 set dummy
$ac_cv_prog_CC
3120 if test $# != 0; then
3121 # We chose a different compiler from the bogus one.
3122 # However, it has the same basename, so the bogon will be chosen
3123 # first if we set CC to just the basename; use the full file name.
3125 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3131 if test -n "$CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133 $as_echo "$CC" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3141 if test -z "$CC"; then
3142 if test -n "$ac_tool_prefix"; then
3143 for ac_prog
in cl.exe
3145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if test "${ac_cv_prog_CC+set}" = set; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC
="$CC" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3162 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3182 test -n "$CC" && break
3185 if test -z "$CC"; then
3187 for ac_prog
in cl.exe
3189 # Extract the first word of "$ac_prog", so it can be a program name with args.
3190 set dummy
$ac_prog; ac_word
=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 if test -n "$ac_ct_CC"; then
3197 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir
=.
3204 for ac_exec_ext
in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 ac_cv_prog_ac_ct_CC
="$ac_prog"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3217 if test -n "$ac_ct_CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3219 $as_echo "$ac_ct_CC" >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3226 test -n "$ac_ct_CC" && break
3229 if test "x$ac_ct_CC" = x
; then
3232 case $cross_compiling:$ac_tool_warned in
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned
=yes ;;
3245 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247 as_fn_error
"no acceptable C compiler found in \$PATH
3248 See \`config.log' for more details." "$LINENO" 5; }
3250 # Provide some information about the compiler.
3251 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3254 for ac_option
in --version -v -V -qversion; do
3255 { { ac_try
="$ac_compiler $ac_option >&5"
3257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3264 if test -s conftest.err; then
3266 ... rest of stderr output deleted ...
3267 10q' conftest.err >conftest.er1
3268 cat conftest.er1 >&5
3269 rm -f conftest.er1 conftest.err
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3286 ac_clean_files_save=$ac_clean_files
3287 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3288 # Try to create an executable without -o first, disregard a.out.
3289 # It will help us diagnose broken compilers, and finding out an intuition
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3292 $as_echo_n "checking for C compiler default output file name... " >&6; }
3293 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3295 # The possible output files:
3296 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3299 for ac_file in $ac_files
3302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3308 if { { ac_try="$ac_link_default"
3310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3311 *) ac_try_echo
=$ac_try;;
3313 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315 (eval "$ac_link_default") 2>&5
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }; then :
3319 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3320 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3321 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3322 # so that the user can short-circuit this test for compilers unknown to
3324 for ac_file
in $ac_files ''
3326 test -f "$ac_file" ||
continue
3328 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3331 # We found the default executable, but exeext='' is most
3335 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3337 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3339 # We set ac_cv_exeext here because the later test for it is not
3340 # safe: cross compilers may not add the suffix if given an `-o'
3341 # argument, so we may need to know it at that point already.
3342 # Even if this section looks crufty: it has the advantage of
3349 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3355 $as_echo "$ac_file" >&6; }
3356 if test -z "$ac_file"; then :
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.
$ac_ext >&5
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 { as_fn_set_status
77
3363 as_fn_error
"C compiler cannot create executables
3364 See \`config.log' for more details." "$LINENO" 5; }; }
3366 ac_exeext
=$ac_cv_exeext
3368 # Check that the compiler produces executables we can run. If not, either
3369 # the compiler is broken, or we cross compile.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3371 $as_echo_n "checking whether the C compiler works... " >&6; }
3372 # If not cross compiling, check that we can run a simple program.
3373 if test "$cross_compiling" != yes; then
3374 if { ac_try
='./$ac_file'
3375 { { case "(($ac_try" in
3376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_try") 2>&5
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }; }; then
3387 if test "$cross_compiling" = maybe; then
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error "cannot run C compiled programs.
3393 If you meant to cross compile
, use \
`--host'.
3394 See \`config.log
' for more details." "$LINENO" 5; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3399 $as_echo "yes" >&6; }
3401 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3402 ac_clean_files=$ac_clean_files_save
3403 # Check that the compiler produces executables we can run. If not, either
3404 # the compiler is broken, or we cross compile.
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3406 $as_echo_n "checking whether we are cross compiling... " >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3408 $as_echo "$cross_compiling" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3411 $as_echo_n "checking for suffix of executables... " >&6; }
3412 if { { ac_try="$ac_link"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; then :
3423 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3424 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3425 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3427 for ac_file
in conftest.exe conftest conftest.
*; do
3428 test -f "$ac_file" ||
continue
3430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3431 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3440 See \`config.log' for more details." "$LINENO" 5; }
3442 rm -f conftest
$ac_cv_exeext
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3444 $as_echo "$ac_cv_exeext" >&6; }
3446 rm -f conftest.
$ac_ext
3447 EXEEXT
=$ac_cv_exeext
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3450 $as_echo_n "checking for suffix of object files... " >&6; }
3451 if test "${ac_cv_objext+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3465 rm -f conftest.o conftest.obj
3466 if { { ac_try
="$ac_compile"
3468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_compile") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }; then :
3477 for ac_file in conftest.o conftest.obj conftest.*; do
3478 test -f "$ac_file" || continue;
3480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3481 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3486 $as_echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error "cannot compute suffix of object files
: cannot compile
3492 See \
`config.log' for more details." "$LINENO" 5; }
3494 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3497 $as_echo "$ac_cv_objext" >&6; }
3498 OBJEXT=$ac_cv_objext
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3501 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3502 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3519 if ac_fn_c_try_compile "$LINENO"; then :
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3529 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3530 if test $ac_compiler_gnu = yes; then
3535 ac_test_CFLAGS=${CFLAGS+set}
3536 ac_save_CFLAGS=$CFLAGS
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3538 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3539 if test "${ac_cv_prog_cc_g+set}" = set; then :
3540 $as_echo_n "(cached) " >&6
3542 ac_save_c_werror_flag=$ac_c_werror_flag
3543 ac_c_werror_flag=yes
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3572 if ac_fn_c_try_compile "$LINENO"; then :
3575 ac_c_werror_flag=$ac_save_c_werror_flag
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3588 if ac_fn_c_try_compile "$LINENO"; then :
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 ac_c_werror_flag=$ac_save_c_werror_flag
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3599 $as_echo "$ac_cv_prog_cc_g" >&6; }
3600 if test "$ac_test_CFLAGS" = set; then
3601 CFLAGS=$ac_save_CFLAGS
3602 elif test $ac_cv_prog_cc_g = yes; then
3603 if test "$GCC" = yes; then
3609 if test "$GCC" = yes; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3616 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3617 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3620 ac_cv_prog_cc_c89=no
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3626 #include <sys/types.h>
3627 #include <sys/stat.h>
3628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3629 struct buf { int x; };
3630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3631 static char *e (p, i)
3637 static char *f (char * (*g) (char **, int), char **p, ...)
3642 s = g (p, va_arg (v,int));
3647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3648 function prototypes and stuff, but not '\xHH' hex character constants.
3649 These don't provoke an error unfortunately, instead are silently treated
3650 as 'x'. The following induces an error, until -std is added to get
3651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3652 array size at least. It's necessary to write '\x00'==0 to get something
3653 that's true only with -std. */
3654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3657 inside strings and character constants. */
3659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3661 int test (int i, double x);
3662 struct s1 {int (*f) (int a);};
3663 struct s2 {int (*f) (double a);};
3664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3678 CC="$ac_save_CC $ac_arg"
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 ac_cv_prog_cc_c89=$ac_arg
3682 rm -f core conftest.err conftest.$ac_objext
3683 test "x$ac_cv_prog_cc_c89" != "xno" && break
3685 rm -f conftest.$ac_ext
3690 case "x$ac_cv_prog_cc_c89" in
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3693 $as_echo "none needed" >&6; } ;;
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3696 $as_echo "unsupported" >&6; } ;;
3698 CC="$CC $ac_cv_prog_cc_c89"
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3702 if test "x$ac_cv_prog_cc_c89" != xno; then :
3707 ac_cpp='$CPP $CPPFLAGS'
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3711 DEPDIR="${am__leading_dot}deps"
3713 ac_config_commands="$ac_config_commands depfiles"
3716 am_make=${MAKE-make}
3717 cat > confinc << 'END'
3719 @echo this is the am__doit target
3722 # If we don't find an include directive, just comment out the code.
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3724 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3728 # First try GNU make style include.
3729 echo "include confinc" > confmf
3730 # Ignore all kinds of additional output from `make'.
3731 case `$am_make -s -f confmf 2> /dev/null` in #(
3732 *the\ am__doit\ target*)
3738 # Now try BSD make style include.
3739 if test "$am__include" = "#"; then
3740 echo '.include
"confinc"' > confmf
3741 case `$am_make -s -f confmf 2> /dev/null` in #(
3742 *the\ am__doit\ target*)
3743 am__include=.include
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3752 $as_echo "$_am_result" >&6; }
3753 rm -f confinc confmf
3755 # Check whether --enable-dependency-tracking was given.
3756 if test "${enable_dependency_tracking+set}" = set; then :
3757 enableval=$enable_dependency_tracking;
3760 if test "x$enable_dependency_tracking" != xno; then
3761 am_depcomp="$ac_aux_dir/depcomp"
3764 if test "x$enable_dependency_tracking" != xno
; then
3774 depcc
="$CC" am_compiler_list
=
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3777 $as_echo_n "checking dependency style of $depcc... " >&6; }
3778 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3779 $as_echo_n "(cached) " >&6
3781 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3782 # We make a subdir and do the tests there. Otherwise we can end up
3783 # making bogus files that we don't know about and never remove. For
3784 # instance it was reported that on HP-UX the gcc test will end up
3785 # making a dummy file named `D' -- because `-MD' means `put the output
3788 # Copy depcomp to subdir because otherwise we won't find it if we're
3789 # using a relative directory.
3790 cp "$am_depcomp" conftest.dir
3792 # We will build objects and dependencies in a subdirectory because
3793 # it helps to detect inapplicable dependency modes. For instance
3794 # both Tru64's cc and ICC support -MD to output dependencies as a
3795 # side effect of compilation, but ICC will put the dependencies in
3796 # the current directory while Tru64 will put them in the object
3800 am_cv_CC_dependencies_compiler_type
=none
3801 if test "$am_compiler_list" = ""; then
3802 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3805 case " $depcc " in #(
3806 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3809 for depmode
in $am_compiler_list; do
3810 # Setup a source with many dependencies, because some compilers
3811 # like to wrap large dependency lists on column 80 (with \), and
3812 # we should not choose a depcomp mode which is confused by this.
3814 # We need to recreate these files for each test, as the compiler may
3815 # overwrite some of them when testing with obscure command lines.
3816 # This happens at least with the AIX C compiler.
3818 for i
in 1 2 3 4 5 6; do
3819 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3820 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3821 # Solaris 8's {/usr,}/bin/sh.
3822 touch sub
/conftst
$i.h
3824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3826 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3827 # mode. It turns out that the SunPro C++ compiler does not properly
3828 # handle `-M -o', and we need to detect this. Also, some Intel
3829 # versions had trouble with output in subdirs
3830 am__obj
=sub
/conftest.
${OBJEXT-o}
3831 am__minus_obj
="-o $am__obj"
3834 # This depmode causes a compiler race in universal mode.
3835 test "$am__universal" = false ||
continue
3838 # after this tag, mechanisms are not by side-effect, so they'll
3839 # only be used when explicitly requested
3840 if test "x$enable_dependency_tracking" = xyes
; then
3846 msvisualcpp | msvcmsys
)
3847 # This compiler won't grok `-c -o', but also, the minuso test has
3848 # not run yet. These depmodes are late enough in the game, and
3849 # so weak that their functioning should not be impacted.
3850 am__obj
=conftest.
${OBJEXT-o}
3855 if depmode
=$depmode \
3856 source=sub
/conftest.c object
=$am__obj \
3857 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3858 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3859 >/dev
/null
2>conftest.err
&&
3860 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3861 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3862 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3863 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3864 # icc doesn't choke on unknown options, it will just issue warnings
3865 # or remarks (even with -Werror). So we grep stderr for any message
3866 # that says an option was ignored or not supported.
3867 # When given -MP, icc 7.0 and 7.1 complain thusly:
3868 # icc: Command line warning: ignoring option '-M'; no argument required
3869 # The diagnosis changed in icc 8.0:
3870 # icc: Command line remark: option '-MP' not supported
3871 if (grep 'ignoring option' conftest.err ||
3872 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3873 am_cv_CC_dependencies_compiler_type
=$depmode
3882 am_cv_CC_dependencies_compiler_type
=none
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3887 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3888 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3891 test "x$enable_dependency_tracking" != xno \
3892 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3894 am__fastdepCC_FALSE
='#'
3896 am__fastdepCC_TRUE
='#'
3897 am__fastdepCC_FALSE
=
3902 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3903 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905 if test -n "$ac_tool_prefix"; then
3906 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3907 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if test "${ac_cv_prog_GOC+set}" = set; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -n "$GOC"; then
3914 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir
=.
3921 for ac_exec_ext
in '' $ac_executable_extensions; do
3922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 if test -n "$GOC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3936 $as_echo "$GOC" >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3944 if test -z "$ac_cv_prog_GOC"; then
3946 # Extract the first word of "gccgo", so it can be a program name with args.
3947 set dummy gccgo
; ac_word
=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$ac_ct_GOC"; then
3954 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for ac_exec_ext
in '' $ac_executable_extensions; do
3962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3963 ac_cv_prog_ac_ct_GOC
="gccgo"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
3974 if test -n "$ac_ct_GOC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3976 $as_echo "$ac_ct_GOC" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3982 if test "x$ac_ct_GOC" = x
; then
3985 case $cross_compiling:$ac_tool_warned in
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3989 ac_tool_warned
=yes ;;
3994 GOC
="$ac_cv_prog_GOC"
3997 if test -z "$GOC"; then
3998 if test -n "$ac_tool_prefix"; then
3999 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4000 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if test "${ac_cv_prog_GOC+set}" = set; then :
4004 $as_echo_n "(cached) " >&6
4006 if test -n "$GOC"; then
4007 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4016 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 if test -n "$GOC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4029 $as_echo "$GOC" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4038 if test -z "$GOC"; then
4039 # Extract the first word of "gccgo", so it can be a program name with args.
4040 set dummy gccgo
; ac_word
=$2
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if test "${ac_cv_prog_GOC+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4046 if test -n "$GOC"; then
4047 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir
=.
4055 for ac_exec_ext
in '' $ac_executable_extensions; do
4056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4057 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4058 ac_prog_rejected
=yes
4061 ac_cv_prog_GOC
="gccgo"
4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 if test $ac_prog_rejected = yes; then
4070 # We found a bogon in the path, so make sure we never use it.
4071 set dummy
$ac_cv_prog_GOC
4073 if test $# != 0; then
4074 # We chose a different compiler from the bogus one.
4075 # However, it has the same basename, so the bogon will be chosen
4076 # first if we set GOC to just the basename; use the full file name.
4078 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4084 if test -n "$GOC"; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4086 $as_echo "$GOC" >&6; }
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089 $as_echo "no" >&6; }
4096 # Provide some information about the compiler.
4097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4100 { { ac_try
="$ac_compiler --version >&5"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_compiler --version >&5") 2>conftest.err
4109 if test -s conftest.err; then
4111 ... rest of stderr output deleted ...
4112 10q' conftest.err >conftest.er1
4113 cat conftest.er1 >&5
4114 rm -f conftest.er1 conftest.err
4116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117 test $ac_status = 0; }
4120 ac_cpp='$CPP $CPPFLAGS'
4121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4131 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4132 # Check whether --enable-maintainer-mode was given.
4133 if test "${enable_maintainer_mode+set}" = set; then :
4134 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4136 USE_MAINTAINER_MODE=no
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4140 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4141 if test $USE_MAINTAINER_MODE = yes; then
4142 MAINTAINER_MODE_TRUE=
4143 MAINTAINER_MODE_FALSE='#'
4145 MAINTAINER_MODE_TRUE='#'
4146 MAINTAINER_MODE_FALSE=
4149 MAINT=$MAINTAINER_MODE_TRUE
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4154 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4155 if test "${ac_cv_path_SED+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4159 for ac_i in 1 2 3 4 5 6 7; do
4160 ac_script="$ac_script$as_nl$ac_script"
4162 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4163 { ac_script=; unset ac_script;}
4164 if test -z "$SED"; then
4165 ac_path_SED_found=false
4166 # Loop through the user's path and test for each of PROGNAME-LIST
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_prog in sed gsed; do
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4174 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4175 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4176 # Check for GNU ac_path_SED and select it if it is found.
4177 # Check for GNU $ac_path_SED
4178 case `"$ac_path_SED" --version 2>&1` in
4180 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4183 $as_echo_n 0123456789 >"conftest.in"
4186 cat "conftest.in" "conftest.in" >"conftest.tmp"
4187 mv "conftest.tmp" "conftest.in"
4188 cp "conftest.in" "conftest.nl"
4189 $as_echo '' >> "conftest.nl"
4190 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4192 as_fn_arith $ac_count + 1 && ac_count=$as_val
4193 if test $ac_count -gt ${ac_path_SED_max-0}; then
4194 # Best one so far, save it but keep looking for a better one
4195 ac_cv_path_SED="$ac_path_SED"
4196 ac_path_SED_max=$ac_count
4198 # 10*(2^10) chars as input seems more than enough
4199 test $ac_count -gt 10 && break
4201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204 $ac_path_SED_found && break 3
4209 if test -z "$ac_cv_path_SED"; then
4210 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4218 $as_echo "$ac_cv_path_SED" >&6; }
4219 SED="$ac_cv_path_SED"
4222 test -z "$SED" && SED=sed
4223 Xsed="$SED -e 1s/^X//"
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4236 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4237 if test "${ac_cv_path_GREP+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -z "$GREP"; then
4241 ac_path_GREP_found=false
4242 # Loop through the user's path and test for each of PROGNAME-LIST
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4247 test -z "$as_dir" && as_dir=.
4248 for ac_prog in grep ggrep; do
4249 for ac_exec_ext in '' $ac_executable_extensions; do
4250 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4251 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4252 # Check for GNU ac_path_GREP and select it if it is found.
4253 # Check for GNU $ac_path_GREP
4254 case `"$ac_path_GREP" --version 2>&1` in
4256 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4259 $as_echo_n 0123456789 >"conftest.in"
4262 cat "conftest.in" "conftest.in" >"conftest.tmp"
4263 mv "conftest.tmp" "conftest.in"
4264 cp "conftest.in" "conftest.nl"
4265 $as_echo 'GREP' >> "conftest.nl"
4266 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4268 as_fn_arith $ac_count + 1 && ac_count=$as_val
4269 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4270 # Best one so far, save it but keep looking for a better one
4271 ac_cv_path_GREP="$ac_path_GREP"
4272 ac_path_GREP_max=$ac_count
4274 # 10*(2^10) chars as input seems more than enough
4275 test $ac_count -gt 10 && break
4277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4280 $ac_path_GREP_found && break 3
4285 if test -z "$ac_cv_path_GREP"; then
4286 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4289 ac_cv_path_GREP=$GREP
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4294 $as_echo "$ac_cv_path_GREP" >&6; }
4295 GREP="$ac_cv_path_GREP"
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4299 $as_echo_n "checking for egrep... " >&6; }
4300 if test "${ac_cv_path_EGREP+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4303 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4304 then ac_cv_path_EGREP="$GREP -E"
4306 if test -z "$EGREP"; then
4307 ac_path_EGREP_found=false
4308 # Loop through the user's path and test for each of PROGNAME-LIST
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4313 test -z "$as_dir" && as_dir=.
4314 for ac_prog in egrep; do
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4317 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4318 # Check for GNU ac_path_EGREP and select it if it is found.
4319 # Check for GNU $ac_path_EGREP
4320 case `"$ac_path_EGREP" --version 2>&1` in
4322 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4325 $as_echo_n 0123456789 >"conftest.in"
4328 cat "conftest.in" "conftest.in" >"conftest.tmp"
4329 mv "conftest.tmp" "conftest.in"
4330 cp "conftest.in" "conftest.nl"
4331 $as_echo 'EGREP' >> "conftest.nl"
4332 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4334 as_fn_arith $ac_count + 1 && ac_count=$as_val
4335 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4336 # Best one so far, save it but keep looking for a better one
4337 ac_cv_path_EGREP="$ac_path_EGREP"
4338 ac_path_EGREP_max=$ac_count
4340 # 10*(2^10) chars as input seems more than enough
4341 test $ac_count -gt 10 && break
4343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346 $ac_path_EGREP_found && break 3
4351 if test -z "$ac_cv_path_EGREP"; then
4352 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4355 ac_cv_path_EGREP=$EGREP
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4361 $as_echo "$ac_cv_path_EGREP" >&6; }
4362 EGREP="$ac_cv_path_EGREP"
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4366 $as_echo_n "checking for fgrep... " >&6; }
4367 if test "${ac_cv_path_FGREP+set}" = set; then :
4368 $as_echo_n "(cached) " >&6
4370 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4371 then ac_cv_path_FGREP="$GREP -F"
4373 if test -z "$FGREP"; then
4374 ac_path_FGREP_found=false
4375 # Loop through the user's path and test for each of PROGNAME-LIST
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380 test -z "$as_dir" && as_dir=.
4381 for ac_prog in fgrep; do
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4384 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4385 # Check for GNU ac_path_FGREP and select it if it is found.
4386 # Check for GNU $ac_path_FGREP
4387 case `"$ac_path_FGREP" --version 2>&1` in
4389 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4392 $as_echo_n 0123456789 >"conftest.in"
4395 cat "conftest.in" "conftest.in" >"conftest.tmp"
4396 mv "conftest.tmp" "conftest.in"
4397 cp "conftest.in" "conftest.nl"
4398 $as_echo 'FGREP' >> "conftest.nl"
4399 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4401 as_fn_arith $ac_count + 1 && ac_count=$as_val
4402 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4403 # Best one so far, save it but keep looking for a better one
4404 ac_cv_path_FGREP="$ac_path_FGREP"
4405 ac_path_FGREP_max=$ac_count
4407 # 10*(2^10) chars as input seems more than enough
4408 test $ac_count -gt 10 && break
4410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413 $ac_path_FGREP_found && break 3
4418 if test -z "$ac_cv_path_FGREP"; then
4419 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4422 ac_cv_path_FGREP=$FGREP
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4428 $as_echo "$ac_cv_path_FGREP" >&6; }
4429 FGREP="$ac_cv_path_FGREP"
4432 test -z "$GREP" && GREP=grep
4450 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4451 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4452 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4455 $as_echo_n "checking how to print strings... " >&6; }
4456 # Test print first, because it will be a builtin if present.
4457 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4458 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4460 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4463 # Use this function as a fallback that always works.
4464 func_fallback_echo ()
4466 eval 'cat <<_LTECHO_EOF
4470 ECHO='func_fallback_echo'
4473 # func_echo_all arg...
4474 # Invoke $ECHO with all args, space-separated.
4481 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4482 $as_echo "printf" >&6; } ;;
4483 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4484 $as_echo "print -r" >&6; } ;;
4485 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4486 $as_echo "cat" >&6; } ;;
4504 # Check whether --with-gnu-ld was given.
4505 if test "${with_gnu_ld+set}" = set; then :
4506 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4512 if test "$GCC" = yes; then
4513 # Check if gcc -print-prog-name=ld gives a path.
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4515 $as_echo_n "checking for ld used by $CC... " >&6; }
4518 # gcc leaves a trailing carriage return which upsets mingw
4519 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4521 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4524 # Accept absolute paths.
4526 re_direlt='/[^/][^/]*/\.\./'
4527 # Canonicalize the pathname of ld
4528 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4529 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4530 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4532 test -z "$LD" && LD="$ac_prog"
4535 # If it fails, then pretend we aren't using GCC.
4539 # If it is relative, then search for the first ld in PATH.
4543 elif test "$with_gnu_ld" = yes; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4545 $as_echo_n "checking for GNU ld... " >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4548 $as_echo_n "checking for non-GNU ld... " >&6; }
4550 if test "${lt_cv_path_LD+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -z "$LD"; then
4554 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4555 for ac_dir in $PATH; do
4557 test -z "$ac_dir" && ac_dir=.
4558 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4559 lt_cv_path_LD="$ac_dir/$ac_prog"
4560 # Check to see if the program is GNU ld. I'd rather use --version,
4561 # but apparently some variants of GNU ld only accept -v.
4562 # Break only if it was the GNU/non-GNU ld that we prefer.
4563 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4564 *GNU* | *'with BFD'*)
4565 test "$with_gnu_ld" != no && break
4568 test "$with_gnu_ld" != yes && break
4575 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4580 if test -n "$LD"; then
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4582 $as_echo "$LD" >&6; }
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 $as_echo "no" >&6; }
4587 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4589 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4590 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4594 case `$LD -v 2>&1 </dev
/null
` in
4595 *GNU* | *'with BFD'*)
4596 lt_cv_prog_gnu_ld=yes
4599 lt_cv_prog_gnu_ld=no
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4604 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4605 with_gnu_ld=$lt_cv_prog_gnu_ld
4615 if test -n "$ac_tool_prefix"; then
4616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$RANLIB"; then
4624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 RANLIB=$ac_cv_prog_RANLIB
4644 if test -n "$RANLIB"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4646 $as_echo "$RANLIB" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4654 if test -z "$ac_cv_prog_RANLIB"; then
4655 ac_ct_RANLIB=$RANLIB
4656 # Extract the first word of "ranlib", so it can be a program name with args.
4657 set dummy ranlib; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$ac_ct_RANLIB"; then
4664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_ac_ct_RANLIB="ranlib"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4684 if test -n "$ac_ct_RANLIB"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4686 $as_echo "$ac_ct_RANLIB" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4692 if test "x$ac_ct_RANLIB" = x; then
4695 case $cross_compiling:$ac_tool_warned in
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned=yes ;;
4701 RANLIB=$ac_ct_RANLIB
4704 RANLIB="$ac_cv_prog_RANLIB"
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4709 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$OBJCOPY"; then
4716 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4725 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 OBJCOPY=$ac_cv_prog_OBJCOPY
4736 if test -n "$OBJCOPY"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4738 $as_echo "$OBJCOPY" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$ac_cv_prog_OBJCOPY"; then
4747 ac_ct_OBJCOPY=$OBJCOPY
4748 # Extract the first word of "objcopy", so it can be a program name with args.
4749 set dummy objcopy; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -n "$ac_ct_OBJCOPY"; then
4756 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4776 if test -n "$ac_ct_OBJCOPY"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4778 $as_echo "$ac_ct_OBJCOPY" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4784 if test "x$ac_ct_OBJCOPY" = x; then
4785 OBJCOPY="missing-objcopy"
4787 case $cross_compiling:$ac_tool_warned in
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4791 ac_tool_warned=yes ;;
4793 OBJCOPY=$ac_ct_OBJCOPY
4796 OBJCOPY="$ac_cv_prog_OBJCOPY"
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4807 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4812 macro_version='2.2.7a'
4813 macro_revision='1.3134'
4827 ltmain="$ac_aux_dir/ltmain.sh"
4829 # Backslashify metacharacters that are still active within
4830 # double-quoted strings.
4831 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4833 # Same as above, but do not quote variable references.
4834 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4836 # Sed substitution to delay expansion of an escaped shell variable in a
4837 # double_quote_subst'ed string.
4838 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4840 # Sed substitution to delay expansion of an escaped single quote.
4841 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4843 # Sed substitution to avoid accidental globbing in evaled expressions
4844 no_glob_subst='s/\*/\\\*/g'
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4847 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4848 if test "${lt_cv_path_NM+set}" = set; then :
4849 $as_echo_n "(cached
) " >&6
4851 if test -n "$NM"; then
4852 # Let the user override the test.
4855 lt_nm_to_check="${ac_tool_prefix}nm
"
4856 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4857 lt_nm_to_check="$lt_nm_to_check nm
"
4859 for lt_tmp_nm in $lt_nm_to_check; do
4860 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4861 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4863 test -z "$ac_dir" && ac_dir=.
4864 tmp_nm="$ac_dir/$lt_tmp_nm"
4865 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4866 # Check to see if the nm accepts a BSD-compat flag.
4867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4868 # nm: unknown option "B
" ignored
4869 # Tru64's nm complains that /dev/null is an invalid object file
4870 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4871 */dev/null* | *'Invalid file or object type'*)
4872 lt_cv_path_NM="$tmp_nm -B"
4876 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4878 lt_cv_path_NM="$tmp_nm -p"
4882 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4883 continue # so that we can try to find one that supports BSD flags
4892 : ${lt_cv_path_NM=no}
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4896 $as_echo "$lt_cv_path_NM" >&6; }
4897 if test "$lt_cv_path_NM" != "no
"; then
4900 # Didn't find any BSD compatible name lister, look for dumpbin.
4901 if test -n "$DUMPBIN"; then :
4902 # Let the user override the test.
4904 if test -n "$ac_tool_prefix"; then
4905 for ac_prog in dumpbin "link
-dump"
4907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4908 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4910 $as_echo_n "checking
for $ac_word...
" >&6; }
4911 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4912 $as_echo_n "(cached
) " >&6
4914 if test -n "$DUMPBIN"; then
4915 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 test -z "$as_dir" && as_dir=.
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4924 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4934 DUMPBIN=$ac_cv_prog_DUMPBIN
4935 if test -n "$DUMPBIN"; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4937 $as_echo "$DUMPBIN" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4940 $as_echo "no
" >&6; }
4944 test -n "$DUMPBIN" && break
4947 if test -z "$DUMPBIN"; then
4948 ac_ct_DUMPBIN=$DUMPBIN
4949 for ac_prog in dumpbin "link
-dump"
4951 # Extract the first word of "$ac_prog", so it can be a program name with args.
4952 set dummy $ac_prog; ac_word=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4954 $as_echo_n "checking
for $ac_word...
" >&6; }
4955 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4956 $as_echo_n "(cached
) " >&6
4958 if test -n "$ac_ct_DUMPBIN"; then
4959 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4978 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4979 if test -n "$ac_ct_DUMPBIN"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4981 $as_echo "$ac_ct_DUMPBIN" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4984 $as_echo "no
" >&6; }
4988 test -n "$ac_ct_DUMPBIN" && break
4991 if test "x
$ac_ct_DUMPBIN" = x; then
4994 case $cross_compiling:$ac_tool_warned in
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4997 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4998 ac_tool_warned=yes ;;
5000 DUMPBIN=$ac_ct_DUMPBIN
5004 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5006 DUMPBIN="$DUMPBIN -symbols"
5014 if test "$DUMPBIN" != ":"; then
5018 test -z "$NM" && NM=nm
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5026 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5027 if test "${lt_cv_nm_interface+set}" = set; then :
5028 $as_echo_n "(cached
) " >&6
5030 lt_cv_nm_interface="BSD nm
"
5031 echo "int some_variable
= 0;" > conftest.$ac_ext
5032 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5033 (eval "$ac_compile" 2>conftest.err)
5034 cat conftest.err >&5
5035 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5036 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5037 cat conftest.err >&5
5038 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5039 cat conftest.out >&5
5040 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5041 lt_cv_nm_interface="MS dumpbin
"
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5046 $as_echo "$lt_cv_nm_interface" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5049 $as_echo_n "checking whether
ln -s works...
" >&6; }
5051 if test "$LN_S" = "ln -s"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5053 $as_echo "yes" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5056 $as_echo "no
, using
$LN_S" >&6; }
5059 # find the maximum length of command line arguments
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5061 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5062 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5063 $as_echo_n "(cached
) " >&6
5070 # On DJGPP, this test can blow up pretty badly due to problems in libc
5071 # (any single argument exceeding 2000 bytes causes a buffer overrun
5072 # during glob expansion). Even if it were fixed, the result of this
5073 # check would be larger than it should be.
5074 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5078 # Under GNU Hurd, this test is not required because there is
5079 # no limit to the length of command line arguments.
5080 # Libtool will interpret -1 as no limit whatsoever
5081 lt_cv_sys_max_cmd_len=-1;
5084 cygwin* | mingw* | cegcc*)
5085 # On Win9x/ME, this test blows up -- it succeeds, but takes
5086 # about 5 minutes as the teststring grows exponentially.
5087 # Worse, since 9x/ME are not pre-emptively multitasking,
5088 # you end up with a "frozen
" computer, even though with patience
5089 # the test eventually succeeds (with a max line length of 256k).
5090 # Instead, let's just punt: use the minimum linelength reported by
5091 # all of the supported platforms: 8192 (on NT/2K/XP).
5092 lt_cv_sys_max_cmd_len=8192;
5096 # On MiNT this can take a long time and run out of memory.
5097 lt_cv_sys_max_cmd_len=8192;
5101 # On AmigaOS with pdksh, this test takes hours, literally.
5102 # So we just punt and use a minimum line length of 8192.
5103 lt_cv_sys_max_cmd_len=8192;
5106 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5107 # This has been around since 386BSD, at least. Likely further.
5108 if test -x /sbin/sysctl; then
5109 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5110 elif test -x /usr/sbin/sysctl; then
5111 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5113 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5115 # And add a safety zone
5116 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5117 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5121 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5122 lt_cv_sys_max_cmd_len=196608
5126 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5127 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5128 # nice to cause kernel panics so lets avoid the loop below.
5129 # First set a reasonable default.
5130 lt_cv_sys_max_cmd_len=16384
5132 if test -x /sbin/sysconfig; then
5133 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5134 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5139 lt_cv_sys_max_cmd_len=102400
5141 sysv5* | sco5v6* | sysv4.2uw2*)
5142 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5143 if test -n "$kargmax"; then
5144 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5146 lt_cv_sys_max_cmd_len=32768
5150 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5151 if test -n "$lt_cv_sys_max_cmd_len"; then
5152 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5153 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5155 # Make teststring a little bigger before we do anything with it.
5156 # a 1K string should be a reasonable start.
5157 for i in 1 2 3 4 5 6 7 8 ; do
5158 teststring=$teststring$teststring
5160 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5161 # If test is not a shell built-in, we'll probably end up computing a
5162 # maximum length that is only half of the actual maximum length, but
5164 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5165 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5166 test $i != 17 # 1/2 MB should be enough
5169 teststring=$teststring$teststring
5171 # Only check the string length outside the loop.
5172 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5174 # Add a significant safety factor because C++ compilers can tack on
5175 # massive amounts of additional arguments before passing them to the
5176 # linker. It appears as though 1/2 is a usable value.
5177 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5184 if test -n $lt_cv_sys_max_cmd_len ; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5186 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5189 $as_echo "none
" >&6; }
5191 max_cmd_len=$lt_cv_sys_max_cmd_len
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5203 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5204 # Try some XSI features
5207 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5209 && eval 'test $(( 1 + 1 )) -eq 2 \
5210 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5213 $as_echo "$xsi_shell" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5217 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5219 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5221 && lt_shell_append
=yes
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5223 $as_echo "$lt_shell_append" >&6; }
5226 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5236 # test EBCDIC or ASCII
5237 case `echo X|tr X '\101'` in
5238 A
) # ASCII based system
5239 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5240 lt_SP2NL
='tr \040 \012'
5241 lt_NL2SP
='tr \015\012 \040\040'
5243 *) # EBCDIC based system
5244 lt_SP2NL
='tr \100 \n'
5245 lt_NL2SP
='tr \r\n \100\100'
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5258 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5259 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5260 $as_echo_n "(cached) " >&6
5262 lt_cv_ld_reload_flag
='-r'
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5265 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5266 reload_flag
=$lt_cv_ld_reload_flag
5267 case $reload_flag in
5269 *) reload_flag
=" $reload_flag" ;;
5271 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5274 if test "$GCC" = yes; then
5275 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5277 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5292 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$OBJDUMP"; then
5299 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 OBJDUMP
=$ac_cv_prog_OBJDUMP
5319 if test -n "$OBJDUMP"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5321 $as_echo "$OBJDUMP" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5329 if test -z "$ac_cv_prog_OBJDUMP"; then
5330 ac_ct_OBJDUMP
=$OBJDUMP
5331 # Extract the first word of "objdump", so it can be a program name with args.
5332 set dummy objdump
; ac_word
=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$ac_ct_OBJDUMP"; then
5339 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_exec_ext
in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5359 if test -n "$ac_ct_OBJDUMP"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5361 $as_echo "$ac_ct_OBJDUMP" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5367 if test "x$ac_ct_OBJDUMP" = x
; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned
=yes ;;
5376 OBJDUMP
=$ac_ct_OBJDUMP
5379 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5382 test -z "$OBJDUMP" && OBJDUMP
=objdump
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5393 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5394 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5398 lt_cv_file_magic_test_file
=
5399 lt_cv_deplibs_check_method
='unknown'
5400 # Need to set the preceding variable on all platforms that support
5401 # interlibrary dependencies.
5402 # 'none' -- dependencies not supported.
5403 # `unknown' -- same as none, but documents that we really don't know.
5404 # 'pass_all' -- all dependencies passed with no checks.
5405 # 'test_compile' -- check by making test program.
5406 # 'file_magic [[regex]]' -- check by looking for files in library path
5407 # which responds to the $file_magic_cmd with a given extended regex.
5408 # If you have `file' or equivalent on your system and you're not sure
5409 # whether `pass_all' will *always* work, you probably want this one.
5413 lt_cv_deplibs_check_method
=pass_all
5417 lt_cv_deplibs_check_method
=pass_all
5421 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5422 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5423 lt_cv_file_magic_test_file
=/shlib
/libc.so
5427 # func_win32_libid is a shell function defined in ltmain.sh
5428 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5429 lt_cv_file_magic_cmd
='func_win32_libid'
5433 # Base MSYS/MinGW do not provide the 'file' command needed by
5434 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5435 # unless we find 'file', for example because we are cross-compiling.
5436 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5437 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5438 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5439 lt_cv_file_magic_cmd
='func_win32_libid'
5441 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5442 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5447 # use the weaker test based on 'objdump'. See mingw*.
5448 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5449 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5452 darwin
* | rhapsody
*)
5453 lt_cv_deplibs_check_method
=pass_all
5456 freebsd
* | dragonfly
*)
5457 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5460 # Not sure whether the presence of OpenBSD here was a mistake.
5461 # Let's accept both of them until this is cleared up.
5462 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5463 lt_cv_file_magic_cmd
=/usr
/bin
/file
5464 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5468 lt_cv_deplibs_check_method
=pass_all
5473 lt_cv_deplibs_check_method
=pass_all
5477 lt_cv_deplibs_check_method
=pass_all
5480 hpux10.20
* | hpux11
*)
5481 lt_cv_file_magic_cmd
=/usr
/bin
/file
5484 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5485 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5488 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]'
5489 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5492 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5493 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5499 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5500 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5503 irix5
* | irix6
* | nonstopux
*)
5505 *-32|
*"-32 ") libmagic
=32-bit;;
5506 *-n32|
*"-n32 ") libmagic
=N32
;;
5507 *-64|
*"-64 ") libmagic
=64-bit;;
5508 *) libmagic
=never-match
;;
5510 lt_cv_deplibs_check_method
=pass_all
5513 # This must be Linux ELF.
5514 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5515 lt_cv_deplibs_check_method
=pass_all
5519 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5520 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5522 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5527 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5528 lt_cv_file_magic_cmd
=/usr
/bin
/file
5529 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5533 lt_cv_deplibs_check_method
=pass_all
5537 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5538 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5540 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5544 osf3
* | osf4
* | osf5
*)
5545 lt_cv_deplibs_check_method
=pass_all
5549 lt_cv_deplibs_check_method
=pass_all
5553 lt_cv_deplibs_check_method
=pass_all
5556 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5557 lt_cv_deplibs_check_method
=pass_all
5561 case $host_vendor in
5563 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]'
5564 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5567 lt_cv_deplibs_check_method
=pass_all
5570 lt_cv_file_magic_cmd
='/bin/file'
5571 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5574 lt_cv_file_magic_cmd
='/bin/file'
5575 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5576 lt_cv_file_magic_test_file
=/lib
/libc.so
5579 lt_cv_deplibs_check_method
=pass_all
5582 lt_cv_deplibs_check_method
=pass_all
5588 lt_cv_deplibs_check_method
=pass_all
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5594 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5595 file_magic_cmd
=$lt_cv_file_magic_cmd
5596 deplibs_check_method
=$lt_cv_deplibs_check_method
5597 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5610 if test -n "$ac_tool_prefix"; then
5611 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5612 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if test "${ac_cv_prog_AR+set}" = set; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -n "$AR"; then
5619 ac_cv_prog_AR
="$AR" # Let the user override the test.
5621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir
=.
5626 for ac_exec_ext
in '' $ac_executable_extensions; do
5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 if test -n "$AR"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5641 $as_echo "$AR" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5649 if test -z "$ac_cv_prog_AR"; then
5651 # Extract the first word of "ar", so it can be a program name with args.
5652 set dummy
ar; ac_word
=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5656 $as_echo_n "(cached) " >&6
5658 if test -n "$ac_ct_AR"; then
5659 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir
=.
5666 for ac_exec_ext
in '' $ac_executable_extensions; do
5667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5668 ac_cv_prog_ac_ct_AR
="ar"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5679 if test -n "$ac_ct_AR"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5681 $as_echo "$ac_ct_AR" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5687 if test "x$ac_ct_AR" = x
; then
5690 case $cross_compiling:$ac_tool_warned in
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned
=yes ;;
5702 test -z "$AR" && AR
=ar
5703 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5717 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then :
5721 $as_echo_n "(cached) " >&6
5723 if test -n "$STRIP"; then
5724 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 STRIP
=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5746 $as_echo "$STRIP" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5754 if test -z "$ac_cv_prog_STRIP"; then
5756 # Extract the first word of "strip", so it can be a program name with args.
5757 set dummy strip
; ac_word
=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5763 if test -n "$ac_ct_STRIP"; then
5764 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir
=.
5771 for ac_exec_ext
in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_STRIP
="strip"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5786 $as_echo "$ac_ct_STRIP" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5792 if test "x$ac_ct_STRIP" = x
; then
5795 case $cross_compiling:$ac_tool_warned in
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5799 ac_tool_warned
=yes ;;
5804 STRIP
="$ac_cv_prog_STRIP"
5807 test -z "$STRIP" && STRIP
=:
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5816 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5820 $as_echo_n "(cached) " >&6
5822 if test -n "$RANLIB"; then
5823 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir
=.
5830 for ac_exec_ext
in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 RANLIB
=$ac_cv_prog_RANLIB
5843 if test -n "$RANLIB"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5845 $as_echo "$RANLIB" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 if test -z "$ac_cv_prog_RANLIB"; then
5854 ac_ct_RANLIB
=$RANLIB
5855 # Extract the first word of "ranlib", so it can be a program name with args.
5856 set dummy ranlib
; ac_word
=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_RANLIB"; then
5863 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir
=.
5870 for ac_exec_ext
in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5883 if test -n "$ac_ct_RANLIB"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5885 $as_echo "$ac_ct_RANLIB" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5891 if test "x$ac_ct_RANLIB" = x
; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned
=yes ;;
5900 RANLIB
=$ac_ct_RANLIB
5903 RANLIB
="$ac_cv_prog_RANLIB"
5906 test -z "$RANLIB" && RANLIB
=:
5913 # Determine commands to create old-style static archives.
5914 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5915 old_postinstall_cmds
='chmod 644 $oldlib'
5916 old_postuninstall_cmds
=
5918 if test -n "$RANLIB"; then
5921 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5924 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5927 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5932 lock_old_archive_extraction
=yes ;;
5934 lock_old_archive_extraction
=no
;;
5975 # If no C compiler was specified, use CC.
5978 # If no C compiler flags were specified, use CFLAGS.
5979 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5981 # Allow CC to be a program name with arguments.
5985 # Check for command to grab the raw symbol name followed by C symbol from nm.
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5987 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5988 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5989 $as_echo_n "(cached) " >&6
5992 # These are sane defaults that work on at least a few old systems.
5993 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5995 # Character class describing NM global symbol codes.
5996 symcode
='[BCDEGRST]'
5998 # Regexp to match symbols that can be accessed directly from C.
5999 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6001 # Define system-specific variables.
6006 cygwin
* | mingw
* | pw32
* | cegcc
*)
6007 symcode
='[ABCDGISTW]'
6010 if test "$host_cpu" = ia64
; then
6011 symcode
='[ABCDEGRST]'
6015 symcode
='[BCDEGRST]'
6018 symcode
='[BCDEGQRST]'
6029 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6037 # If we're using GNU nm, then use its standard symbol codes.
6038 case `$NM -V 2>&1` in
6039 *GNU
* |
*'with BFD'*)
6040 symcode
='[ABCDGIRSTW]' ;;
6043 # Transform an extracted symbol line into a proper C declaration.
6044 # Some systems (esp. on ia64) link data and code symbols differently,
6045 # so use this general approach.
6046 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6048 # Transform an extracted symbol line into symbol name and symbol address
6049 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6050 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'"
6052 # Handle CRLF in mingw tool chain
6056 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6060 # Try without a prefix underscore, then with it.
6061 for ac_symprfx
in "" "_"; do
6063 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6064 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6066 # Write the raw and C identifiers.
6067 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6068 # Fake it for dumpbin and say T for any non-static function
6069 # and D for any global variable.
6070 # Also find C++ and __fastcall symbols from MSVC++,
6071 # which start with @ or ?.
6072 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6073 " {last_section=section; section=\$ 3};"\
6074 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6075 " \$ 0!~/External *\|/{next};"\
6076 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6077 " {if(hide[section]) next};"\
6078 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6079 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6080 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6081 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6082 " ' prfx=^$ac_symprfx"
6084 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6087 # Check to see that the pipe works correctly.
6091 cat > conftest.
$ac_ext <<_LT_EOF
6096 void nm_test_func(void);
6097 void nm_test_func(void){}
6101 int main(){nm_test_var='a';nm_test_func();return(0);}
6104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6105 (eval $ac_compile) 2>&5
6107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6108 test $ac_status = 0; }; then
6109 # Now try to grab the symbols.
6111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6112 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6115 test $ac_status = 0; } && test -s "$nlist"; then
6116 # Try sorting and uniquifying the output.
6117 if sort "$nlist" |
uniq > "$nlist"T
; then
6118 mv -f "$nlist"T
"$nlist"
6123 # Make sure that we snagged all the symbols we need.
6124 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6125 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6126 cat <<_LT_EOF > conftest.$ac_ext
6132 # Now generate the symbol file.
6133 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6135 cat <<_LT_EOF >> conftest.$ac_ext
6137 /* The mapping between symbol names and symbols. */
6142 lt__PROGRAM__LTX_preloaded_symbols[] =
6144 { "@PROGRAM@", (void *) 0 },
6146 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6147 cat <<\_LT_EOF
>> conftest.
$ac_ext
6151 /* This works around a problem
in FreeBSD linker
*/
6152 #ifdef FREEBSD_WORKAROUND
6153 static const void
*lt_preloaded_setup
() {
6154 return lt__PROGRAM__LTX_preloaded_symbols
;
6162 # Now try linking the two files.
6163 mv conftest.
$ac_objext conftstm.
$ac_objext
6164 lt_save_LIBS
="$LIBS"
6165 lt_save_CFLAGS
="$CFLAGS"
6166 LIBS
="conftstm.$ac_objext"
6167 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6169 (eval $ac_link) 2>&5
6171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6175 LIBS
="$lt_save_LIBS"
6176 CFLAGS
="$lt_save_CFLAGS"
6178 echo "cannot find nm_test_func in $nlist" >&5
6181 echo "cannot find nm_test_var in $nlist" >&5
6184 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6187 echo "$progname: failed program was:" >&5
6188 cat conftest.
$ac_ext >&5
6190 rm -rf conftest
* conftst
*
6192 # Do not use the global_symbol_pipe unless it works.
6193 if test "$pipe_works" = yes; then
6196 lt_cv_sys_global_symbol_pipe
=
6202 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6203 lt_cv_sys_global_symbol_to_cdecl
=
6205 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6207 $as_echo "failed" >&6; }
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6210 $as_echo "ok" >&6; }
6235 # Check whether --enable-libtool-lock was given.
6236 if test "${enable_libtool_lock+set}" = set; then :
6237 enableval
=$enable_libtool_lock;
6240 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6242 # Some flags need to be propagated to the compiler or linker for good
6246 # Find out which ABI we are using.
6247 echo 'int i;' > conftest.
$ac_ext
6248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6249 (eval $ac_compile) 2>&5
6251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 test $ac_status = 0; }; then
6253 case `/usr/bin/file conftest.$ac_objext` in
6265 # Find out which ABI we are using.
6266 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6268 (eval $ac_compile) 2>&5
6270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6271 test $ac_status = 0; }; then
6272 if test "$lt_cv_prog_gnu_ld" = yes; then
6273 case `/usr/bin/file conftest.$ac_objext` in
6275 LD
="${LD-ld} -melf32bsmip"
6278 LD
="${LD-ld} -melf32bmipn32"
6281 LD
="${LD-ld} -melf64bmip"
6285 case `/usr/bin/file conftest.$ac_objext` in
6301 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6302 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6303 # Find out which ABI we are using.
6304 echo 'int i;' > conftest.
$ac_ext
6305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6306 (eval $ac_compile) 2>&5
6308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6309 test $ac_status = 0; }; then
6310 case `/usr/bin/file conftest.o` in
6313 x86_64-
*kfreebsd
*-gnu)
6314 LD
="${LD-ld} -m elf_i386_fbsd"
6317 LD
="${LD-ld} -m elf_i386"
6319 ppc64-
*linux
*|powerpc64-
*linux
*)
6320 LD
="${LD-ld} -m elf32ppclinux"
6323 LD
="${LD-ld} -m elf_s390"
6326 LD
="${LD-ld} -m elf32_sparc"
6332 x86_64-
*kfreebsd
*-gnu)
6333 LD
="${LD-ld} -m elf_x86_64_fbsd"
6336 LD
="${LD-ld} -m elf_x86_64"
6338 ppc
*-*linux
*|powerpc
*-*linux
*)
6339 LD
="${LD-ld} -m elf64ppc"
6341 s390
*-*linux
*|s390
*-*tpf
*)
6342 LD
="${LD-ld} -m elf64_s390"
6345 LD
="${LD-ld} -m elf64_sparc"
6355 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6356 SAVE_CFLAGS
="$CFLAGS"
6357 CFLAGS
="$CFLAGS -belf"
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6359 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6360 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6361 $as_echo_n "(cached) " >&6
6364 ac_cpp
='$CPP $CPPFLAGS'
6365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6380 if ac_fn_c_try_link
"$LINENO"; then :
6381 lt_cv_cc_needs_belf
=yes
6383 lt_cv_cc_needs_belf
=no
6385 rm -f core conftest.err conftest.
$ac_objext \
6386 conftest
$ac_exeext conftest.
$ac_ext
6388 ac_cpp
='$CPP $CPPFLAGS'
6389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6395 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6396 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6397 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6398 CFLAGS
="$SAVE_CFLAGS"
6402 # Find out which ABI we are using.
6403 echo 'int i;' > conftest.
$ac_ext
6404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6405 (eval $ac_compile) 2>&5
6407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6408 test $ac_status = 0; }; then
6409 case `/usr/bin/file conftest.o` in
6411 case $lt_cv_prog_gnu_ld in
6415 LD
="${LD-ld} -m elf_x86_64"
6418 LD
="${LD-ld} -m elf64_sparc"
6421 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6422 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6427 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6439 need_locks
="$enable_libtool_lock"
6443 rhapsody
* | darwin
*)
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6446 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6452 if test -n "$DSYMUTIL"; then
6453 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir
=.
6460 for ac_exec_ext
in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6473 if test -n "$DSYMUTIL"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6475 $as_echo "$DSYMUTIL" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6483 if test -z "$ac_cv_prog_DSYMUTIL"; then
6484 ac_ct_DSYMUTIL
=$DSYMUTIL
6485 # Extract the first word of "dsymutil", so it can be a program name with args.
6486 set dummy dsymutil
; ac_word
=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6492 if test -n "$ac_ct_DSYMUTIL"; then
6493 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir
=.
6500 for ac_exec_ext
in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6513 if test -n "$ac_ct_DSYMUTIL"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6515 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6521 if test "x$ac_ct_DSYMUTIL" = x
; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned
=yes ;;
6530 DSYMUTIL
=$ac_ct_DSYMUTIL
6533 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6538 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6544 if test -n "$NMEDIT"; then
6545 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir
=.
6552 for ac_exec_ext
in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564 NMEDIT
=$ac_cv_prog_NMEDIT
6565 if test -n "$NMEDIT"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6567 $as_echo "$NMEDIT" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_NMEDIT"; then
6576 ac_ct_NMEDIT
=$NMEDIT
6577 # Extract the first word of "nmedit", so it can be a program name with args.
6578 set dummy nmedit
; ac_word
=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6584 if test -n "$ac_ct_NMEDIT"; then
6585 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6591 test -z "$as_dir" && as_dir
=.
6592 for ac_exec_ext
in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6605 if test -n "$ac_ct_NMEDIT"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6607 $as_echo "$ac_ct_NMEDIT" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_NMEDIT" = x
; then
6616 case $cross_compiling:$ac_tool_warned in
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned
=yes ;;
6622 NMEDIT
=$ac_ct_NMEDIT
6625 NMEDIT
="$ac_cv_prog_NMEDIT"
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6630 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_LIPO+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6636 if test -n "$LIPO"; then
6637 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir
=.
6644 for ac_exec_ext
in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 LIPO
=$ac_cv_prog_LIPO
6657 if test -n "$LIPO"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6659 $as_echo "$LIPO" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_LIPO"; then
6669 # Extract the first word of "lipo", so it can be a program name with args.
6670 set dummy lipo
; ac_word
=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6676 if test -n "$ac_ct_LIPO"; then
6677 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6683 test -z "$as_dir" && as_dir
=.
6684 for ac_exec_ext
in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_LIPO
="lipo"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6697 if test -n "$ac_ct_LIPO"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6699 $as_echo "$ac_ct_LIPO" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_LIPO" = x
; then
6708 case $cross_compiling:$ac_tool_warned in
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned
=yes ;;
6717 LIPO
="$ac_cv_prog_LIPO"
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6722 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 $as_echo_n "checking for $ac_word... " >&6; }
6725 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6728 if test -n "$OTOOL"; then
6729 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir
=.
6736 for ac_exec_ext
in '' $ac_executable_extensions; do
6737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6738 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 OTOOL
=$ac_cv_prog_OTOOL
6749 if test -n "$OTOOL"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6751 $as_echo "$OTOOL" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6754 $as_echo "no" >&6; }
6759 if test -z "$ac_cv_prog_OTOOL"; then
6761 # Extract the first word of "otool", so it can be a program name with args.
6762 set dummy otool
; ac_word
=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6764 $as_echo_n "checking for $ac_word... " >&6; }
6765 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6766 $as_echo_n "(cached) " >&6
6768 if test -n "$ac_ct_OTOOL"; then
6769 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6775 test -z "$as_dir" && as_dir
=.
6776 for ac_exec_ext
in '' $ac_executable_extensions; do
6777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6778 ac_cv_prog_ac_ct_OTOOL
="otool"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6788 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6789 if test -n "$ac_ct_OTOOL"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6791 $as_echo "$ac_ct_OTOOL" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6794 $as_echo "no" >&6; }
6797 if test "x$ac_ct_OTOOL" = x
; then
6800 case $cross_compiling:$ac_tool_warned in
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6804 ac_tool_warned
=yes ;;
6809 OTOOL
="$ac_cv_prog_OTOOL"
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6814 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 $as_echo_n "checking for $ac_word... " >&6; }
6817 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6818 $as_echo_n "(cached) " >&6
6820 if test -n "$OTOOL64"; then
6821 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir
=.
6828 for ac_exec_ext
in '' $ac_executable_extensions; do
6829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6830 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 OTOOL64
=$ac_cv_prog_OTOOL64
6841 if test -n "$OTOOL64"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6843 $as_echo "$OTOOL64" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 $as_echo "no" >&6; }
6851 if test -z "$ac_cv_prog_OTOOL64"; then
6852 ac_ct_OTOOL64
=$OTOOL64
6853 # Extract the first word of "otool64", so it can be a program name with args.
6854 set dummy otool64
; ac_word
=$2
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856 $as_echo_n "checking for $ac_word... " >&6; }
6857 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6858 $as_echo_n "(cached) " >&6
6860 if test -n "$ac_ct_OTOOL64"; then
6861 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir
=.
6868 for ac_exec_ext
in '' $ac_executable_extensions; do
6869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6870 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6880 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6881 if test -n "$ac_ct_OTOOL64"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6883 $as_echo "$ac_ct_OTOOL64" >&6; }
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886 $as_echo "no" >&6; }
6889 if test "x$ac_ct_OTOOL64" = x
; then
6892 case $cross_compiling:$ac_tool_warned in
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6896 ac_tool_warned
=yes ;;
6898 OTOOL64
=$ac_ct_OTOOL64
6901 OTOOL64
="$ac_cv_prog_OTOOL64"
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6931 $as_echo_n "checking for -single_module linker flag... " >&6; }
6932 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6933 $as_echo_n "(cached) " >&6
6935 lt_cv_apple_cc_single_mod
=no
6936 if test -z "${LT_MULTI_MODULE}"; then
6937 # By default we will add the -single_module flag. You can override
6938 # by either setting the environment variable LT_MULTI_MODULE
6939 # non-empty at configure time, or by adding -multi_module to the
6941 rm -rf libconftest.dylib
*
6942 echo "int foo(void){return 1;}" > conftest.c
6943 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6944 -dynamiclib -Wl,-single_module conftest.c" >&5
6945 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6946 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6948 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6949 lt_cv_apple_cc_single_mod
=yes
6951 cat conftest.err
>&5
6953 rm -rf libconftest.dylib
*
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6958 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6960 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6961 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6962 $as_echo_n "(cached) " >&6
6964 lt_cv_ld_exported_symbols_list
=no
6965 save_LDFLAGS
=$LDFLAGS
6966 echo "_main" > conftest.sym
6967 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h. */
6979 if ac_fn_c_try_link
"$LINENO"; then :
6980 lt_cv_ld_exported_symbols_list
=yes
6982 lt_cv_ld_exported_symbols_list
=no
6984 rm -f core conftest.err conftest.
$ac_objext \
6985 conftest
$ac_exeext conftest.
$ac_ext
6986 LDFLAGS
="$save_LDFLAGS"
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6990 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6992 $as_echo_n "checking for -force_load linker flag... " >&6; }
6993 if test "${lt_cv_ld_force_load+set}" = set; then :
6994 $as_echo_n "(cached) " >&6
6996 lt_cv_ld_force_load
=no
6997 cat > conftest.c
<< _LT_EOF
6998 int forced_loaded() { return 2;}
7000 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7001 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7002 echo "$AR cru libconftest.a conftest.o" >&5
7003 $AR cru libconftest.a conftest.o
2>&5
7004 cat > conftest.c
<< _LT_EOF
7005 int main() { return 0;}
7007 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7008 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7010 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7011 lt_cv_ld_force_load
=yes
7013 cat conftest.err
>&5
7015 rm -f conftest.err libconftest.a conftest conftest.c
7016 rm -rf conftest.dSYM
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7020 $as_echo "$lt_cv_ld_force_load" >&6; }
7022 rhapsody
* | darwin1.
[012])
7023 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7025 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7026 darwin
*) # darwin 5.x on
7027 # if running on 10.5 or later, the deployment target defaults
7028 # to the OS version, if on x86, and 10.4, the deployment
7029 # target defaults to 10.4. Don't you love it?
7030 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7031 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7032 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7034 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7036 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7040 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7041 _lt_dar_single_mod
='$single_module'
7043 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7044 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7046 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7048 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7049 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7057 ac_cpp
='$CPP $CPPFLAGS'
7058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7062 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7063 # On Suns, sometimes $CPP names a directory.
7064 if test -n "$CPP" && test -d "$CPP"; then
7067 if test -z "$CPP"; then
7068 if test "${ac_cv_prog_CPP+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 # Double quotes because CPP needs to be expanded
7072 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7075 for ac_c_preproc_warn_flag
in '' yes
7077 # Use a header file that comes with gcc, so configuring glibc
7078 # with a fresh cross-compiler works.
7079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7080 # <limits.h> exists even on freestanding compilers.
7081 # On the NeXT, cc -E runs the code through the compiler's parser,
7082 # not just through cpp. "Syntax error" is here to catch this case.
7083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7086 # include <limits.h>
7088 # include <assert.h>
7092 if ac_fn_c_try_cpp
"$LINENO"; then :
7095 # Broken: fails on valid input.
7098 rm -f conftest.err conftest.
$ac_ext
7100 # OK, works on sane cases. Now check whether nonexistent headers
7101 # can be detected and how.
7102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #include <ac_nonexistent.h>
7106 if ac_fn_c_try_cpp
"$LINENO"; then :
7107 # Broken: success on invalid input.
7110 # Passes both tests.
7114 rm -f conftest.err conftest.
$ac_ext
7117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7118 rm -f conftest.err conftest.
$ac_ext
7119 if $ac_preproc_ok; then :
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7132 $as_echo "$CPP" >&6; }
7134 for ac_c_preproc_warn_flag
in '' yes
7136 # Use a header file that comes with gcc, so configuring glibc
7137 # with a fresh cross-compiler works.
7138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7139 # <limits.h> exists even on freestanding compilers.
7140 # On the NeXT, cc -E runs the code through the compiler's parser,
7141 # not just through cpp. "Syntax error" is here to catch this case.
7142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7145 # include <limits.h>
7147 # include <assert.h>
7151 if ac_fn_c_try_cpp
"$LINENO"; then :
7154 # Broken: fails on valid input.
7157 rm -f conftest.err conftest.
$ac_ext
7159 # OK, works on sane cases. Now check whether nonexistent headers
7160 # can be detected and how.
7161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <ac_nonexistent.h>
7165 if ac_fn_c_try_cpp
"$LINENO"; then :
7166 # Broken: success on invalid input.
7169 # Passes both tests.
7173 rm -f conftest.err conftest.
$ac_ext
7176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7177 rm -f conftest.err conftest.
$ac_ext
7178 if $ac_preproc_ok; then :
7181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7183 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7184 See \`config.log' for more details." "$LINENO" 5; }
7188 ac_cpp
='$CPP $CPPFLAGS'
7189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7195 $as_echo_n "checking for ANSI C header files... " >&6; }
7196 if test "${ac_cv_header_stdc+set}" = set; then :
7197 $as_echo_n "(cached) " >&6
7199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7214 if ac_fn_c_try_compile
"$LINENO"; then :
7215 ac_cv_header_stdc
=yes
7217 ac_cv_header_stdc
=no
7219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7221 if test $ac_cv_header_stdc = yes; then
7222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7224 /* end confdefs.h. */
7228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7229 $EGREP "memchr" >/dev
/null
2>&1; then :
7232 ac_cv_header_stdc
=no
7238 if test $ac_cv_header_stdc = yes; then
7239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7246 $EGREP "free" >/dev
/null
2>&1; then :
7249 ac_cv_header_stdc
=no
7255 if test $ac_cv_header_stdc = yes; then
7256 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7257 if test "$cross_compiling" = yes; then :
7260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7264 #if ((' ' & 0x0FF) == 0x020)
7265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7268 # define ISLOWER(c) \
7269 (('a' <= (c) && (c) <= 'i') \
7270 || ('j' <= (c) && (c) <= 'r') \
7271 || ('s' <= (c) && (c) <= 'z'))
7272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7280 for (i = 0; i < 256; i++)
7281 if (XOR (islower (i), ISLOWER (i))
7282 || toupper (i) != TOUPPER (i))
7287 if ac_fn_c_try_run
"$LINENO"; then :
7290 ac_cv_header_stdc
=no
7292 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7293 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7299 $as_echo "$ac_cv_header_stdc" >&6; }
7300 if test $ac_cv_header_stdc = yes; then
7302 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7306 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7307 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7308 inttypes.h stdint.h unistd.h
7310 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7311 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7313 eval as_val
=\$
$as_ac_Header
7314 if test "x$as_val" = x
""yes; then :
7315 cat >>confdefs.h
<<_ACEOF
7316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7324 for ac_header
in dlfcn.h
7326 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7328 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7329 cat >>confdefs.h
<<_ACEOF
7330 #define HAVE_DLFCN_H 1
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7339 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_GOC+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7345 if test -n "$GOC"; then
7346 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7352 test -z "$as_dir" && as_dir
=.
7353 for ac_exec_ext
in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 if test -n "$GOC"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7368 $as_echo "$GOC" >&6; }
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_GOC"; then
7378 # Extract the first word of "gccgo", so it can be a program name with args.
7379 set dummy gccgo
; ac_word
=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7385 if test -n "$ac_ct_GOC"; then
7386 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7392 test -z "$as_dir" && as_dir
=.
7393 for ac_exec_ext
in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_GOC
="gccgo"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7406 if test -n "$ac_ct_GOC"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7408 $as_echo "$ac_ct_GOC" >&6; }
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_GOC" = x
; then
7417 case $cross_compiling:$ac_tool_warned in
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned
=yes ;;
7426 GOC
="$ac_cv_prog_GOC"
7442 # Check whether --enable-shared was given.
7443 if test "${enable_shared+set}" = set; then :
7444 enableval
=$enable_shared; p
=${PACKAGE-default}
7446 yes) enable_shared
=yes ;;
7447 no
) enable_shared
=no
;;
7450 # Look at the argument we got. We use all the common list separators.
7451 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7452 for pkg
in $enableval; do
7454 if test "X$pkg" = "X$p"; then
7473 # Check whether --enable-static was given.
7474 if test "${enable_static+set}" = set; then :
7475 enableval
=$enable_static; p
=${PACKAGE-default}
7477 yes) enable_static
=yes ;;
7478 no
) enable_static
=no
;;
7481 # Look at the argument we got. We use all the common list separators.
7482 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7483 for pkg
in $enableval; do
7485 if test "X$pkg" = "X$p"; then
7505 # Check whether --with-pic was given.
7506 if test "${with_pic+set}" = set; then :
7507 withval
=$with_pic; pic_mode
="$withval"
7513 test -z "$pic_mode" && pic_mode
=default
7521 # Check whether --enable-fast-install was given.
7522 if test "${enable_fast_install+set}" = set; then :
7523 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7525 yes) enable_fast_install
=yes ;;
7526 no
) enable_fast_install
=no
;;
7528 enable_fast_install
=no
7529 # Look at the argument we got. We use all the common list separators.
7530 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7531 for pkg
in $enableval; do
7533 if test "X$pkg" = "X$p"; then
7534 enable_fast_install
=yes
7541 enable_fast_install
=yes
7554 # This can be used to rebuild libtool when needed
7555 LIBTOOL_DEPS
="$ltmain"
7557 # Always use our own libtool.
7558 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7585 test -z "$LN_S" && LN_S
="ln -s"
7600 if test -n "${ZSH_VERSION+set}" ; then
7601 setopt NO_GLOB_SUBST
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7605 $as_echo_n "checking for objdir... " >&6; }
7606 if test "${lt_cv_objdir+set}" = set; then :
7607 $as_echo_n "(cached) " >&6
7609 rm -f .libs
2>/dev
/null
7610 mkdir .libs
2>/dev
/null
7611 if test -d .libs
; then
7614 # MS-DOS does not allow filenames that begin with a dot.
7617 rmdir .libs
2>/dev
/null
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7620 $as_echo "$lt_cv_objdir" >&6; }
7621 objdir
=$lt_cv_objdir
7627 cat >>confdefs.h
<<_ACEOF
7628 #define LT_OBJDIR "$lt_cv_objdir/"
7636 # AIX sometimes has problems with the GCC collect2 program. For some
7637 # reason, if we set the COLLECT_NAMES environment variable, the problems
7638 # vanish in a puff of smoke.
7639 if test "X${COLLECT_NAMES+set}" != Xset
; then
7641 export COLLECT_NAMES
7648 can_build_shared
=yes
7650 # All known linkers require a `.a' archive for static linking (except MSVC,
7651 # which needs '.lib').
7654 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7657 old_CFLAGS
="$CFLAGS"
7659 # Set sane defaults for various variables
7660 test -z "$CC" && CC
=cc
7661 test -z "$LTCC" && LTCC
=$CC
7662 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7663 test -z "$LD" && LD
=ld
7664 test -z "$ac_objext" && ac_objext
=o
7666 for cc_temp
in $compiler""; do
7668 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7669 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7674 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7677 # Only perform the check for file, if the check method requires it
7678 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7679 case $deplibs_check_method in
7681 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7683 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7684 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7685 $as_echo_n "(cached) " >&6
7689 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7692 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7693 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7694 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7695 for ac_dir
in $ac_dummy; do
7697 test -z "$ac_dir" && ac_dir
=.
7698 if test -f $ac_dir/${ac_tool_prefix}file; then
7699 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7700 if test -n "$file_magic_test_file"; then
7701 case $deplibs_check_method in
7703 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7704 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7705 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7706 $EGREP "$file_magic_regex" > /dev
/null
; then
7711 *** Warning: the command libtool uses to detect shared libraries,
7712 *** $file_magic_cmd, produces output that libtool cannot recognize.
7713 *** The result is that libtool may fail to recognize shared libraries
7714 *** as such. This will affect the creation of libtool libraries that
7715 *** depend on shared libraries, but programs linked with such libtool
7716 *** libraries will work regardless of this problem. Nevertheless, you
7717 *** may want to report the problem to your system manager and/or to
7718 *** bug-libtool@gnu.org
7728 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7733 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7734 if test -n "$MAGIC_CMD"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7736 $as_echo "$MAGIC_CMD" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7746 if test -z "$lt_cv_path_MAGIC_CMD"; then
7747 if test -n "$ac_tool_prefix"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7749 $as_echo_n "checking for file... " >&6; }
7750 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7755 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7758 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7759 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7760 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7761 for ac_dir
in $ac_dummy; do
7763 test -z "$ac_dir" && ac_dir
=.
7764 if test -f $ac_dir/file; then
7765 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7766 if test -n "$file_magic_test_file"; then
7767 case $deplibs_check_method in
7769 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7770 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7771 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7772 $EGREP "$file_magic_regex" > /dev
/null
; then
7777 *** Warning: the command libtool uses to detect shared libraries,
7778 *** $file_magic_cmd, produces output that libtool cannot recognize.
7779 *** The result is that libtool may fail to recognize shared libraries
7780 *** as such. This will affect the creation of libtool libraries that
7781 *** depend on shared libraries, but programs linked with such libtool
7782 *** libraries will work regardless of this problem. Nevertheless, you
7783 *** may want to report the problem to your system manager and/or to
7784 *** bug-libtool@gnu.org
7794 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7799 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7800 if test -n "$MAGIC_CMD"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7802 $as_echo "$MAGIC_CMD" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7818 # Use C for the default configuration in the libtool script
7822 ac_cpp
='$CPP $CPPFLAGS'
7823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7828 # Source file extension for C test sources.
7831 # Object file extension for compiled C test sources.
7835 # Code to be used in simple compile tests
7836 lt_simple_compile_test_code
="int some_variable = 0;"
7838 # Code to be used in simple link tests
7839 lt_simple_link_test_code
='int main(){return(0);}'
7847 # If no C compiler was specified, use CC.
7850 # If no C compiler flags were specified, use CFLAGS.
7851 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7853 # Allow CC to be a program name with arguments.
7856 # Save the default compiler, since it gets overwritten when the other
7857 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7858 compiler_DEFAULT
=$CC
7860 # save warnings/boilerplate of simple test code
7861 ac_outfile
=conftest.
$ac_objext
7862 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7863 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7864 _lt_compiler_boilerplate
=`cat conftest.err`
7867 ac_outfile
=conftest.
$ac_objext
7868 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7869 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7870 _lt_linker_boilerplate
=`cat conftest.err`
7875 ## There is no encapsulation within the following macros, do not change
7876 ## the running order or otherwise move them around unless you know exactly
7877 ## what you are doing...
7878 if test -n "$compiler"; then
7880 lt_prog_compiler_no_builtin_flag
=
7882 if test "$GCC" = yes; then
7883 case $cc_basename in
7885 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7887 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7891 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7892 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7893 $as_echo_n "(cached) " >&6
7895 lt_cv_prog_compiler_rtti_exceptions
=no
7896 ac_outfile
=conftest.
$ac_objext
7897 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7898 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7899 # Insert the option either (1) after the last *FLAGS variable, or
7900 # (2) before a word containing "conftest.", or (3) at the end.
7901 # Note that $ac_compile itself does not contain backslashes and begins
7902 # with a dollar sign (not a hyphen), so the echo should work correctly.
7903 # The option is referenced via a variable to avoid confusing sed.
7904 lt_compile
=`echo "$ac_compile" | $SED \
7905 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7907 -e 's:$: $lt_compiler_flag:'`
7908 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7909 (eval "$lt_compile" 2>conftest.err
)
7911 cat conftest.err
>&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 if (exit $ac_status) && test -s "$ac_outfile"; then
7914 # The compiler can only warn and ignore the option if not recognized
7915 # So say no if there are warnings other than the usual output.
7916 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7917 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7918 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7919 lt_cv_prog_compiler_rtti_exceptions
=yes
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7926 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7928 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7929 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7941 lt_prog_compiler_wl
=
7942 lt_prog_compiler_pic
=
7943 lt_prog_compiler_static
=
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7946 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7948 if test "$GCC" = yes; then
7949 lt_prog_compiler_wl
='-Wl,'
7950 lt_prog_compiler_static
='-static'
7954 # All AIX code is PIC.
7955 if test "$host_cpu" = ia64
; then
7956 # AIX 5 now supports IA64 processor
7957 lt_prog_compiler_static
='-Bstatic'
7964 # see comment about AmigaOS4 .so support
7965 lt_prog_compiler_pic
='-fPIC'
7968 # FIXME: we need at least 68020 code to build shared libraries, but
7969 # adding the `-m68020' flag to GCC prevents building anything better,
7971 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7976 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7977 # PIC is the default for these OSes.
7980 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7981 # This hack is so that the source file can tell whether it is being
7982 # built for inclusion in a dll (and should export symbols for example).
7983 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7984 # (--disable-auto-import) libraries
7985 lt_prog_compiler_pic
='-DDLL_EXPORT'
7988 darwin
* | rhapsody
*)
7989 # PIC is the default on this platform
7990 # Common symbols not allowed in MH_DYLIB files
7991 lt_prog_compiler_pic
='-fno-common'
7995 # PIC is the default for Haiku.
7996 # The "-static" flag exists, but is broken.
7997 lt_prog_compiler_static
=
8001 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8002 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8003 # sets the default TLS model and affects inlining.
8009 lt_prog_compiler_pic
='-fPIC'
8015 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8016 # Instead, we relocate shared libraries at runtime.
8020 # Just because we use GCC doesn't mean we suddenly get shared libraries
8021 # on systems that don't support them.
8022 lt_prog_compiler_can_build_shared
=no
8027 # QNX uses GNU C++, but need to define -shared option too, otherwise
8029 lt_prog_compiler_pic
='-fPIC -shared'
8033 if test -d /usr
/nec
; then
8034 lt_prog_compiler_pic
=-Kconform_pic
8039 lt_prog_compiler_pic
='-fPIC'
8043 case $cc_basename in
8044 nvcc
*) # Cuda Compiler Driver 2.2
8045 lt_prog_compiler_wl
='-Xlinker '
8046 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8050 # PORTME Check for flag to pass linker flags through the system compiler.
8053 lt_prog_compiler_wl
='-Wl,'
8054 if test "$host_cpu" = ia64
; then
8055 # AIX 5 now supports IA64 processor
8056 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8062 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8063 # This hack is so that the source file can tell whether it is being
8064 # built for inclusion in a dll (and should export symbols for example).
8065 lt_prog_compiler_pic
='-DDLL_EXPORT'
8068 hpux9
* | hpux10
* | hpux11
*)
8069 lt_prog_compiler_wl
='-Wl,'
8070 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8077 lt_prog_compiler_pic
='+Z'
8080 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8081 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8084 irix5
* | irix6
* | nonstopux
*)
8085 lt_prog_compiler_wl
='-Wl,'
8086 # PIC (with -KPIC) is the default.
8087 lt_prog_compiler_static
='-non_shared'
8090 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8091 case $cc_basename in
8092 # old Intel for x86_64 which still supported -KPIC.
8094 lt_prog_compiler_wl
='-Wl,'
8095 lt_prog_compiler_pic
='-KPIC'
8096 lt_prog_compiler_static
='-static'
8098 # icc used to be incompatible with GCC.
8099 # ICC 10 doesn't accept -KPIC any more.
8101 lt_prog_compiler_wl
='-Wl,'
8102 lt_prog_compiler_pic
='-fPIC'
8103 lt_prog_compiler_static
='-static'
8105 # Lahey Fortran 8.1.
8107 lt_prog_compiler_wl
='-Wl,'
8108 lt_prog_compiler_pic
='--shared'
8109 lt_prog_compiler_static
='--static'
8111 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8112 # Portland Group compilers (*not* the Pentium gcc compiler,
8113 # which looks to be a dead project)
8114 lt_prog_compiler_wl
='-Wl,'
8115 lt_prog_compiler_pic
='-fpic'
8116 lt_prog_compiler_static
='-Bstatic'
8119 lt_prog_compiler_wl
='-Wl,'
8120 # All Alpha code is PIC.
8121 lt_prog_compiler_static
='-non_shared'
8123 xl
* | bgxl
* | bgf
* | mpixl
*)
8124 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8125 lt_prog_compiler_wl
='-Wl,'
8126 lt_prog_compiler_pic
='-qpic'
8127 lt_prog_compiler_static
='-qstaticlink'
8130 case `$CC -V 2>&1 | sed 5q` in
8131 *Sun\ F
* |
*Sun
*Fortran
*)
8132 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8133 lt_prog_compiler_pic
='-KPIC'
8134 lt_prog_compiler_static
='-Bstatic'
8135 lt_prog_compiler_wl
=''
8139 lt_prog_compiler_pic
='-KPIC'
8140 lt_prog_compiler_static
='-Bstatic'
8141 lt_prog_compiler_wl
='-Wl,'
8149 lt_prog_compiler_pic
='-KPIC'
8150 lt_prog_compiler_static
='-Bstatic'
8154 # QNX uses GNU C++, but need to define -shared option too, otherwise
8156 lt_prog_compiler_pic
='-fPIC -shared'
8159 osf3
* | osf4
* | osf5
*)
8160 lt_prog_compiler_wl
='-Wl,'
8161 # All OSF/1 code is PIC.
8162 lt_prog_compiler_static
='-non_shared'
8166 lt_prog_compiler_static
='-non_shared'
8170 lt_prog_compiler_pic
='-KPIC'
8171 lt_prog_compiler_static
='-Bstatic'
8172 case $cc_basename in
8174 lt_prog_compiler_wl
='-Qoption ld ';;
8176 lt_prog_compiler_wl
='-Wl,';;
8181 lt_prog_compiler_wl
='-Qoption ld '
8182 lt_prog_compiler_pic
='-PIC'
8183 lt_prog_compiler_static
='-Bstatic'
8186 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8187 lt_prog_compiler_wl
='-Wl,'
8188 lt_prog_compiler_pic
='-KPIC'
8189 lt_prog_compiler_static
='-Bstatic'
8193 if test -d /usr
/nec
;then
8194 lt_prog_compiler_pic
='-Kconform_pic'
8195 lt_prog_compiler_static
='-Bstatic'
8199 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8200 lt_prog_compiler_wl
='-Wl,'
8201 lt_prog_compiler_pic
='-KPIC'
8202 lt_prog_compiler_static
='-Bstatic'
8206 lt_prog_compiler_wl
='-Wl,'
8207 lt_prog_compiler_can_build_shared
=no
8211 lt_prog_compiler_pic
='-pic'
8212 lt_prog_compiler_static
='-Bstatic'
8216 lt_prog_compiler_can_build_shared
=no
8222 # For platforms which do not support PIC, -DPIC is meaningless:
8224 lt_prog_compiler_pic
=
8227 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8231 $as_echo "$lt_prog_compiler_pic" >&6; }
8239 # Check to make sure the PIC flag actually works.
8241 if test -n "$lt_prog_compiler_pic"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8243 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8244 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8245 $as_echo_n "(cached) " >&6
8247 lt_cv_prog_compiler_pic_works
=no
8248 ac_outfile
=conftest.
$ac_objext
8249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8250 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8251 # Insert the option either (1) after the last *FLAGS variable, or
8252 # (2) before a word containing "conftest.", or (3) at the end.
8253 # Note that $ac_compile itself does not contain backslashes and begins
8254 # with a dollar sign (not a hyphen), so the echo should work correctly.
8255 # The option is referenced via a variable to avoid confusing sed.
8256 lt_compile
=`echo "$ac_compile" | $SED \
8257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8259 -e 's:$: $lt_compiler_flag:'`
8260 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8261 (eval "$lt_compile" 2>conftest.err
)
8263 cat conftest.err
>&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 if (exit $ac_status) && test -s "$ac_outfile"; then
8266 # The compiler can only warn and ignore the option if not recognized
8267 # So say no if there are warnings other than the usual output.
8268 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8269 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8270 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8271 lt_cv_prog_compiler_pic_works
=yes
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8278 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8280 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8281 case $lt_prog_compiler_pic in
8283 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8286 lt_prog_compiler_pic
=
8287 lt_prog_compiler_can_build_shared
=no
8298 # Check to make sure the static flag actually works.
8300 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8302 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8303 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8306 lt_cv_prog_compiler_static_works
=no
8307 save_LDFLAGS
="$LDFLAGS"
8308 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8309 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8310 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8311 # The linker can only warn and ignore the option if not recognized
8312 # So say no if there are warnings
8313 if test -s conftest.err
; then
8314 # Append any errors to the config.log.
8315 cat conftest.err
1>&5
8316 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8317 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8318 if diff conftest.exp conftest.er2
>/dev
/null
; then
8319 lt_cv_prog_compiler_static_works
=yes
8322 lt_cv_prog_compiler_static_works
=yes
8326 LDFLAGS
="$save_LDFLAGS"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8330 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8332 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8335 lt_prog_compiler_static
=
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8345 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8346 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8349 lt_cv_prog_compiler_c_o
=no
8350 $RM -r conftest
2>/dev
/null
8354 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8356 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8357 # Insert the option either (1) after the last *FLAGS variable, or
8358 # (2) before a word containing "conftest.", or (3) at the end.
8359 # Note that $ac_compile itself does not contain backslashes and begins
8360 # with a dollar sign (not a hyphen), so the echo should work correctly.
8361 lt_compile
=`echo "$ac_compile" | $SED \
8362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8364 -e 's:$: $lt_compiler_flag:'`
8365 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8366 (eval "$lt_compile" 2>out
/conftest.err
)
8368 cat out
/conftest.err
>&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8372 # The compiler can only warn and ignore the option if not recognized
8373 # So say no if there are warnings
8374 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8375 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8376 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8377 lt_cv_prog_compiler_c_o
=yes
8382 # SGI C++ compiler will create directory out/ii_files/ for
8383 # template instantiation
8384 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8385 $RM out
/* && rmdir out
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8392 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8400 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8401 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8402 $as_echo_n "(cached) " >&6
8404 lt_cv_prog_compiler_c_o
=no
8405 $RM -r conftest
2>/dev
/null
8409 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8411 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8412 # Insert the option either (1) after the last *FLAGS variable, or
8413 # (2) before a word containing "conftest.", or (3) at the end.
8414 # Note that $ac_compile itself does not contain backslashes and begins
8415 # with a dollar sign (not a hyphen), so the echo should work correctly.
8416 lt_compile
=`echo "$ac_compile" | $SED \
8417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8419 -e 's:$: $lt_compiler_flag:'`
8420 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8421 (eval "$lt_compile" 2>out
/conftest.err
)
8423 cat out
/conftest.err
>&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8427 # The compiler can only warn and ignore the option if not recognized
8428 # So say no if there are warnings
8429 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8430 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8431 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8432 lt_cv_prog_compiler_c_o
=yes
8437 # SGI C++ compiler will create directory out/ii_files/ for
8438 # template instantiation
8439 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8440 $RM out
/* && rmdir out
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8447 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8452 hard_links
="nottested"
8453 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8454 # do not overwrite the value of need_locks provided by the user
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8456 $as_echo_n "checking if we can lock with hard links... " >&6; }
8459 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8461 ln conftest.a conftest.b
2>&5 || hard_links
=no
8462 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8464 $as_echo "$hard_links" >&6; }
8465 if test "$hard_links" = no
; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8467 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8480 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8483 allow_undefined_flag
=
8484 always_export_symbols
=no
8486 archive_expsym_cmds
=
8487 compiler_needs_object
=no
8488 enable_shared_with_static_runtimes
=no
8489 export_dynamic_flag_spec
=
8490 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8491 hardcode_automatic
=no
8493 hardcode_direct_absolute
=no
8494 hardcode_libdir_flag_spec
=
8495 hardcode_libdir_flag_spec_ld
=
8496 hardcode_libdir_separator
=
8498 hardcode_shlibpath_var
=unsupported
8500 link_all_deplibs
=unknown
8503 old_archive_from_new_cmds
=
8504 old_archive_from_expsyms_cmds
=
8505 thread_safe_flag_spec
=
8506 whole_archive_flag_spec
=
8507 # include_expsyms should be a list of space-separated symbols to be *always*
8508 # included in the symbol list
8510 # exclude_expsyms can be an extended regexp of symbols to exclude
8511 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8512 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8513 # as well as any symbol that contains `d'.
8514 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8515 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8516 # platforms (ab)use it in PIC code, but their linkers get confused if
8517 # the symbol is explicitly referenced. Since portable code cannot
8518 # rely on this symbol name, it's probably fine to never include it in
8519 # preloaded symbol tables.
8520 # Exclude shared library initialization/finalization symbols.
8521 extract_expsyms_cmds
=
8524 cygwin
* | mingw
* | pw32
* | cegcc
*)
8525 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8526 # When not using gcc, we currently assume that we are using
8527 # Microsoft Visual C++.
8528 if test "$GCC" != yes; then
8533 # we just hope/assume this is gcc and not c89 (= MSVC++)
8543 # On some targets, GNU ld is compatible enough with the native linker
8544 # that we're better off using the native interface for both.
8545 lt_use_gnu_ld_interface
=no
8546 if test "$with_gnu_ld" = yes; then
8549 # The AIX port of GNU ld has always aspired to compatibility
8550 # with the native linker. However, as the warning in the GNU ld
8551 # block says, versions before 2.19.5* couldn't really create working
8552 # shared libraries, regardless of the interface used.
8553 case `$LD -v 2>&1` in
8554 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8555 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8556 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8558 lt_use_gnu_ld_interface
=yes
8563 lt_use_gnu_ld_interface
=yes
8568 if test "$lt_use_gnu_ld_interface" = yes; then
8569 # If archive_cmds runs LD, not CC, wlarc should be empty
8572 # Set some defaults for GNU ld with shared library support. These
8573 # are reset later if shared libraries are not supported. Putting them
8574 # here allows them to be overridden if necessary.
8575 runpath_var
=LD_RUN_PATH
8576 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8577 export_dynamic_flag_spec
='${wl}--export-dynamic'
8578 # ancient GNU ld didn't support --whole-archive et. al.
8579 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8580 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8582 whole_archive_flag_spec
=
8584 supports_anon_versioning
=no
8585 case `$LD -v 2>&1` in
8586 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8587 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8588 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8589 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8590 *\
2.11.
*) ;; # other 2.11 versions
8591 *) supports_anon_versioning
=yes ;;
8594 # See if GNU ld supports shared libraries.
8597 # On AIX/PPC, the GNU linker is very broken
8598 if test "$host_cpu" != ia64
; then
8602 *** Warning: the GNU linker, at least up to release 2.19, is reported
8603 *** to be unable to reliably create shared libraries on AIX.
8604 *** Therefore, libtool is disabling shared libraries support. If you
8605 *** really care for shared libraries, you may want to install binutils
8606 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8607 *** You will then need to restart the configuration process.
8616 # see comment about AmigaOS4 .so support
8617 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8618 archive_expsym_cmds
=''
8621 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)'
8622 hardcode_libdir_flag_spec
='-L$libdir'
8623 hardcode_minus_L
=yes
8629 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8630 allow_undefined_flag
=unsupported
8631 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8632 # support --undefined. This deserves some investigation. FIXME
8633 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8639 cygwin
* | mingw
* | pw32
* | cegcc
*)
8640 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8641 # as there is no search path for DLLs.
8642 hardcode_libdir_flag_spec
='-L$libdir'
8643 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8644 allow_undefined_flag
=unsupported
8645 always_export_symbols
=no
8646 enable_shared_with_static_runtimes
=yes
8647 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8649 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8650 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8651 # If the export-symbols file already is a .def file (1st line
8652 # is EXPORTS), use it as is; otherwise, prepend...
8653 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8654 cp $export_symbols $output_objdir/$soname.def;
8656 echo EXPORTS > $output_objdir/$soname.def;
8657 cat $export_symbols >> $output_objdir/$soname.def;
8659 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8666 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8667 link_all_deplibs
=yes
8672 hardcode_shlibpath_var
=no
8673 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8674 export_dynamic_flag_spec
='${wl}-E'
8675 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8676 # Instead, shared libraries are loaded at an image base (0x10000000 by
8677 # default) and relocated if they conflict, which is a slow very memory
8678 # consuming and fragmenting process. To avoid this, we pick a random,
8679 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8680 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8681 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8682 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'
8685 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8687 if test "$host_os" = linux-dietlibc
; then
8688 case $cc_basename in
8689 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8692 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8693 && test "$tmp_diet" = no
8696 tmp_sharedflag
='-shared'
8697 case $cc_basename,$host_cpu in
8698 pgcc
*) # Portland Group C compiler
8699 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'
8700 tmp_addflag
=' $pic_flag'
8702 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8703 # Portland Group f77 and f90 compilers
8704 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'
8705 tmp_addflag
=' $pic_flag -Mnomain' ;;
8706 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8707 tmp_addflag
=' -i_dynamic' ;;
8708 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8709 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8710 ifc
* | ifort
*) # Intel Fortran compiler
8711 tmp_addflag
=' -nofor_main' ;;
8712 lf95
*) # Lahey Fortran 8.1
8713 whole_archive_flag_spec
=
8714 tmp_sharedflag
='--shared' ;;
8715 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8716 tmp_sharedflag
='-qmkshrobj'
8718 nvcc
*) # Cuda Compiler Driver 2.2
8719 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'
8720 compiler_needs_object
=yes
8723 case `$CC -V 2>&1 | sed 5q` in
8724 *Sun\ C
*) # Sun C 5.9
8725 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'
8726 compiler_needs_object
=yes
8727 tmp_sharedflag
='-G' ;;
8728 *Sun\ F
*) # Sun Fortran 8.3
8729 tmp_sharedflag
='-G' ;;
8731 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 if test "x$supports_anon_versioning" = xyes
; then
8734 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8735 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8736 echo "local: *; };" >> $output_objdir/$libname.ver~
8737 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8740 case $cc_basename in
8741 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8742 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8743 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8744 hardcode_libdir_flag_spec
=
8745 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8746 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8747 if test "x$supports_anon_versioning" = xyes
; then
8748 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8749 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8750 echo "local: *; };" >> $output_objdir/$libname.ver~
8751 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8761 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8762 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8765 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8766 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8771 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8775 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8776 *** create shared libraries on Solaris systems. Therefore, libtool
8777 *** is disabling shared libraries support. We urge you to upgrade GNU
8778 *** binutils to release 2.9.1 or newer. Another option is to modify
8779 *** your PATH or compiler configuration so that the native linker is
8780 *** used, and then restart.
8783 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8785 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8791 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8792 case `$LD -v 2>&1` in
8793 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8797 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8798 *** reliably create shared libraries on SCO systems. Therefore, libtool
8799 *** is disabling shared libraries support. We urge you to upgrade GNU
8800 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8801 *** your PATH or compiler configuration so that the native linker is
8802 *** used, and then restart.
8807 # For security reasons, it is highly recommended that you always
8808 # use absolute paths for naming shared libraries, and exclude the
8809 # DT_RUNPATH tag from executables and libraries. But doing so
8810 # requires that you compile everything twice, which is a pain.
8811 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8812 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8813 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8814 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8823 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8826 hardcode_shlibpath_var
=no
8830 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8831 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8839 if test "$ld_shlibs" = no
; then
8841 hardcode_libdir_flag_spec
=
8842 export_dynamic_flag_spec
=
8843 whole_archive_flag_spec
=
8846 # PORTME fill in a description of your system's linker (not GNU ld)
8849 allow_undefined_flag
=unsupported
8850 always_export_symbols
=yes
8851 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'
8852 # Note: this linker hardcodes the directories in LIBPATH if there
8853 # are no directories specified by -L.
8854 hardcode_minus_L
=yes
8855 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8856 # Neither direct hardcoding nor static linking is supported with a
8858 hardcode_direct
=unsupported
8863 if test "$host_cpu" = ia64
; then
8864 # On IA64, the linker does run time linking by default, so we don't
8865 # have to do anything special.
8866 aix_use_runtimelinking
=no
8867 exp_sym_flag
='-Bexport'
8870 # If we're using GNU nm, then we don't want the "-C" option.
8871 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8872 # Also, AIX nm treats weak defined symbols like other global
8873 # defined symbols, whereas GNU nm marks them as "W".
8874 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8875 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'
8877 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'
8879 aix_use_runtimelinking
=no
8881 # Test if we are trying to use run time linking or normal
8882 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8883 # need to do runtime linking.
8884 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8885 for ld_flag
in $LDFLAGS; do
8886 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8887 aix_use_runtimelinking
=yes
8894 exp_sym_flag
='-bexport'
8895 no_entry_flag
='-bnoentry'
8898 # When large executables or shared objects are built, AIX ld can
8899 # have problems creating the table of contents. If linking a library
8900 # or program results in "error TOC overflow" add -mminimal-toc to
8901 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8902 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8906 hardcode_direct_absolute
=yes
8907 hardcode_libdir_separator
=':'
8908 link_all_deplibs
=yes
8909 file_list_spec
='${wl}-f,'
8911 if test "$GCC" = yes; then
8912 case $host_os in aix4.
[012]|aix4.
[012].
*)
8913 # We only want to do this on AIX 4.2 and lower, the check
8914 # below for broken collect2 doesn't work under 4.3+
8915 collect2name
=`${CC} -print-prog-name=collect2`
8916 if test -f "$collect2name" &&
8917 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8919 # We have reworked collect2
8922 # We have old collect2
8923 hardcode_direct
=unsupported
8924 # It fails to find uninstalled libraries when the uninstalled
8925 # path is not listed in the libpath. Setting hardcode_minus_L
8926 # to unsupported forces relinking
8927 hardcode_minus_L
=yes
8928 hardcode_libdir_flag_spec
='-L$libdir'
8929 hardcode_libdir_separator
=
8933 shared_flag
='-shared'
8934 if test "$aix_use_runtimelinking" = yes; then
8935 shared_flag
="$shared_flag "'${wl}-G'
8939 if test "$host_cpu" = ia64
; then
8940 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8941 # chokes on -Wl,-G. The following line is correct:
8944 if test "$aix_use_runtimelinking" = yes; then
8945 shared_flag
='${wl}-G'
8947 shared_flag
='${wl}-bM:SRE'
8952 export_dynamic_flag_spec
='${wl}-bexpall'
8953 # It seems that -bexpall does not export symbols beginning with
8954 # underscore (_), so it is better to generate a list of symbols to export.
8955 always_export_symbols
=yes
8956 if test "$aix_use_runtimelinking" = yes; then
8957 # Warning - without using the other runtime loading flags (-brtl),
8958 # -berok will link without error, but may produce a broken library.
8959 allow_undefined_flag
='-berok'
8960 # Determine the default libpath from the value encoded in an
8962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8963 /* end confdefs.h. */
8973 if ac_fn_c_try_link
"$LINENO"; then :
8975 lt_aix_libpath_sed
='
8976 /Import File Strings/,/^$/ {
8982 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8983 # Check for a 64-bit object if we didn't find anything.
8984 if test -z "$aix_libpath"; then
8985 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8988 rm -f core conftest.err conftest.
$ac_objext \
8989 conftest
$ac_exeext conftest.
$ac_ext
8990 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8992 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8993 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"
8995 if test "$host_cpu" = ia64
; then
8996 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8997 allow_undefined_flag
="-z nodefs"
8998 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"
9000 # Determine the default libpath from the value encoded in an
9002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9013 if ac_fn_c_try_link
"$LINENO"; then :
9015 lt_aix_libpath_sed
='
9016 /Import File Strings/,/^$/ {
9022 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9023 # Check for a 64-bit object if we didn't find anything.
9024 if test -z "$aix_libpath"; then
9025 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9028 rm -f core conftest.err conftest.
$ac_objext \
9029 conftest
$ac_exeext conftest.
$ac_ext
9030 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9032 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9033 # Warning - without using the other run time loading flags,
9034 # -berok will link without error, but may produce a broken library.
9035 no_undefined_flag
=' ${wl}-bernotok'
9036 allow_undefined_flag
=' ${wl}-berok'
9037 if test "$with_gnu_ld" = yes; then
9038 # We only use this code for GNU lds that support --whole-archive.
9039 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9041 # Exported symbols can be pulled into shared objects from archives
9042 whole_archive_flag_spec
='$convenience'
9044 archive_cmds_need_lc
=yes
9045 # This is similar to how AIX traditionally builds its shared libraries.
9046 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'
9054 # see comment about AmigaOS4 .so support
9055 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9056 archive_expsym_cmds
=''
9059 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)'
9060 hardcode_libdir_flag_spec
='-L$libdir'
9061 hardcode_minus_L
=yes
9067 export_dynamic_flag_spec
=-rdynamic
9070 cygwin
* | mingw
* | pw32
* | cegcc
*)
9071 # When not using gcc, we currently assume that we are using
9072 # Microsoft Visual C++.
9073 # hardcode_libdir_flag_spec is actually meaningless, as there is
9074 # no search path for DLLs.
9075 hardcode_libdir_flag_spec
=' '
9076 allow_undefined_flag
=unsupported
9077 # Tell ltmain to make .lib files, not .a files.
9079 # Tell ltmain to make .dll files, not .so files.
9081 # FIXME: Setting linknames here is a bad hack.
9082 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9083 # The linker will automatically build a .lib file if we build a DLL.
9084 old_archive_from_new_cmds
='true'
9085 # FIXME: Should let the user specify the lib program.
9086 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9087 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9088 enable_shared_with_static_runtimes
=yes
9091 darwin
* | rhapsody
*)
9094 archive_cmds_need_lc
=no
9096 hardcode_automatic
=yes
9097 hardcode_shlibpath_var
=unsupported
9098 if test "$lt_cv_ld_force_load" = "yes"; then
9099 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\"`'
9101 whole_archive_flag_spec
=''
9103 link_all_deplibs
=yes
9104 allow_undefined_flag
="$_lt_dar_allow_undefined"
9105 case $cc_basename in
9106 ifort
*) _lt_dar_can_shared
=yes ;;
9107 *) _lt_dar_can_shared
=$GCC ;;
9109 if test "$_lt_dar_can_shared" = "yes"; then
9110 output_verbose_link_cmd
=func_echo_all
9111 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9112 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9113 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}"
9114 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}"
9123 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9124 hardcode_libdir_flag_spec
='-L$libdir'
9125 hardcode_shlibpath_var
=no
9128 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9129 # support. Future versions do this automatically, but an explicit c++rt0.o
9130 # does not break anything, and helps significantly (at the cost of a little
9133 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9134 hardcode_libdir_flag_spec
='-R$libdir'
9136 hardcode_shlibpath_var
=no
9139 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9141 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9143 hardcode_minus_L
=yes
9144 hardcode_shlibpath_var
=no
9147 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9148 freebsd
* | dragonfly
*)
9149 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9150 hardcode_libdir_flag_spec
='-R$libdir'
9152 hardcode_shlibpath_var
=no
9156 if test "$GCC" = yes; then
9157 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'
9159 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'
9161 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9162 hardcode_libdir_separator
=:
9165 # hardcode_minus_L: Not really in the search PATH,
9166 # but as the default location of the library.
9167 hardcode_minus_L
=yes
9168 export_dynamic_flag_spec
='${wl}-E'
9172 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9173 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9175 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9177 if test "$with_gnu_ld" = no
; then
9178 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9179 hardcode_libdir_flag_spec_ld
='+b $libdir'
9180 hardcode_libdir_separator
=:
9182 hardcode_direct_absolute
=yes
9183 export_dynamic_flag_spec
='${wl}-E'
9184 # hardcode_minus_L: Not really in the search PATH,
9185 # but as the default location of the library.
9186 hardcode_minus_L
=yes
9191 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9194 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9197 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9200 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9206 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9209 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9213 # Older versions of the 11.00 compiler do not understand -b yet
9214 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9216 $as_echo_n "checking if $CC understands -b... " >&6; }
9217 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9218 $as_echo_n "(cached) " >&6
9220 lt_cv_prog_compiler__b
=no
9221 save_LDFLAGS
="$LDFLAGS"
9222 LDFLAGS
="$LDFLAGS -b"
9223 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9224 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9225 # The linker can only warn and ignore the option if not recognized
9226 # So say no if there are warnings
9227 if test -s conftest.err
; then
9228 # Append any errors to the config.log.
9229 cat conftest.err
1>&5
9230 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9232 if diff conftest.exp conftest.er2
>/dev
/null
; then
9233 lt_cv_prog_compiler__b
=yes
9236 lt_cv_prog_compiler__b
=yes
9240 LDFLAGS
="$save_LDFLAGS"
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9244 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9246 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9247 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9249 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9255 if test "$with_gnu_ld" = no
; then
9256 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9257 hardcode_libdir_separator
=:
9262 hardcode_shlibpath_var
=no
9266 hardcode_direct_absolute
=yes
9267 export_dynamic_flag_spec
='${wl}-E'
9269 # hardcode_minus_L: Not really in the search PATH,
9270 # but as the default location of the library.
9271 hardcode_minus_L
=yes
9277 irix5
* | irix6
* | nonstopux
*)
9278 if test "$GCC" = yes; then
9279 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'
9280 # Try to use the -exported_symbol ld option, if it does not
9281 # work, assume that -exports_file does not work either and
9282 # implicitly export all symbols.
9283 save_LDFLAGS
="$LDFLAGS"
9284 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9289 if ac_fn_c_try_link
"$LINENO"; then :
9290 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'
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LDFLAGS
="$save_LDFLAGS"
9297 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'
9298 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'
9300 archive_cmds_need_lc
='no'
9301 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9302 hardcode_libdir_separator
=:
9304 link_all_deplibs
=yes
9308 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9309 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9311 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9313 hardcode_libdir_flag_spec
='-R$libdir'
9315 hardcode_shlibpath_var
=no
9319 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9321 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9322 hardcode_libdir_separator
=:
9323 hardcode_shlibpath_var
=no
9330 if test -f /usr
/libexec
/ld.so
; then
9332 hardcode_shlibpath_var
=no
9333 hardcode_direct_absolute
=yes
9334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9335 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9337 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9338 export_dynamic_flag_spec
='${wl}-E'
9341 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9342 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9343 hardcode_libdir_flag_spec
='-R$libdir'
9346 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9347 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9357 hardcode_libdir_flag_spec
='-L$libdir'
9358 hardcode_minus_L
=yes
9359 allow_undefined_flag
=unsupported
9360 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'
9361 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9365 if test "$GCC" = yes; then
9366 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9367 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'
9369 allow_undefined_flag
=' -expect_unresolved \*'
9370 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'
9372 archive_cmds_need_lc
='no'
9373 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9374 hardcode_libdir_separator
=:
9377 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9378 if test "$GCC" = yes; then
9379 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9380 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'
9381 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9383 allow_undefined_flag
=' -expect_unresolved \*'
9384 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'
9385 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~
9386 $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'
9388 # Both c and cxx compiler support -rpath directly
9389 hardcode_libdir_flag_spec
='-rpath $libdir'
9391 archive_cmds_need_lc
='no'
9392 hardcode_libdir_separator
=:
9396 no_undefined_flag
=' -z defs'
9397 if test "$GCC" = yes; then
9399 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9401 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9403 case `$CC -V 2>&1` in
9406 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9407 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9408 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9412 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9414 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9418 hardcode_libdir_flag_spec
='-R$libdir'
9419 hardcode_shlibpath_var
=no
9421 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9423 # The compiler driver will combine and reorder linker options,
9424 # but understands `-z linker_flag'. GCC discards it without `$wl',
9425 # but is careful enough not to reorder.
9426 # Supported since Solaris 2.6 (maybe 2.5.1?)
9427 if test "$GCC" = yes; then
9428 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9430 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9434 link_all_deplibs
=yes
9438 if test "x$host_vendor" = xsequent
; then
9439 # Use $CC to link under sequent, because it throws in some extra .o
9440 # files that make .init and .fini sections work.
9441 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_libdir_flag_spec
='-L$libdir'
9447 hardcode_minus_L
=yes
9448 hardcode_shlibpath_var
=no
9452 case $host_vendor in
9454 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9455 hardcode_direct
=yes # is this really true???
9458 ## LD is ld it makes a PLAMLIB
9459 ## CC just makes a GrossModule.
9460 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9461 reload_cmds
='$CC -r -o $output$reload_objs'
9465 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9466 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9469 runpath_var
='LD_RUN_PATH'
9470 hardcode_shlibpath_var
=no
9474 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9475 hardcode_shlibpath_var
=no
9476 export_dynamic_flag_spec
='-Bexport'
9480 if test -d /usr
/nec
; then
9481 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9482 hardcode_shlibpath_var
=no
9483 runpath_var
=LD_RUN_PATH
9484 hardcode_runpath_var
=yes
9489 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9490 no_undefined_flag
='${wl}-z,text'
9491 archive_cmds_need_lc
=no
9492 hardcode_shlibpath_var
=no
9493 runpath_var
='LD_RUN_PATH'
9495 if test "$GCC" = yes; then
9496 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9500 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9504 sysv5
* | sco3.2v5
* | sco5v6
*)
9505 # Note: We can NOT use -z defs as we might desire, because we do not
9506 # link with -lc, and that would cause any symbols used from libc to
9507 # always be unresolved, which means just about no library would
9508 # ever link correctly. If we're not using GNU ld we use -z text
9509 # though, which does catch some bad symbols but isn't as heavy-handed
9511 no_undefined_flag
='${wl}-z,text'
9512 allow_undefined_flag
='${wl}-z,nodefs'
9513 archive_cmds_need_lc
=no
9514 hardcode_shlibpath_var
=no
9515 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9516 hardcode_libdir_separator
=':'
9517 link_all_deplibs
=yes
9518 export_dynamic_flag_spec
='${wl}-Bexport'
9519 runpath_var
='LD_RUN_PATH'
9521 if test "$GCC" = yes; then
9522 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9525 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9531 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9532 hardcode_libdir_flag_spec
='-L$libdir'
9533 hardcode_shlibpath_var
=no
9541 if test x
$host_vendor = xsni
; then
9543 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9544 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9551 $as_echo "$ld_shlibs" >&6; }
9552 test "$ld_shlibs" = no
&& can_build_shared
=no
9554 with_gnu_ld
=$with_gnu_ld
9571 # Do we need to explicitly link libc?
9573 case "x$archive_cmds_need_lc" in
9575 # Assume -lc should be added
9576 archive_cmds_need_lc
=yes
9578 if test "$enable_shared" = yes && test "$GCC" = yes; then
9579 case $archive_cmds in
9581 # FIXME: we may have to deal with multi-command sequences.
9584 # Test whether the compiler implicitly links with -lc since on some
9585 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9586 # to ld, don't add -lc before -lgcc.
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9588 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9589 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9590 $as_echo_n "(cached) " >&6
9593 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9596 (eval $ac_compile) 2>&5
9598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9599 test $ac_status = 0; } 2>conftest.err
; then
9602 libobjs
=conftest.
$ac_objext
9604 wl
=$lt_prog_compiler_wl
9605 pic_flag
=$lt_prog_compiler_pic
9611 lt_save_allow_undefined_flag
=$allow_undefined_flag
9612 allow_undefined_flag
=
9613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9614 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9617 test $ac_status = 0; }
9619 lt_cv_archive_cmds_need_lc
=no
9621 lt_cv_archive_cmds_need_lc
=yes
9623 allow_undefined_flag
=$lt_save_allow_undefined_flag
9625 cat conftest.err
1>&5
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9631 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9632 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9796 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9798 if test "$GCC" = yes; then
9800 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9801 *) lt_awk_arg
="/^libraries:/" ;;
9804 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9805 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9807 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9808 case $lt_search_path_spec in
9810 # if the path contains ";" then we assume it to be the separator
9811 # otherwise default to the standard path separator (i.e. ":") - it is
9812 # assumed that no part of a normal pathname contains ";" but that should
9813 # okay in the real world where ";" in dirpaths is itself problematic.
9814 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9817 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9820 # Ok, now we have the path, separated by spaces, we can step through it
9821 # and add multilib dir if necessary.
9822 lt_tmp_lt_search_path_spec
=
9823 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9824 for lt_sys_path
in $lt_search_path_spec; do
9825 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9826 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9828 test -d "$lt_sys_path" && \
9829 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9832 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9833 BEGIN {RS=" "; FS="/|\n";} {
9836 for (lt_i = NF; lt_i > 0; lt_i--) {
9837 if ($lt_i != "" && $lt_i != ".") {
9838 if ($lt_i == "..") {
9841 if (lt_count == 0) {
9842 lt_foo="/" $lt_i lt_foo;
9849 if (lt_foo != "") { lt_freq[lt_foo]++; }
9850 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9852 # AWK program above erroneously prepends '/' to C:/dos/paths
9855 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9856 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9858 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9860 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9863 libname_spec
='lib$name'
9871 shlibpath_overrides_runpath
=unknown
9873 dynamic_linker
="$host_os ld.so"
9874 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9875 need_lib_prefix
=unknown
9876 hardcode_into_libs
=no
9878 # when you set need_version to no, make sure it does not cause -set_version
9879 # flags to be left without arguments
9880 need_version
=unknown
9885 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9886 shlibpath_var
=LIBPATH
9888 # AIX 3 has no versioning support, so we append a major version to the name.
9889 soname_spec
='${libname}${release}${shared_ext}$major'
9896 hardcode_into_libs
=yes
9897 if test "$host_cpu" = ia64
; then
9898 # AIX 5 supports IA64
9899 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9900 shlibpath_var
=LD_LIBRARY_PATH
9902 # With GCC up to 2.95.x, collect2 would create an import file
9903 # for dependence libraries. The import file would start with
9904 # the line `#! .'. This would cause the generated library to
9905 # depend on `.', always an invalid library. This was fixed in
9906 # development snapshots of GCC prior to 3.0.
9908 aix4 | aix4.
[01] | aix4.
[01].
*)
9909 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9911 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9918 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9919 # soname into executable. Probably we can add versioning support to
9920 # collect2, so additional links can be useful in future.
9921 if test "$aix_use_runtimelinking" = yes; then
9922 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9923 # instead of lib<name>.a to let people know that these are not
9924 # typical AIX shared libraries.
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927 # We preserve .a as extension for shared libraries through AIX4.2
9928 # and later when we are not doing run time linking.
9929 library_names_spec
='${libname}${release}.a $libname.a'
9930 soname_spec
='${libname}${release}${shared_ext}$major'
9932 shlibpath_var
=LIBPATH
9939 # Since July 2007 AmigaOS4 officially supports .so libraries.
9940 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9944 library_names_spec
='$libname.ixlibrary $libname.a'
9945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9946 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'
9952 library_names_spec
='${libname}${shared_ext}'
9953 dynamic_linker
="$host_os ld.so"
9954 shlibpath_var
=LIBRARY_PATH
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9962 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9963 shlibpath_var
=LD_LIBRARY_PATH
9964 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9965 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9966 # the default ld.so.conf also contains /usr/contrib/lib and
9967 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9968 # libtool to hard-code these into programs
9971 cygwin
* | mingw
* | pw32
* | cegcc
*)
9972 version_type
=windows
9977 case $GCC,$host_os in
9978 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9979 library_names_spec
='$libname.dll.a'
9980 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9981 postinstall_cmds
='base_file=`basename \${file}`~
9982 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9983 dldir=$destdir/`dirname \$dlpath`~
9984 test -d \$dldir || mkdir -p \$dldir~
9985 $install_prog $dir/$dlname \$dldir/$dlname~
9986 chmod a+x \$dldir/$dlname~
9987 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9988 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9990 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9991 dlpath=$dir/\$dldll~
9993 shlibpath_overrides_runpath
=yes
9997 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9998 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10000 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10003 # MinGW DLLs use traditional 'lib' prefix
10004 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10007 # pw32 DLLs use 'pw' prefix rather than 'lib'
10008 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10014 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10017 dynamic_linker
='Win32 ld.exe'
10018 # FIXME: first we should search . and the directory the executable is in
10022 darwin
* | rhapsody
*)
10023 dynamic_linker
="$host_os dyld"
10024 version_type
=darwin
10027 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10028 soname_spec
='${libname}${release}${major}$shared_ext'
10029 shlibpath_overrides_runpath
=yes
10030 shlibpath_var
=DYLD_LIBRARY_PATH
10031 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10033 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10034 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10042 soname_spec
='${libname}${release}${shared_ext}$major'
10043 shlibpath_var
=LD_LIBRARY_PATH
10046 freebsd
* | dragonfly
*)
10047 # DragonFly does not have aout. When/if they implement a new
10048 # versioning mechanism, adjust this.
10049 if test -x /usr
/bin
/objformat
; then
10050 objformat
=`/usr/bin/objformat`
10053 freebsd
[123]*) objformat
=aout
;;
10054 *) objformat
=elf
;;
10057 version_type
=freebsd-
$objformat
10058 case $version_type in
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10065 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10069 shlibpath_var
=LD_LIBRARY_PATH
10072 shlibpath_overrides_runpath
=yes
10074 freebsd3.
[01]* | freebsdelf3.
[01]*)
10075 shlibpath_overrides_runpath
=yes
10076 hardcode_into_libs
=yes
10078 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10079 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10080 shlibpath_overrides_runpath
=no
10081 hardcode_into_libs
=yes
10083 *) # from 4.6 on, and DragonFly
10084 shlibpath_overrides_runpath
=yes
10085 hardcode_into_libs
=yes
10094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10095 soname_spec
='${libname}${release}${shared_ext}$major'
10096 shlibpath_var
=LD_LIBRARY_PATH
10097 hardcode_into_libs
=yes
10104 dynamic_linker
="$host_os runtime_loader"
10105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10107 shlibpath_var
=LIBRARY_PATH
10108 shlibpath_overrides_runpath
=yes
10109 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10110 hardcode_into_libs
=yes
10113 hpux9
* | hpux10
* | hpux11
*)
10114 # Give a soname corresponding to the major version so that dld.sl refuses to
10115 # link against other versions.
10122 hardcode_into_libs
=yes
10123 dynamic_linker
="$host_os dld.so"
10124 shlibpath_var
=LD_LIBRARY_PATH
10125 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10127 soname_spec
='${libname}${release}${shared_ext}$major'
10128 if test "X$HPUX_IA64_MODE" = X32
; then
10129 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10131 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10133 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10137 hardcode_into_libs
=yes
10138 dynamic_linker
="$host_os dld.sl"
10139 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10140 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142 soname_spec
='${libname}${release}${shared_ext}$major'
10143 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10144 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10148 dynamic_linker
="$host_os dld.sl"
10149 shlibpath_var
=SHLIB_PATH
10150 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10152 soname_spec
='${libname}${release}${shared_ext}$major'
10155 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10156 postinstall_cmds
='chmod 555 $lib'
10157 # or fails outright, so override atomically:
10158 install_override_mode
=555
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10166 soname_spec
='${libname}${release}${shared_ext}$major'
10167 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10168 shlibpath_var
=LD_LIBRARY_PATH
10169 shlibpath_overrides_runpath
=no
10170 hardcode_into_libs
=yes
10173 irix5
* | irix6
* | nonstopux
*)
10175 nonstopux
*) version_type
=nonstopux
;;
10177 if test "$lt_cv_prog_gnu_ld" = yes; then
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10188 irix5
* | nonstopux
*)
10189 libsuff
= shlibsuff
=
10192 case $LD in # libtool.m4 will add one of these switches to LD
10193 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10194 libsuff
= shlibsuff
= libmagic
=32-bit;;
10195 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10196 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10197 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10198 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10199 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10203 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10204 shlibpath_overrides_runpath
=no
10205 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10206 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10207 hardcode_into_libs
=yes
10210 # No shared lib support for Linux oldld, aout, or coff.
10211 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10215 # This must be Linux ELF.
10216 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10221 soname_spec
='${libname}${release}${shared_ext}$major'
10222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10223 shlibpath_var
=LD_LIBRARY_PATH
10224 shlibpath_overrides_runpath
=no
10226 # Some binutils ld are patched to set DT_RUNPATH
10227 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10228 $as_echo_n "(cached) " >&6
10230 lt_cv_shlibpath_overrides_runpath
=no
10231 save_LDFLAGS
=$LDFLAGS
10232 save_libdir
=$libdir
10233 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10234 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10246 if ac_fn_c_try_link
"$LINENO"; then :
10247 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10248 lt_cv_shlibpath_overrides_runpath
=yes
10251 rm -f core conftest.err conftest.
$ac_objext \
10252 conftest
$ac_exeext conftest.
$ac_ext
10253 LDFLAGS
=$save_LDFLAGS
10254 libdir
=$save_libdir
10258 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10260 # This implies no fast_install, which is unacceptable.
10261 # Some rework will be needed to allow for fast_install
10262 # before this can be enabled.
10263 hardcode_into_libs
=yes
10265 # Append ld.so.conf contents to the search path
10266 if test -f /etc
/ld.so.conf
; then
10267 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' ' '`
10268 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10271 # We used to test for /lib/ld.so.1 and disable shared libraries on
10272 # powerpc, because MkLinux only supported shared libraries with the
10273 # GNU dynamic linker. Since this was broken with cross compilers,
10274 # most powerpc-linux boxes support dynamic linking these days and
10275 # people can always --disable-shared, the test was removed, and we
10276 # assume the GNU/Linux dynamic linker is in use.
10277 dynamic_linker
='GNU/Linux ld.so'
10284 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10286 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10287 dynamic_linker
='NetBSD (a.out) ld.so'
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10291 dynamic_linker
='NetBSD ld.elf_so'
10293 shlibpath_var
=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath
=yes
10295 hardcode_into_libs
=yes
10300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301 shlibpath_var
=LD_LIBRARY_PATH
10302 shlibpath_overrides_runpath
=yes
10309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310 soname_spec
='${libname}${release}${shared_ext}$major'
10311 shlibpath_var
=LD_LIBRARY_PATH
10312 shlibpath_overrides_runpath
=no
10313 hardcode_into_libs
=yes
10314 dynamic_linker
='ldqnx.so'
10319 sys_lib_dlsearch_path_spec
="/usr/lib"
10321 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10323 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10324 *) need_version
=no
;;
10326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10327 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10328 shlibpath_var
=LD_LIBRARY_PATH
10329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10331 openbsd2.
[89] | openbsd2.
[89].
*)
10332 shlibpath_overrides_runpath
=no
10335 shlibpath_overrides_runpath
=yes
10339 shlibpath_overrides_runpath
=yes
10344 libname_spec
='$name'
10347 library_names_spec
='$libname${shared_ext} $libname.a'
10348 dynamic_linker
='OS/2 ld.exe'
10349 shlibpath_var
=LIBPATH
10352 osf3
* | osf4
* | osf5
*)
10356 soname_spec
='${libname}${release}${shared_ext}$major'
10357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10358 shlibpath_var
=LD_LIBRARY_PATH
10359 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10360 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372 soname_spec
='${libname}${release}${shared_ext}$major'
10373 shlibpath_var
=LD_LIBRARY_PATH
10374 shlibpath_overrides_runpath
=yes
10375 hardcode_into_libs
=yes
10376 # ldd complains unless libraries are executable
10377 postinstall_cmds
='chmod +x $lib'
10382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10383 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10384 shlibpath_var
=LD_LIBRARY_PATH
10385 shlibpath_overrides_runpath
=yes
10386 if test "$with_gnu_ld" = yes; then
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 soname_spec
='${libname}${release}${shared_ext}$major'
10396 shlibpath_var
=LD_LIBRARY_PATH
10397 case $host_vendor in
10399 shlibpath_overrides_runpath
=no
10401 runpath_var
=LD_RUN_PATH
10409 shlibpath_overrides_runpath
=no
10410 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10416 if test -d /usr
/nec
;then
10418 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10419 soname_spec
='$libname${shared_ext}.$major'
10420 shlibpath_var
=LD_LIBRARY_PATH
10424 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10425 version_type
=freebsd-elf
10428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10429 soname_spec
='${libname}${release}${shared_ext}$major'
10430 shlibpath_var
=LD_LIBRARY_PATH
10431 shlibpath_overrides_runpath
=yes
10432 hardcode_into_libs
=yes
10433 if test "$with_gnu_ld" = yes; then
10434 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10436 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10439 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10443 sys_lib_dlsearch_path_spec
='/usr/lib'
10447 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 shlibpath_var
=LD_LIBRARY_PATH
10453 shlibpath_overrides_runpath
=no
10454 hardcode_into_libs
=yes
10459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460 soname_spec
='${libname}${release}${shared_ext}$major'
10461 shlibpath_var
=LD_LIBRARY_PATH
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10469 $as_echo "$dynamic_linker" >&6; }
10470 test "$dynamic_linker" = no
&& can_build_shared
=no
10472 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10473 if test "$GCC" = yes; then
10474 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10477 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10478 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10480 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10481 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10576 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10578 if test -n "$hardcode_libdir_flag_spec" ||
10579 test -n "$runpath_var" ||
10580 test "X$hardcode_automatic" = "Xyes" ; then
10582 # We can hardcode non-existent directories.
10583 if test "$hardcode_direct" != no
&&
10584 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10585 # have to relink, otherwise we might link with an installed library
10586 # when we should be linking with a yet-to-be-installed one
10587 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10588 test "$hardcode_minus_L" != no
; then
10589 # Linking always hardcodes the temporary library directory.
10590 hardcode_action
=relink
10592 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10593 hardcode_action
=immediate
10596 # We cannot hardcode anything, or else we can only hardcode existing
10598 hardcode_action
=unsupported
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10601 $as_echo "$hardcode_action" >&6; }
10603 if test "$hardcode_action" = relink ||
10604 test "$inherit_rpath" = yes; then
10605 # Fast installation is not supported
10606 enable_fast_install
=no
10607 elif test "$shlibpath_overrides_runpath" = yes ||
10608 test "$enable_shared" = no
; then
10609 # Fast installation is not necessary
10610 enable_fast_install
=needless
10618 if test "x$enable_dlopen" != xyes
; then
10619 enable_dlopen
=unknown
10620 enable_dlopen_self
=unknown
10621 enable_dlopen_self_static
=unknown
10628 lt_cv_dlopen
="load_add_on"
10630 lt_cv_dlopen_self
=yes
10633 mingw
* | pw32
* | cegcc
*)
10634 lt_cv_dlopen
="LoadLibrary"
10639 lt_cv_dlopen
="dlopen"
10644 # if libdl is installed we need to link against it
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10647 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10648 $as_echo_n "(cached) " >&6
10650 ac_check_lib_save_LIBS
=$LIBS
10652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10670 if ac_fn_c_try_link
"$LINENO"; then :
10671 ac_cv_lib_dl_dlopen
=yes
10673 ac_cv_lib_dl_dlopen
=no
10675 rm -f core conftest.err conftest.
$ac_objext \
10676 conftest
$ac_exeext conftest.
$ac_ext
10677 LIBS
=$ac_check_lib_save_LIBS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10681 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10682 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10685 lt_cv_dlopen
="dyld"
10687 lt_cv_dlopen_self
=yes
10694 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10695 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10696 lt_cv_dlopen
="shl_load"
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10699 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10700 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10701 $as_echo_n "(cached) " >&6
10703 ac_check_lib_save_LIBS
=$LIBS
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10718 return shl_load ();
10723 if ac_fn_c_try_link
"$LINENO"; then :
10724 ac_cv_lib_dld_shl_load
=yes
10726 ac_cv_lib_dld_shl_load
=no
10728 rm -f core conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10733 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10734 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10735 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10737 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10738 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10739 lt_cv_dlopen
="dlopen"
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10742 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10743 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10744 $as_echo_n "(cached) " >&6
10746 ac_check_lib_save_LIBS
=$LIBS
10748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10766 if ac_fn_c_try_link
"$LINENO"; then :
10767 ac_cv_lib_dl_dlopen
=yes
10769 ac_cv_lib_dl_dlopen
=no
10771 rm -f core conftest.err conftest.
$ac_objext \
10772 conftest
$ac_exeext conftest.
$ac_ext
10773 LIBS
=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10776 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10777 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10778 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10781 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10782 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10783 $as_echo_n "(cached) " >&6
10785 ac_check_lib_save_LIBS
=$LIBS
10786 LIBS
="-lsvld $LIBS"
10787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10805 if ac_fn_c_try_link
"$LINENO"; then :
10806 ac_cv_lib_svld_dlopen
=yes
10808 ac_cv_lib_svld_dlopen
=no
10810 rm -f core conftest.err conftest.
$ac_objext \
10811 conftest
$ac_exeext conftest.
$ac_ext
10812 LIBS
=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10815 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10816 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10817 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10820 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10821 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_lib_save_LIBS
=$LIBS
10826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10839 return dld_link ();
10844 if ac_fn_c_try_link
"$LINENO"; then :
10845 ac_cv_lib_dld_dld_link
=yes
10847 ac_cv_lib_dld_dld_link
=no
10849 rm -f core conftest.err conftest.
$ac_objext \
10850 conftest
$ac_exeext conftest.
$ac_ext
10851 LIBS
=$ac_check_lib_save_LIBS
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10854 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10855 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10856 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10877 if test "x$lt_cv_dlopen" != xno
; then
10883 case $lt_cv_dlopen in
10885 save_CPPFLAGS
="$CPPFLAGS"
10886 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10888 save_LDFLAGS
="$LDFLAGS"
10889 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10892 LIBS
="$lt_cv_dlopen_libs $LIBS"
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10895 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10896 if test "${lt_cv_dlopen_self+set}" = set; then :
10897 $as_echo_n "(cached) " >&6
10899 if test "$cross_compiling" = yes; then :
10900 lt_cv_dlopen_self
=cross
10902 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10903 lt_status
=$lt_dlunknown
10904 cat > conftest.
$ac_ext <<_LT_EOF
10905 #line 10905 "configure"
10906 #include "confdefs.h"
10915 # define LT_DLGLOBAL RTLD_GLOBAL
10918 # define LT_DLGLOBAL DL_GLOBAL
10920 # define LT_DLGLOBAL 0
10924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10925 find out it does not work in some platform. */
10926 #ifndef LT_DLLAZY_OR_NOW
10928 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10931 # define LT_DLLAZY_OR_NOW DL_LAZY
10934 # define LT_DLLAZY_OR_NOW RTLD_NOW
10937 # define LT_DLLAZY_OR_NOW DL_NOW
10939 # define LT_DLLAZY_OR_NOW 0
10946 /* When -fvisbility=hidden is used, assume the code has been annotated
10947 correspondingly for the symbols needed. */
10948 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10949 void fnord () __attribute__((visibility("default")));
10952 void fnord () { int i=42; }
10955 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10956 int status = $lt_dlunknown;
10960 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10963 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10964 else puts (dlerror ());
10966 /* dlclose (self); */
10974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10975 (eval $ac_link) 2>&5
10977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10978 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10979 (.
/conftest
; exit; ) >&5 2>/dev
/null
10981 case x
$lt_status in
10982 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10983 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10984 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10987 # compilation failed
10988 lt_cv_dlopen_self
=no
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10996 $as_echo "$lt_cv_dlopen_self" >&6; }
10998 if test "x$lt_cv_dlopen_self" = xyes
; then
10999 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11001 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11002 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11003 $as_echo_n "(cached) " >&6
11005 if test "$cross_compiling" = yes; then :
11006 lt_cv_dlopen_self_static
=cross
11008 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11009 lt_status
=$lt_dlunknown
11010 cat > conftest.
$ac_ext <<_LT_EOF
11011 #line 11011 "configure"
11012 #include "confdefs.h"
11021 # define LT_DLGLOBAL RTLD_GLOBAL
11024 # define LT_DLGLOBAL DL_GLOBAL
11026 # define LT_DLGLOBAL 0
11030 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11031 find out it does not work in some platform. */
11032 #ifndef LT_DLLAZY_OR_NOW
11034 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11037 # define LT_DLLAZY_OR_NOW DL_LAZY
11040 # define LT_DLLAZY_OR_NOW RTLD_NOW
11043 # define LT_DLLAZY_OR_NOW DL_NOW
11045 # define LT_DLLAZY_OR_NOW 0
11052 /* When -fvisbility=hidden is used, assume the code has been annotated
11053 correspondingly for the symbols needed. */
11054 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11055 void fnord () __attribute__((visibility("default")));
11058 void fnord () { int i=42; }
11061 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11062 int status = $lt_dlunknown;
11066 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11069 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11070 else puts (dlerror ());
11072 /* dlclose (self); */
11080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11081 (eval $ac_link) 2>&5
11083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11084 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11085 (.
/conftest
; exit; ) >&5 2>/dev
/null
11087 case x
$lt_status in
11088 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11089 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11090 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11093 # compilation failed
11094 lt_cv_dlopen_self_static
=no
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11102 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11105 CPPFLAGS
="$save_CPPFLAGS"
11106 LDFLAGS
="$save_LDFLAGS"
11111 case $lt_cv_dlopen_self in
11112 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11113 *) enable_dlopen_self
=unknown
;;
11116 case $lt_cv_dlopen_self_static in
11117 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11118 *) enable_dlopen_self_static
=unknown
;;
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11141 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11142 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11143 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11144 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11146 $as_echo "yes" >&6; }
11148 # FIXME - insert some real tests, host_os isn't really good enough
11151 if test -n "$STRIP" ; then
11152 striplib
="$STRIP -x"
11153 old_striplib
="$STRIP -S"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11155 $as_echo "yes" >&6; }
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11158 $as_echo "no" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11163 $as_echo "no" >&6; }
11179 # Report which library types will actually be built
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11181 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11183 $as_echo "$can_build_shared" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11186 $as_echo_n "checking whether to build shared libraries... " >&6; }
11187 test "$can_build_shared" = "no" && enable_shared
=no
11189 # On AIX, shared libraries and static libraries use the same namespace, and
11190 # are all built from PIC.
11193 test "$enable_shared" = yes && enable_static
=no
11194 if test -n "$RANLIB"; then
11195 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11196 postinstall_cmds
='$RANLIB $lib'
11201 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11202 test "$enable_shared" = yes && enable_static
=no
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11207 $as_echo "$enable_shared" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11210 $as_echo_n "checking whether to build static libraries... " >&6; }
11211 # Make sure either enable_shared or enable_static is yes.
11212 test "$enable_shared" = yes || enable_static
=yes
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11214 $as_echo "$enable_static" >&6; }
11221 ac_cpp
='$CPP $CPPFLAGS'
11222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11240 # Source file extension for Go test sources.
11243 # Object file extension for compiled Go test sources.
11247 # Code to be used in simple compile tests
11248 lt_simple_compile_test_code
="package main; func main() { }"
11250 # Code to be used in simple link tests
11251 lt_simple_link_test_code
='package main; func main() { }'
11253 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11260 # If no C compiler was specified, use CC.
11263 # If no C compiler flags were specified, use CFLAGS.
11264 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11266 # Allow CC to be a program name with arguments.
11270 # save warnings/boilerplate of simple test code
11271 ac_outfile
=conftest.
$ac_objext
11272 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11273 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11274 _lt_compiler_boilerplate
=`cat conftest.err`
11277 ac_outfile
=conftest.
$ac_objext
11278 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11279 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11280 _lt_linker_boilerplate
=`cat conftest.err`
11284 # Allow CC to be a program name with arguments.
11292 for cc_temp
in $compiler""; do
11294 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11295 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11300 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11303 # Go did not exist at the time GCC didn't implicitly link libc in.
11304 archive_cmds_need_lc_GO
=no
11306 old_archive_cmds_GO
=$old_archive_cmds
11309 ## There is no encapsulation within the following macros, do not change
11310 ## the running order or otherwise move them around unless you know exactly
11311 ## what you are doing...
11312 if test -n "$compiler"; then
11314 lt_prog_compiler_no_builtin_flag_GO
=
11316 if test "$GCC" = yes; then
11317 case $cc_basename in
11319 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11321 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11325 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11326 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11329 lt_cv_prog_compiler_rtti_exceptions
=no
11330 ac_outfile
=conftest.
$ac_objext
11331 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11332 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11333 # Insert the option either (1) after the last *FLAGS variable, or
11334 # (2) before a word containing "conftest.", or (3) at the end.
11335 # Note that $ac_compile itself does not contain backslashes and begins
11336 # with a dollar sign (not a hyphen), so the echo should work correctly.
11337 # The option is referenced via a variable to avoid confusing sed.
11338 lt_compile
=`echo "$ac_compile" | $SED \
11339 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11341 -e 's:$: $lt_compiler_flag:'`
11342 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11343 (eval "$lt_compile" 2>conftest.err
)
11345 cat conftest.err
>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 if (exit $ac_status) && test -s "$ac_outfile"; then
11348 # The compiler can only warn and ignore the option if not recognized
11349 # So say no if there are warnings other than the usual output.
11350 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11351 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11352 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11353 lt_cv_prog_compiler_rtti_exceptions
=yes
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11360 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11362 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11363 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11372 lt_prog_compiler_wl_GO
=
11373 lt_prog_compiler_pic_GO
=
11374 lt_prog_compiler_static_GO
=
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11377 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11379 if test "$GCC" = yes; then
11380 lt_prog_compiler_wl_GO
='-Wl,'
11381 lt_prog_compiler_static_GO
='-static'
11385 # All AIX code is PIC.
11386 if test "$host_cpu" = ia64
; then
11387 # AIX 5 now supports IA64 processor
11388 lt_prog_compiler_static_GO
='-Bstatic'
11395 # see comment about AmigaOS4 .so support
11396 lt_prog_compiler_pic_GO
='-fPIC'
11399 # FIXME: we need at least 68020 code to build shared libraries, but
11400 # adding the `-m68020' flag to GCC prevents building anything better,
11402 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11407 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11408 # PIC is the default for these OSes.
11411 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11412 # This hack is so that the source file can tell whether it is being
11413 # built for inclusion in a dll (and should export symbols for example).
11414 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11415 # (--disable-auto-import) libraries
11416 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11419 darwin
* | rhapsody
*)
11420 # PIC is the default on this platform
11421 # Common symbols not allowed in MH_DYLIB files
11422 lt_prog_compiler_pic_GO
='-fno-common'
11426 # PIC is the default for Haiku.
11427 # The "-static" flag exists, but is broken.
11428 lt_prog_compiler_static_GO
=
11432 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11433 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11434 # sets the default TLS model and affects inlining.
11440 lt_prog_compiler_pic_GO
='-fPIC'
11446 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11447 # Instead, we relocate shared libraries at runtime.
11451 # Just because we use GCC doesn't mean we suddenly get shared libraries
11452 # on systems that don't support them.
11453 lt_prog_compiler_can_build_shared_GO
=no
11458 # QNX uses GNU C++, but need to define -shared option too, otherwise
11459 # it will coredump.
11460 lt_prog_compiler_pic_GO
='-fPIC -shared'
11464 if test -d /usr
/nec
; then
11465 lt_prog_compiler_pic_GO
=-Kconform_pic
11470 lt_prog_compiler_pic_GO
='-fPIC'
11474 case $cc_basename in
11475 nvcc
*) # Cuda Compiler Driver 2.2
11476 lt_prog_compiler_wl_GO
='-Xlinker '
11477 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11481 # PORTME Check for flag to pass linker flags through the system compiler.
11484 lt_prog_compiler_wl_GO
='-Wl,'
11485 if test "$host_cpu" = ia64
; then
11486 # AIX 5 now supports IA64 processor
11487 lt_prog_compiler_static_GO
='-Bstatic'
11489 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11493 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11494 # This hack is so that the source file can tell whether it is being
11495 # built for inclusion in a dll (and should export symbols for example).
11496 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11499 hpux9
* | hpux10
* | hpux11
*)
11500 lt_prog_compiler_wl_GO
='-Wl,'
11501 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11502 # not for PA HP-UX.
11508 lt_prog_compiler_pic_GO
='+Z'
11511 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11512 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11515 irix5
* | irix6
* | nonstopux
*)
11516 lt_prog_compiler_wl_GO
='-Wl,'
11517 # PIC (with -KPIC) is the default.
11518 lt_prog_compiler_static_GO
='-non_shared'
11521 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11522 case $cc_basename in
11523 # old Intel for x86_64 which still supported -KPIC.
11525 lt_prog_compiler_wl_GO
='-Wl,'
11526 lt_prog_compiler_pic_GO
='-KPIC'
11527 lt_prog_compiler_static_GO
='-static'
11529 # icc used to be incompatible with GCC.
11530 # ICC 10 doesn't accept -KPIC any more.
11532 lt_prog_compiler_wl_GO
='-Wl,'
11533 lt_prog_compiler_pic_GO
='-fPIC'
11534 lt_prog_compiler_static_GO
='-static'
11536 # Lahey Fortran 8.1.
11538 lt_prog_compiler_wl_GO
='-Wl,'
11539 lt_prog_compiler_pic_GO
='--shared'
11540 lt_prog_compiler_static_GO
='--static'
11542 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11543 # Portland Group compilers (*not* the Pentium gcc compiler,
11544 # which looks to be a dead project)
11545 lt_prog_compiler_wl_GO
='-Wl,'
11546 lt_prog_compiler_pic_GO
='-fpic'
11547 lt_prog_compiler_static_GO
='-Bstatic'
11550 lt_prog_compiler_wl_GO
='-Wl,'
11551 # All Alpha code is PIC.
11552 lt_prog_compiler_static_GO
='-non_shared'
11554 xl
* | bgxl
* | bgf
* | mpixl
*)
11555 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11556 lt_prog_compiler_wl_GO
='-Wl,'
11557 lt_prog_compiler_pic_GO
='-qpic'
11558 lt_prog_compiler_static_GO
='-qstaticlink'
11561 case `$CC -V 2>&1 | sed 5q` in
11562 *Sun\ F
* |
*Sun
*Fortran
*)
11563 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11564 lt_prog_compiler_pic_GO
='-KPIC'
11565 lt_prog_compiler_static_GO
='-Bstatic'
11566 lt_prog_compiler_wl_GO
=''
11570 lt_prog_compiler_pic_GO
='-KPIC'
11571 lt_prog_compiler_static_GO
='-Bstatic'
11572 lt_prog_compiler_wl_GO
='-Wl,'
11580 lt_prog_compiler_pic_GO
='-KPIC'
11581 lt_prog_compiler_static_GO
='-Bstatic'
11585 # QNX uses GNU C++, but need to define -shared option too, otherwise
11586 # it will coredump.
11587 lt_prog_compiler_pic_GO
='-fPIC -shared'
11590 osf3
* | osf4
* | osf5
*)
11591 lt_prog_compiler_wl_GO
='-Wl,'
11592 # All OSF/1 code is PIC.
11593 lt_prog_compiler_static_GO
='-non_shared'
11597 lt_prog_compiler_static_GO
='-non_shared'
11601 lt_prog_compiler_pic_GO
='-KPIC'
11602 lt_prog_compiler_static_GO
='-Bstatic'
11603 case $cc_basename in
11604 f77
* | f90
* | f95
*)
11605 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11607 lt_prog_compiler_wl_GO
='-Wl,';;
11612 lt_prog_compiler_wl_GO
='-Qoption ld '
11613 lt_prog_compiler_pic_GO
='-PIC'
11614 lt_prog_compiler_static_GO
='-Bstatic'
11617 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11618 lt_prog_compiler_wl_GO
='-Wl,'
11619 lt_prog_compiler_pic_GO
='-KPIC'
11620 lt_prog_compiler_static_GO
='-Bstatic'
11624 if test -d /usr
/nec
;then
11625 lt_prog_compiler_pic_GO
='-Kconform_pic'
11626 lt_prog_compiler_static_GO
='-Bstatic'
11630 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11631 lt_prog_compiler_wl_GO
='-Wl,'
11632 lt_prog_compiler_pic_GO
='-KPIC'
11633 lt_prog_compiler_static_GO
='-Bstatic'
11637 lt_prog_compiler_wl_GO
='-Wl,'
11638 lt_prog_compiler_can_build_shared_GO
=no
11642 lt_prog_compiler_pic_GO
='-pic'
11643 lt_prog_compiler_static_GO
='-Bstatic'
11647 lt_prog_compiler_can_build_shared_GO
=no
11653 # For platforms which do not support PIC, -DPIC is meaningless:
11655 lt_prog_compiler_pic_GO
=
11658 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11662 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11667 # Check to make sure the PIC flag actually works.
11669 if test -n "$lt_prog_compiler_pic_GO"; then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11671 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11672 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11673 $as_echo_n "(cached) " >&6
11675 lt_cv_prog_compiler_pic_works_GO
=no
11676 ac_outfile
=conftest.
$ac_objext
11677 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11678 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11679 # Insert the option either (1) after the last *FLAGS variable, or
11680 # (2) before a word containing "conftest.", or (3) at the end.
11681 # Note that $ac_compile itself does not contain backslashes and begins
11682 # with a dollar sign (not a hyphen), so the echo should work correctly.
11683 # The option is referenced via a variable to avoid confusing sed.
11684 lt_compile
=`echo "$ac_compile" | $SED \
11685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11687 -e 's:$: $lt_compiler_flag:'`
11688 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11689 (eval "$lt_compile" 2>conftest.err
)
11691 cat conftest.err
>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 if (exit $ac_status) && test -s "$ac_outfile"; then
11694 # The compiler can only warn and ignore the option if not recognized
11695 # So say no if there are warnings other than the usual output.
11696 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11697 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11698 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11699 lt_cv_prog_compiler_pic_works_GO
=yes
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11706 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11708 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11709 case $lt_prog_compiler_pic_GO in
11711 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11714 lt_prog_compiler_pic_GO
=
11715 lt_prog_compiler_can_build_shared_GO
=no
11723 # Check to make sure the static flag actually works.
11725 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11727 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11728 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11729 $as_echo_n "(cached) " >&6
11731 lt_cv_prog_compiler_static_works_GO
=no
11732 save_LDFLAGS
="$LDFLAGS"
11733 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11734 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11735 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11736 # The linker can only warn and ignore the option if not recognized
11737 # So say no if there are warnings
11738 if test -s conftest.err
; then
11739 # Append any errors to the config.log.
11740 cat conftest.err
1>&5
11741 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11742 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11743 if diff conftest.exp conftest.er2
>/dev
/null
; then
11744 lt_cv_prog_compiler_static_works_GO
=yes
11747 lt_cv_prog_compiler_static_works_GO
=yes
11751 LDFLAGS
="$save_LDFLAGS"
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11755 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11757 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11760 lt_prog_compiler_static_GO
=
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11767 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11768 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11769 $as_echo_n "(cached) " >&6
11771 lt_cv_prog_compiler_c_o_GO
=no
11772 $RM -r conftest
2>/dev
/null
11776 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11778 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11779 # Insert the option either (1) after the last *FLAGS variable, or
11780 # (2) before a word containing "conftest.", or (3) at the end.
11781 # Note that $ac_compile itself does not contain backslashes and begins
11782 # with a dollar sign (not a hyphen), so the echo should work correctly.
11783 lt_compile
=`echo "$ac_compile" | $SED \
11784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11786 -e 's:$: $lt_compiler_flag:'`
11787 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11788 (eval "$lt_compile" 2>out
/conftest.err
)
11790 cat out
/conftest.err
>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11794 # The compiler can only warn and ignore the option if not recognized
11795 # So say no if there are warnings
11796 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11797 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11798 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11799 lt_cv_prog_compiler_c_o_GO
=yes
11804 # SGI C++ compiler will create directory out/ii_files/ for
11805 # template instantiation
11806 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11807 $RM out
/* && rmdir out
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11814 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11819 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11820 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11821 $as_echo_n "(cached) " >&6
11823 lt_cv_prog_compiler_c_o_GO
=no
11824 $RM -r conftest
2>/dev
/null
11828 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11830 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11831 # Insert the option either (1) after the last *FLAGS variable, or
11832 # (2) before a word containing "conftest.", or (3) at the end.
11833 # Note that $ac_compile itself does not contain backslashes and begins
11834 # with a dollar sign (not a hyphen), so the echo should work correctly.
11835 lt_compile
=`echo "$ac_compile" | $SED \
11836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11838 -e 's:$: $lt_compiler_flag:'`
11839 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11840 (eval "$lt_compile" 2>out
/conftest.err
)
11842 cat out
/conftest.err
>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11846 # The compiler can only warn and ignore the option if not recognized
11847 # So say no if there are warnings
11848 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11849 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11850 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11851 lt_cv_prog_compiler_c_o_GO
=yes
11856 # SGI C++ compiler will create directory out/ii_files/ for
11857 # template instantiation
11858 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11859 $RM out
/* && rmdir out
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11866 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11871 hard_links
="nottested"
11872 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
11873 # do not overwrite the value of need_locks provided by the user
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11875 $as_echo_n "checking if we can lock with hard links... " >&6; }
11878 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11880 ln conftest.a conftest.b
2>&5 || hard_links
=no
11881 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11883 $as_echo "$hard_links" >&6; }
11884 if test "$hard_links" = no
; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11886 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11896 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11899 allow_undefined_flag_GO
=
11900 always_export_symbols_GO
=no
11902 archive_expsym_cmds_GO
=
11903 compiler_needs_object_GO
=no
11904 enable_shared_with_static_runtimes_GO
=no
11905 export_dynamic_flag_spec_GO
=
11906 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11907 hardcode_automatic_GO
=no
11908 hardcode_direct_GO
=no
11909 hardcode_direct_absolute_GO
=no
11910 hardcode_libdir_flag_spec_GO
=
11911 hardcode_libdir_flag_spec_ld_GO
=
11912 hardcode_libdir_separator_GO
=
11913 hardcode_minus_L_GO
=no
11914 hardcode_shlibpath_var_GO
=unsupported
11915 inherit_rpath_GO
=no
11916 link_all_deplibs_GO
=unknown
11918 module_expsym_cmds_GO
=
11919 old_archive_from_new_cmds_GO
=
11920 old_archive_from_expsyms_cmds_GO
=
11921 thread_safe_flag_spec_GO
=
11922 whole_archive_flag_spec_GO
=
11923 # include_expsyms should be a list of space-separated symbols to be *always*
11924 # included in the symbol list
11925 include_expsyms_GO
=
11926 # exclude_expsyms can be an extended regexp of symbols to exclude
11927 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11928 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11929 # as well as any symbol that contains `d'.
11930 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11931 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11932 # platforms (ab)use it in PIC code, but their linkers get confused if
11933 # the symbol is explicitly referenced. Since portable code cannot
11934 # rely on this symbol name, it's probably fine to never include it in
11935 # preloaded symbol tables.
11936 # Exclude shared library initialization/finalization symbols.
11937 extract_expsyms_cmds
=
11940 cygwin
* | mingw
* | pw32
* | cegcc
*)
11941 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11942 # When not using gcc, we currently assume that we are using
11943 # Microsoft Visual C++.
11944 if test "$GCC" != yes; then
11949 # we just hope/assume this is gcc and not c89 (= MSVC++)
11959 # On some targets, GNU ld is compatible enough with the native linker
11960 # that we're better off using the native interface for both.
11961 lt_use_gnu_ld_interface
=no
11962 if test "$with_gnu_ld" = yes; then
11965 # The AIX port of GNU ld has always aspired to compatibility
11966 # with the native linker. However, as the warning in the GNU ld
11967 # block says, versions before 2.19.5* couldn't really create working
11968 # shared libraries, regardless of the interface used.
11969 case `$LD -v 2>&1` in
11970 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11971 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11972 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11974 lt_use_gnu_ld_interface
=yes
11979 lt_use_gnu_ld_interface
=yes
11984 if test "$lt_use_gnu_ld_interface" = yes; then
11985 # If archive_cmds runs LD, not CC, wlarc should be empty
11988 # Set some defaults for GNU ld with shared library support. These
11989 # are reset later if shared libraries are not supported. Putting them
11990 # here allows them to be overridden if necessary.
11991 runpath_var
=LD_RUN_PATH
11992 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
11993 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
11994 # ancient GNU ld didn't support --whole-archive et. al.
11995 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11996 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11998 whole_archive_flag_spec_GO
=
12000 supports_anon_versioning
=no
12001 case `$LD -v 2>&1` in
12002 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12003 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12004 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12005 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12006 *\
2.11.
*) ;; # other 2.11 versions
12007 *) supports_anon_versioning
=yes ;;
12010 # See if GNU ld supports shared libraries.
12013 # On AIX/PPC, the GNU linker is very broken
12014 if test "$host_cpu" != ia64
; then
12018 *** Warning: the GNU linker, at least up to release 2.19, is reported
12019 *** to be unable to reliably create shared libraries on AIX.
12020 *** Therefore, libtool is disabling shared libraries support. If you
12021 *** really care for shared libraries, you may want to install binutils
12022 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12023 *** You will then need to restart the configuration process.
12032 # see comment about AmigaOS4 .so support
12033 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12034 archive_expsym_cmds_GO
=''
12037 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)'
12038 hardcode_libdir_flag_spec_GO
='-L$libdir'
12039 hardcode_minus_L_GO
=yes
12045 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12046 allow_undefined_flag_GO
=unsupported
12047 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12048 # support --undefined. This deserves some investigation. FIXME
12049 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12055 cygwin
* | mingw
* | pw32
* | cegcc
*)
12056 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12057 # as there is no search path for DLLs.
12058 hardcode_libdir_flag_spec_GO
='-L$libdir'
12059 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12060 allow_undefined_flag_GO
=unsupported
12061 always_export_symbols_GO
=no
12062 enable_shared_with_static_runtimes_GO
=yes
12063 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12065 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12066 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12067 # If the export-symbols file already is a .def file (1st line
12068 # is EXPORTS), use it as is; otherwise, prepend...
12069 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12070 cp $export_symbols $output_objdir/$soname.def;
12072 echo EXPORTS > $output_objdir/$soname.def;
12073 cat $export_symbols >> $output_objdir/$soname.def;
12075 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12082 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12083 link_all_deplibs_GO
=yes
12087 hardcode_direct_GO
=no
12088 hardcode_shlibpath_var_GO
=no
12089 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12090 export_dynamic_flag_spec_GO
='${wl}-E'
12091 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12092 # Instead, shared libraries are loaded at an image base (0x10000000 by
12093 # default) and relocated if they conflict, which is a slow very memory
12094 # consuming and fragmenting process. To avoid this, we pick a random,
12095 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12096 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12097 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'
12098 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'
12101 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12103 if test "$host_os" = linux-dietlibc
; then
12104 case $cc_basename in
12105 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12108 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12109 && test "$tmp_diet" = no
12112 tmp_sharedflag
='-shared'
12113 case $cc_basename,$host_cpu in
12114 pgcc
*) # Portland Group C compiler
12115 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'
12116 tmp_addflag
=' $pic_flag'
12118 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12119 # Portland Group f77 and f90 compilers
12120 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'
12121 tmp_addflag
=' $pic_flag -Mnomain' ;;
12122 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12123 tmp_addflag
=' -i_dynamic' ;;
12124 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12125 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12126 ifc
* | ifort
*) # Intel Fortran compiler
12127 tmp_addflag
=' -nofor_main' ;;
12128 lf95
*) # Lahey Fortran 8.1
12129 whole_archive_flag_spec_GO
=
12130 tmp_sharedflag
='--shared' ;;
12131 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12132 tmp_sharedflag
='-qmkshrobj'
12134 nvcc
*) # Cuda Compiler Driver 2.2
12135 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'
12136 compiler_needs_object_GO
=yes
12139 case `$CC -V 2>&1 | sed 5q` in
12140 *Sun\ C
*) # Sun C 5.9
12141 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'
12142 compiler_needs_object_GO
=yes
12143 tmp_sharedflag
='-G' ;;
12144 *Sun\ F
*) # Sun Fortran 8.3
12145 tmp_sharedflag
='-G' ;;
12147 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12149 if test "x$supports_anon_versioning" = xyes
; then
12150 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12151 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12152 echo "local: *; };" >> $output_objdir/$libname.ver~
12153 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12156 case $cc_basename in
12157 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12158 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12159 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12160 hardcode_libdir_flag_spec_GO
=
12161 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12162 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12163 if test "x$supports_anon_versioning" = xyes
; then
12164 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12165 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12166 echo "local: *; };" >> $output_objdir/$libname.ver~
12167 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12177 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12178 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12181 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12182 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12187 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12191 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12192 *** create shared libraries on Solaris systems. Therefore, libtool
12193 *** is disabling shared libraries support. We urge you to upgrade GNU
12194 *** binutils to release 2.9.1 or newer. Another option is to modify
12195 *** your PATH or compiler configuration so that the native linker is
12196 *** used, and then restart.
12199 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12200 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12201 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12207 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12208 case `$LD -v 2>&1` in
12209 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12213 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12214 *** reliably create shared libraries on SCO systems. Therefore, libtool
12215 *** is disabling shared libraries support. We urge you to upgrade GNU
12216 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12217 *** your PATH or compiler configuration so that the native linker is
12218 *** used, and then restart.
12223 # For security reasons, it is highly recommended that you always
12224 # use absolute paths for naming shared libraries, and exclude the
12225 # DT_RUNPATH tag from executables and libraries. But doing so
12226 # requires that you compile everything twice, which is a pain.
12227 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12228 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12229 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12230 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12239 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12241 hardcode_direct_GO
=yes
12242 hardcode_shlibpath_var_GO
=no
12246 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12247 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12248 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12255 if test "$ld_shlibs_GO" = no
; then
12257 hardcode_libdir_flag_spec_GO
=
12258 export_dynamic_flag_spec_GO
=
12259 whole_archive_flag_spec_GO
=
12262 # PORTME fill in a description of your system's linker (not GNU ld)
12265 allow_undefined_flag_GO
=unsupported
12266 always_export_symbols_GO
=yes
12267 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'
12268 # Note: this linker hardcodes the directories in LIBPATH if there
12269 # are no directories specified by -L.
12270 hardcode_minus_L_GO
=yes
12271 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12272 # Neither direct hardcoding nor static linking is supported with a
12274 hardcode_direct_GO
=unsupported
12279 if test "$host_cpu" = ia64
; then
12280 # On IA64, the linker does run time linking by default, so we don't
12281 # have to do anything special.
12282 aix_use_runtimelinking
=no
12283 exp_sym_flag
='-Bexport'
12286 # If we're using GNU nm, then we don't want the "-C" option.
12287 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12288 # Also, AIX nm treats weak defined symbols like other global
12289 # defined symbols, whereas GNU nm marks them as "W".
12290 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12291 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'
12293 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'
12295 aix_use_runtimelinking
=no
12297 # Test if we are trying to use run time linking or normal
12298 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12299 # need to do runtime linking.
12300 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12301 for ld_flag
in $LDFLAGS; do
12302 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12303 aix_use_runtimelinking
=yes
12310 exp_sym_flag
='-bexport'
12311 no_entry_flag
='-bnoentry'
12314 # When large executables or shared objects are built, AIX ld can
12315 # have problems creating the table of contents. If linking a library
12316 # or program results in "error TOC overflow" add -mminimal-toc to
12317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12321 hardcode_direct_GO
=yes
12322 hardcode_direct_absolute_GO
=yes
12323 hardcode_libdir_separator_GO
=':'
12324 link_all_deplibs_GO
=yes
12325 file_list_spec_GO
='${wl}-f,'
12327 if test "$GCC" = yes; then
12328 case $host_os in aix4.
[012]|aix4.
[012].
*)
12329 # We only want to do this on AIX 4.2 and lower, the check
12330 # below for broken collect2 doesn't work under 4.3+
12331 collect2name
=`${CC} -print-prog-name=collect2`
12332 if test -f "$collect2name" &&
12333 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12335 # We have reworked collect2
12338 # We have old collect2
12339 hardcode_direct_GO
=unsupported
12340 # It fails to find uninstalled libraries when the uninstalled
12341 # path is not listed in the libpath. Setting hardcode_minus_L
12342 # to unsupported forces relinking
12343 hardcode_minus_L_GO
=yes
12344 hardcode_libdir_flag_spec_GO
='-L$libdir'
12345 hardcode_libdir_separator_GO
=
12349 shared_flag
='-shared'
12350 if test "$aix_use_runtimelinking" = yes; then
12351 shared_flag
="$shared_flag "'${wl}-G'
12355 if test "$host_cpu" = ia64
; then
12356 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12357 # chokes on -Wl,-G. The following line is correct:
12360 if test "$aix_use_runtimelinking" = yes; then
12361 shared_flag
='${wl}-G'
12363 shared_flag
='${wl}-bM:SRE'
12368 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12369 # It seems that -bexpall does not export symbols beginning with
12370 # underscore (_), so it is better to generate a list of symbols to export.
12371 always_export_symbols_GO
=yes
12372 if test "$aix_use_runtimelinking" = yes; then
12373 # Warning - without using the other runtime loading flags (-brtl),
12374 # -berok will link without error, but may produce a broken library.
12375 allow_undefined_flag_GO
='-berok'
12376 # Determine the default libpath from the value encoded in an
12377 # empty executable.
12378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12389 if ac_fn_c_try_link
"$LINENO"; then :
12391 lt_aix_libpath_sed
='
12392 /Import File Strings/,/^$/ {
12398 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12399 # Check for a 64-bit object if we didn't find anything.
12400 if test -z "$aix_libpath"; then
12401 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12404 rm -f core conftest.err conftest.
$ac_objext \
12405 conftest
$ac_exeext conftest.
$ac_ext
12406 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12408 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12409 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"
12411 if test "$host_cpu" = ia64
; then
12412 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12413 allow_undefined_flag_GO
="-z nodefs"
12414 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"
12416 # Determine the default libpath from the value encoded in an
12417 # empty executable.
12418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12429 if ac_fn_c_try_link
"$LINENO"; then :
12431 lt_aix_libpath_sed
='
12432 /Import File Strings/,/^$/ {
12438 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12439 # Check for a 64-bit object if we didn't find anything.
12440 if test -z "$aix_libpath"; then
12441 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12444 rm -f core conftest.err conftest.
$ac_objext \
12445 conftest
$ac_exeext conftest.
$ac_ext
12446 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12448 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12449 # Warning - without using the other run time loading flags,
12450 # -berok will link without error, but may produce a broken library.
12451 no_undefined_flag_GO
=' ${wl}-bernotok'
12452 allow_undefined_flag_GO
=' ${wl}-berok'
12453 if test "$with_gnu_ld" = yes; then
12454 # We only use this code for GNU lds that support --whole-archive.
12455 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12457 # Exported symbols can be pulled into shared objects from archives
12458 whole_archive_flag_spec_GO
='$convenience'
12460 archive_cmds_need_lc_GO
=yes
12461 # This is similar to how AIX traditionally builds its shared libraries.
12462 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'
12470 # see comment about AmigaOS4 .so support
12471 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12472 archive_expsym_cmds_GO
=''
12475 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)'
12476 hardcode_libdir_flag_spec_GO
='-L$libdir'
12477 hardcode_minus_L_GO
=yes
12483 export_dynamic_flag_spec_GO
=-rdynamic
12486 cygwin
* | mingw
* | pw32
* | cegcc
*)
12487 # When not using gcc, we currently assume that we are using
12488 # Microsoft Visual C++.
12489 # hardcode_libdir_flag_spec is actually meaningless, as there is
12490 # no search path for DLLs.
12491 hardcode_libdir_flag_spec_GO
=' '
12492 allow_undefined_flag_GO
=unsupported
12493 # Tell ltmain to make .lib files, not .a files.
12495 # Tell ltmain to make .dll files, not .so files.
12497 # FIXME: Setting linknames here is a bad hack.
12498 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12499 # The linker will automatically build a .lib file if we build a DLL.
12500 old_archive_from_new_cmds_GO
='true'
12501 # FIXME: Should let the user specify the lib program.
12502 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12503 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12504 enable_shared_with_static_runtimes_GO
=yes
12507 darwin
* | rhapsody
*)
12510 archive_cmds_need_lc_GO
=no
12511 hardcode_direct_GO
=no
12512 hardcode_automatic_GO
=yes
12513 hardcode_shlibpath_var_GO
=unsupported
12514 if test "$lt_cv_ld_force_load" = "yes"; then
12515 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\"`'
12517 whole_archive_flag_spec_GO
=''
12519 link_all_deplibs_GO
=yes
12520 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12521 case $cc_basename in
12522 ifort
*) _lt_dar_can_shared
=yes ;;
12523 *) _lt_dar_can_shared
=$GCC ;;
12525 if test "$_lt_dar_can_shared" = "yes"; then
12526 output_verbose_link_cmd
=func_echo_all
12527 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}"
12528 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12529 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}"
12530 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}"
12539 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12540 hardcode_libdir_flag_spec_GO
='-L$libdir'
12541 hardcode_shlibpath_var_GO
=no
12544 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12545 # support. Future versions do this automatically, but an explicit c++rt0.o
12546 # does not break anything, and helps significantly (at the cost of a little
12549 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12550 hardcode_libdir_flag_spec_GO
='-R$libdir'
12551 hardcode_direct_GO
=yes
12552 hardcode_shlibpath_var_GO
=no
12555 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12557 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12558 hardcode_direct_GO
=yes
12559 hardcode_minus_L_GO
=yes
12560 hardcode_shlibpath_var_GO
=no
12563 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12564 freebsd
* | dragonfly
*)
12565 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12566 hardcode_libdir_flag_spec_GO
='-R$libdir'
12567 hardcode_direct_GO
=yes
12568 hardcode_shlibpath_var_GO
=no
12572 if test "$GCC" = yes; then
12573 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'
12575 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'
12577 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12578 hardcode_libdir_separator_GO
=:
12579 hardcode_direct_GO
=yes
12581 # hardcode_minus_L: Not really in the search PATH,
12582 # but as the default location of the library.
12583 hardcode_minus_L_GO
=yes
12584 export_dynamic_flag_spec_GO
='${wl}-E'
12588 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12589 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12591 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12593 if test "$with_gnu_ld" = no
; then
12594 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12595 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12596 hardcode_libdir_separator_GO
=:
12597 hardcode_direct_GO
=yes
12598 hardcode_direct_absolute_GO
=yes
12599 export_dynamic_flag_spec_GO
='${wl}-E'
12600 # hardcode_minus_L: Not really in the search PATH,
12601 # but as the default location of the library.
12602 hardcode_minus_L_GO
=yes
12607 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12610 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12613 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12616 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12622 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12625 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12628 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12632 if test "$with_gnu_ld" = no
; then
12633 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12634 hardcode_libdir_separator_GO
=:
12638 hardcode_direct_GO
=no
12639 hardcode_shlibpath_var_GO
=no
12642 hardcode_direct_GO
=yes
12643 hardcode_direct_absolute_GO
=yes
12644 export_dynamic_flag_spec_GO
='${wl}-E'
12646 # hardcode_minus_L: Not really in the search PATH,
12647 # but as the default location of the library.
12648 hardcode_minus_L_GO
=yes
12654 irix5
* | irix6
* | nonstopux
*)
12655 if test "$GCC" = yes; then
12656 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'
12657 # Try to use the -exported_symbol ld option, if it does not
12658 # work, assume that -exports_file does not work either and
12659 # implicitly export all symbols.
12660 save_LDFLAGS
="$LDFLAGS"
12661 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12666 if ac_fn_c_try_link
"$LINENO"; then :
12667 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'
12670 rm -f core conftest.err conftest.
$ac_objext \
12671 conftest
$ac_exeext conftest.
$ac_ext
12672 LDFLAGS
="$save_LDFLAGS"
12674 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'
12675 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'
12677 archive_cmds_need_lc_GO
='no'
12678 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12679 hardcode_libdir_separator_GO
=:
12680 inherit_rpath_GO
=yes
12681 link_all_deplibs_GO
=yes
12685 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12686 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12688 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12690 hardcode_libdir_flag_spec_GO
='-R$libdir'
12691 hardcode_direct_GO
=yes
12692 hardcode_shlibpath_var_GO
=no
12696 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12697 hardcode_direct_GO
=yes
12698 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12699 hardcode_libdir_separator_GO
=:
12700 hardcode_shlibpath_var_GO
=no
12707 if test -f /usr
/libexec
/ld.so
; then
12708 hardcode_direct_GO
=yes
12709 hardcode_shlibpath_var_GO
=no
12710 hardcode_direct_absolute_GO
=yes
12711 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12712 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12713 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12714 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12715 export_dynamic_flag_spec_GO
='${wl}-E'
12718 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12719 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12720 hardcode_libdir_flag_spec_GO
='-R$libdir'
12723 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12724 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12734 hardcode_libdir_flag_spec_GO
='-L$libdir'
12735 hardcode_minus_L_GO
=yes
12736 allow_undefined_flag_GO
=unsupported
12737 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'
12738 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12742 if test "$GCC" = yes; then
12743 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12744 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'
12746 allow_undefined_flag_GO
=' -expect_unresolved \*'
12747 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'
12749 archive_cmds_need_lc_GO
='no'
12750 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12751 hardcode_libdir_separator_GO
=:
12754 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12755 if test "$GCC" = yes; then
12756 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12757 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'
12758 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12760 allow_undefined_flag_GO
=' -expect_unresolved \*'
12761 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'
12762 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~
12763 $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'
12765 # Both c and cxx compiler support -rpath directly
12766 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12768 archive_cmds_need_lc_GO
='no'
12769 hardcode_libdir_separator_GO
=:
12773 no_undefined_flag_GO
=' -z defs'
12774 if test "$GCC" = yes; then
12776 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12777 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12778 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12780 case `$CC -V 2>&1` in
12783 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12784 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12785 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12789 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12790 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12791 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12795 hardcode_libdir_flag_spec_GO
='-R$libdir'
12796 hardcode_shlibpath_var_GO
=no
12798 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12800 # The compiler driver will combine and reorder linker options,
12801 # but understands `-z linker_flag'. GCC discards it without `$wl',
12802 # but is careful enough not to reorder.
12803 # Supported since Solaris 2.6 (maybe 2.5.1?)
12804 if test "$GCC" = yes; then
12805 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12807 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
12811 link_all_deplibs_GO
=yes
12815 if test "x$host_vendor" = xsequent
; then
12816 # Use $CC to link under sequent, because it throws in some extra .o
12817 # files that make .init and .fini sections work.
12818 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12820 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12822 hardcode_libdir_flag_spec_GO
='-L$libdir'
12823 hardcode_direct_GO
=yes
12824 hardcode_minus_L_GO
=yes
12825 hardcode_shlibpath_var_GO
=no
12829 case $host_vendor in
12831 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12832 hardcode_direct_GO
=yes # is this really true???
12835 ## LD is ld it makes a PLAMLIB
12836 ## CC just makes a GrossModule.
12837 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12838 reload_cmds_GO
='$CC -r -o $output$reload_objs'
12839 hardcode_direct_GO
=no
12842 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12843 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
12846 runpath_var
='LD_RUN_PATH'
12847 hardcode_shlibpath_var_GO
=no
12851 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12852 hardcode_shlibpath_var_GO
=no
12853 export_dynamic_flag_spec_GO
='-Bexport'
12857 if test -d /usr
/nec
; then
12858 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12859 hardcode_shlibpath_var_GO
=no
12860 runpath_var
=LD_RUN_PATH
12861 hardcode_runpath_var
=yes
12866 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12867 no_undefined_flag_GO
='${wl}-z,text'
12868 archive_cmds_need_lc_GO
=no
12869 hardcode_shlibpath_var_GO
=no
12870 runpath_var
='LD_RUN_PATH'
12872 if test "$GCC" = yes; then
12873 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12874 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12876 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12877 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12881 sysv5
* | sco3.2v5
* | sco5v6
*)
12882 # Note: We can NOT use -z defs as we might desire, because we do not
12883 # link with -lc, and that would cause any symbols used from libc to
12884 # always be unresolved, which means just about no library would
12885 # ever link correctly. If we're not using GNU ld we use -z text
12886 # though, which does catch some bad symbols but isn't as heavy-handed
12888 no_undefined_flag_GO
='${wl}-z,text'
12889 allow_undefined_flag_GO
='${wl}-z,nodefs'
12890 archive_cmds_need_lc_GO
=no
12891 hardcode_shlibpath_var_GO
=no
12892 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
12893 hardcode_libdir_separator_GO
=':'
12894 link_all_deplibs_GO
=yes
12895 export_dynamic_flag_spec_GO
='${wl}-Bexport'
12896 runpath_var
='LD_RUN_PATH'
12898 if test "$GCC" = yes; then
12899 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12900 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12902 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12903 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12908 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12909 hardcode_libdir_flag_spec_GO
='-L$libdir'
12910 hardcode_shlibpath_var_GO
=no
12918 if test x
$host_vendor = xsni
; then
12920 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12921 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
12928 $as_echo "$ld_shlibs_GO" >&6; }
12929 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
12931 with_gnu_ld_GO
=$with_gnu_ld
12939 # Do we need to explicitly link libc?
12941 case "x$archive_cmds_need_lc_GO" in
12943 # Assume -lc should be added
12944 archive_cmds_need_lc_GO
=yes
12946 if test "$enable_shared" = yes && test "$GCC" = yes; then
12947 case $archive_cmds_GO in
12949 # FIXME: we may have to deal with multi-command sequences.
12952 # Test whether the compiler implicitly links with -lc since on some
12953 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12954 # to ld, don't add -lc before -lgcc.
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12956 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12957 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
12958 $as_echo_n "(cached) " >&6
12961 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12964 (eval $ac_compile) 2>&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967 test $ac_status = 0; } 2>conftest.err
; then
12970 libobjs
=conftest.
$ac_objext
12972 wl
=$lt_prog_compiler_wl_GO
12973 pic_flag
=$lt_prog_compiler_pic_GO
12979 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
12980 allow_undefined_flag_GO
=
12981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12982 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12985 test $ac_status = 0; }
12987 lt_cv_archive_cmds_need_lc_GO
=no
12989 lt_cv_archive_cmds_need_lc_GO
=yes
12991 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
12993 cat conftest.err
1>&5
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
12999 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13000 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13071 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13072 hardcode_action_GO
=
13073 if test -n "$hardcode_libdir_flag_spec_GO" ||
13074 test -n "$runpath_var_GO" ||
13075 test "X$hardcode_automatic_GO" = "Xyes" ; then
13077 # We can hardcode non-existent directories.
13078 if test "$hardcode_direct_GO" != no
&&
13079 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13080 # have to relink, otherwise we might link with an installed library
13081 # when we should be linking with a yet-to-be-installed one
13082 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13083 test "$hardcode_minus_L_GO" != no
; then
13084 # Linking always hardcodes the temporary library directory.
13085 hardcode_action_GO
=relink
13087 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13088 hardcode_action_GO
=immediate
13091 # We cannot hardcode anything, or else we can only hardcode existing
13093 hardcode_action_GO
=unsupported
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13096 $as_echo "$hardcode_action_GO" >&6; }
13098 if test "$hardcode_action_GO" = relink ||
13099 test "$inherit_rpath_GO" = yes; then
13100 # Fast installation is not supported
13101 enable_fast_install
=no
13102 elif test "$shlibpath_overrides_runpath" = yes ||
13103 test "$enable_shared" = no
; then
13104 # Fast installation is not necessary
13105 enable_fast_install
=needless
13117 ac_cpp
='$CPP $CPPFLAGS'
13118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13129 ac_config_commands
="$ac_config_commands libtool"
13134 # Only expand once:
13140 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13146 glibgo_toolexecdir
=no
13147 glibgo_toolexeclibdir
=no
13148 glibgo_prefixdir
=$prefix
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13151 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13152 # Check whether --enable-version-specific-runtime-libs was given.
13153 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13154 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13155 yes) version_specific_libs
=yes ;;
13156 no
) version_specific_libs
=no
;;
13157 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13160 version_specific_libs
=no
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13164 $as_echo "$version_specific_libs" >&6; }
13166 # Version-specific runtime libs processing.
13167 if test $version_specific_libs = yes; then
13168 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13169 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13172 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13173 # Install a library built with a cross compiler in tooldir, not libdir.
13174 if test x
"$glibgo_toolexecdir" = x
"no"; then
13175 if test -n "$with_cross_host" &&
13176 test x
"$with_cross_host" != x
"no"; then
13177 glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13178 glibgo_toolexeclibdir
='${toolexecdir}/lib'
13180 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13181 glibgo_toolexeclibdir
='${libdir}'
13183 multi_os_directory
=`$CC -print-multi-os-directory`
13184 case $multi_os_directory in
13185 .
) ;; # Avoid trailing /.
13186 *) glibgo_toolexeclibdir
=$glibgo_toolexeclibdir/$multi_os_directory ;;
13194 # See if the user wants to configure without libffi. Some
13195 # architectures don't support it. FIXME: We should set a default
13196 # based on the host.
13198 # Check whether --with-libffi was given.
13199 if test "${with_libffi+set}" = set; then :
13200 withval
=$with_libffi; :
13202 with_libffi
=${with_libffi_default-yes}
13208 if test "$with_libffi" != no
; then
13210 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13212 LIBFFI
=..
/libffi
/libffi_convenience.la
13213 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13225 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13226 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13227 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13228 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13229 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13231 if test $is_darwin = yes; then
13232 LIBGO_IS_DARWIN_TRUE
=
13233 LIBGO_IS_DARWIN_FALSE
='#'
13235 LIBGO_IS_DARWIN_TRUE
='#'
13236 LIBGO_IS_DARWIN_FALSE
=
13239 if test $is_freebsd = yes; then
13240 LIBGO_IS_FREEBSD_TRUE
=
13241 LIBGO_IS_FREEBSD_FALSE
='#'
13243 LIBGO_IS_FREEBSD_TRUE
='#'
13244 LIBGO_IS_FREEBSD_FALSE
=
13247 if test $is_linux = yes; then
13248 LIBGO_IS_LINUX_TRUE
=
13249 LIBGO_IS_LINUX_FALSE
='#'
13251 LIBGO_IS_LINUX_TRUE
='#'
13252 LIBGO_IS_LINUX_FALSE
=
13255 if test $is_rtems = yes; then
13256 LIBGO_IS_RTEMS_TRUE
=
13257 LIBGO_IS_RTEMS_FALSE
='#'
13259 LIBGO_IS_RTEMS_TRUE
='#'
13260 LIBGO_IS_RTEMS_FALSE
=
13263 if test $is_solaris = yes; then
13264 LIBGO_IS_SOLARIS_TRUE
=
13265 LIBGO_IS_SOLARIS_FALSE
='#'
13267 LIBGO_IS_SOLARIS_TRUE
='#'
13268 LIBGO_IS_SOLARIS_FALSE
=
13285 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13289 i
[34567]86-*-* | x86_64-
*-*)
13290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13297 if ac_fn_c_try_compile
"$LINENO"; then :
13302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13303 if test "$is_386" = "yes"; then
13314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13321 if ac_fn_c_try_compile
"$LINENO"; then :
13326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13327 if test "$is_mips" = "yes"; then
13333 rs6000
*-*-* | powerpc
*-*-*)
13334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13341 if ac_fn_c_try_compile
"$LINENO"; then :
13346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13347 if test "$is_ppc" = "yes"; then
13354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 #if defined(__sparcv9) || defined(__arch64__)
13361 if ac_fn_c_try_compile
"$LINENO"; then :
13366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13367 if test "$is_sparc" = "yes"; then
13374 if test $is_386 = yes; then
13376 LIBGO_IS_386_FALSE
='#'
13378 LIBGO_IS_386_TRUE
='#'
13379 LIBGO_IS_386_FALSE
=
13382 if test $is_arm = yes; then
13384 LIBGO_IS_ARM_FALSE
='#'
13386 LIBGO_IS_ARM_TRUE
='#'
13387 LIBGO_IS_ARM_FALSE
=
13390 if test $is_m68k = yes; then
13391 LIBGO_IS_M68K_TRUE
=
13392 LIBGO_IS_M68K_FALSE
='#'
13394 LIBGO_IS_M68K_TRUE
='#'
13395 LIBGO_IS_M68K_FALSE
=
13398 if test $is_mips = yes; then
13399 LIBGO_IS_MIPS_TRUE
=
13400 LIBGO_IS_MIPS_FALSE
='#'
13402 LIBGO_IS_MIPS_TRUE
='#'
13403 LIBGO_IS_MIPS_FALSE
=
13406 if test $is_mips64 = yes; then
13407 LIBGO_IS_MIPS64_TRUE
=
13408 LIBGO_IS_MIPS64_FALSE
='#'
13410 LIBGO_IS_MIPS64_TRUE
='#'
13411 LIBGO_IS_MIPS64_FALSE
=
13414 if test $is_ppc = yes; then
13416 LIBGO_IS_PPC_FALSE
='#'
13418 LIBGO_IS_PPC_TRUE
='#'
13419 LIBGO_IS_PPC_FALSE
=
13422 if test $is_ppc64 = yes; then
13423 LIBGO_IS_PPC64_TRUE
=
13424 LIBGO_IS_PPC64_FALSE
='#'
13426 LIBGO_IS_PPC64_TRUE
='#'
13427 LIBGO_IS_PPC64_FALSE
=
13430 if test $is_sparc = yes; then
13431 LIBGO_IS_SPARC_TRUE
=
13432 LIBGO_IS_SPARC_FALSE
='#'
13434 LIBGO_IS_SPARC_TRUE
='#'
13435 LIBGO_IS_SPARC_FALSE
=
13438 if test $is_sparc64 = yes; then
13439 LIBGO_IS_SPARC64_TRUE
=
13440 LIBGO_IS_SPARC64_FALSE
='#'
13442 LIBGO_IS_SPARC64_TRUE
='#'
13443 LIBGO_IS_SPARC64_FALSE
=
13446 if test $is_x86_64 = yes; then
13447 LIBGO_IS_X86_64_TRUE
=
13448 LIBGO_IS_X86_64_FALSE
='#'
13450 LIBGO_IS_X86_64_TRUE
='#'
13451 LIBGO_IS_X86_64_FALSE
=
13456 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
=
13457 if test -f ${srcdir}/syscalls/syscall_${GOOS}_${GOARCH}.go
; then
13458 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
=syscalls
/syscall_
${GOOS}_
${GOARCH}.go
13462 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
=
13463 if test -f ${srcdir}/go/debug/proc/regs_${GOOS}_${GOARCH}.go
; then
13464 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
=go
/debug
/proc
/regs_
${GOOS}_
${GOARCH}.go
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13469 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13470 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13471 $as_echo_n "(cached) " >&6
13473 CFLAGS_hold
=$CFLAGS
13474 CFLAGS
="$CFLAGS -fsplit-stack"
13475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13479 if ac_fn_c_try_compile
"$LINENO"; then :
13480 libgo_cv_c_split_stack_supported
=yes
13482 libgo_cv_c_split_stack_supported
=no
13484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13485 CFLAGS
=$CFLAGS_hold
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13488 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13489 if test "$libgo_cv_c_split_stack_supported" = yes; then
13490 SPLIT_STACK
=-fsplit-stack
13492 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13498 if test "$libgo_cv_c_split_stack_supported" = yes; then
13499 USING_SPLIT_STACK_TRUE
=
13500 USING_SPLIT_STACK_FALSE
='#'
13502 USING_SPLIT_STACK_TRUE
='#'
13503 USING_SPLIT_STACK_FALSE
=
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13508 $as_echo_n "checking whether linker supports split stack... " >&6; }
13509 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13510 $as_echo_n "(cached) " >&6
13512 libgo_cv_c_linker_supports_split_stack
=no
13513 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13514 libgo_cv_c_linker_supports_split_stack
=yes
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13518 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13519 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13521 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13527 $as_echo_n "checking for sqrt in -lm... " >&6; }
13528 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13529 $as_echo_n "(cached) " >&6
13531 ac_check_lib_save_LIBS
=$LIBS
13533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13536 /* Override any GCC internal prototype to avoid an error.
13537 Use char because int might match the return type of a GCC
13538 builtin and then its argument prototype would still apply. */
13551 if ac_fn_c_try_link
"$LINENO"; then :
13552 ac_cv_lib_m_sqrt
=yes
13554 ac_cv_lib_m_sqrt
=no
13556 rm -f core conftest.err conftest.
$ac_objext \
13557 conftest
$ac_exeext conftest.
$ac_ext
13558 LIBS
=$ac_check_lib_save_LIBS
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13561 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13562 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13569 $as_echo_n "checking for socket libraries... " >&6; }
13570 if test "${libgo_cv_lib_sockets+set}" = set; then :
13571 $as_echo_n "(cached) " >&6
13573 libgo_cv_lib_sockets
=
13574 libgo_check_both
=no
13575 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13576 if test "x$ac_cv_func_connect" = x
""yes; then :
13577 libgo_check_socket
=no
13579 libgo_check_socket
=yes
13582 if test "$libgo_check_socket" = "yes"; then
13583 unset ac_cv_func_connect
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13585 $as_echo_n "checking for main in -lsocket... " >&6; }
13586 if test "${ac_cv_lib_socket_main+set}" = set; then :
13587 $as_echo_n "(cached) " >&6
13589 ac_check_lib_save_LIBS
=$LIBS
13590 LIBS
="-lsocket $LIBS"
13591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13603 if ac_fn_c_try_link
"$LINENO"; then :
13604 ac_cv_lib_socket_main
=yes
13606 ac_cv_lib_socket_main
=no
13608 rm -f core conftest.err conftest.
$ac_objext \
13609 conftest
$ac_exeext conftest.
$ac_ext
13610 LIBS
=$ac_check_lib_save_LIBS
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
13613 $as_echo "$ac_cv_lib_socket_main" >&6; }
13614 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
13615 libgo_cv_lib_sockets
="-lsocket"
13617 libgo_check_both
=yes
13621 if test "$libgo_check_both" = "yes"; then
13622 libgo_old_libs
=$LIBS
13623 LIBS
="$LIBS -lsocket -lnsl"
13624 unset ac_cv_func_accept
13625 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
13626 if test "x$ac_cv_func_accept" = x
""yes; then :
13628 libgo_cv_lib_sockets
="-lsocket -lnsl"
13631 unset ac_cv_func_accept
13632 LIBS
=$libgo_old_libs
13634 unset ac_cv_func_gethostbyname
13635 libgo_old_libs
="$LIBS"
13636 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13637 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
13641 $as_echo_n "checking for main in -lnsl... " >&6; }
13642 if test "${ac_cv_lib_nsl_main+set}" = set; then :
13643 $as_echo_n "(cached) " >&6
13645 ac_check_lib_save_LIBS
=$LIBS
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13659 if ac_fn_c_try_link
"$LINENO"; then :
13660 ac_cv_lib_nsl_main
=yes
13662 ac_cv_lib_nsl_main
=no
13664 rm -f core conftest.err conftest.
$ac_objext \
13665 conftest
$ac_exeext conftest.
$ac_ext
13666 LIBS
=$ac_check_lib_save_LIBS
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
13669 $as_echo "$ac_cv_lib_nsl_main" >&6; }
13670 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
13671 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
13676 unset ac_cv_func_gethostbyname
13677 LIBS
=$libgo_old_libs
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
13681 $as_echo "$libgo_cv_lib_sockets" >&6; }
13682 NET_LIBS
="$libgo_cv_lib_sockets"
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13686 $as_echo_n "checking whether -pthread is supported... " >&6; }
13687 if test "${libgo_cv_lib_pthread+set}" = set; then :
13688 $as_echo_n "(cached) " >&6
13690 CFLAGS_hold
=$CFLAGS
13691 CFLAGS
="$CFLAGS -pthread"
13692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13696 if ac_fn_c_try_compile
"$LINENO"; then :
13697 libgo_cv_lib_pthread
=yes
13699 libgo_cv_lib_pthread
=no
13701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13702 CFLAGS
=$CFLAGS_hold
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13705 $as_echo "$libgo_cv_lib_pthread" >&6; }
13707 if test "$libgo_cv_lib_pthread" = yes; then
13708 PTHREAD_CFLAGS
=-pthread
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13714 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
13715 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_check_lib_save_LIBS
=$LIBS
13719 LIBS
="-lpthread $LIBS"
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13723 /* Override any GCC internal prototype to avoid an error.
13724 Use char because int might match the return type of a GCC
13725 builtin and then its argument prototype would still apply. */
13729 char pthread_create ();
13733 return pthread_create ();
13738 if ac_fn_c_try_link
"$LINENO"; then :
13739 ac_cv_lib_pthread_pthread_create
=yes
13741 ac_cv_lib_pthread_pthread_create
=no
13743 rm -f core conftest.err conftest.
$ac_objext \
13744 conftest
$ac_exeext conftest.
$ac_ext
13745 LIBS
=$ac_check_lib_save_LIBS
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13748 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
13749 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
13750 PTHREAD_LIBS
=-lpthread
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
13756 $as_echo_n "checking for library containing sched_yield... " >&6; }
13757 if test "${ac_cv_search_sched_yield+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13760 ac_func_search_save_LIBS
=$LIBS
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 /* Override any GCC internal prototype to avoid an error.
13765 Use char because int might match the return type of a GCC
13766 builtin and then its argument prototype would still apply. */
13770 char sched_yield ();
13774 return sched_yield ();
13779 for ac_lib
in '' rt
; do
13780 if test -z "$ac_lib"; then
13781 ac_res
="none required"
13784 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13786 if ac_fn_c_try_link
"$LINENO"; then :
13787 ac_cv_search_sched_yield
=$ac_res
13789 rm -f core conftest.err conftest.
$ac_objext \
13791 if test "${ac_cv_search_sched_yield+set}" = set; then :
13795 if test "${ac_cv_search_sched_yield+set}" = set; then :
13798 ac_cv_search_sched_yield
=no
13800 rm conftest.
$ac_ext
13801 LIBS
=$ac_func_search_save_LIBS
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
13804 $as_echo "$ac_cv_search_sched_yield" >&6; }
13805 ac_res
=$ac_cv_search_sched_yield
13806 if test "$ac_res" != no
; then :
13807 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13813 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13814 if test "${ac_cv_c_bigendian+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13817 ac_cv_c_bigendian
=unknown
13818 # See if we're dealing with a universal compiler.
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 #ifndef __APPLE_CC__
13822 not a universal capable compiler
13827 if ac_fn_c_try_compile
"$LINENO"; then :
13829 # Check for potential -arch flags. It is not universal unless
13830 # there are at least two -arch flags with different values.
13833 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13834 if test -n "$ac_prev"; then
13836 i?
86 | x86_64 | ppc | ppc64
)
13837 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13840 ac_cv_c_bigendian
=universal
13846 elif test "x$ac_word" = "x-arch"; then
13851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13852 if test $ac_cv_c_bigendian = unknown
; then
13853 # See if sys/param.h defines the BYTE_ORDER macro.
13854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13856 #include <sys/types.h>
13857 #include <sys/param.h>
13862 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13863 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13865 bogus endian macros
13872 if ac_fn_c_try_compile
"$LINENO"; then :
13873 # It does; now see whether it defined to BIG_ENDIAN or not.
13874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 #include <sys/types.h>
13877 #include <sys/param.h>
13882 #if BYTE_ORDER != BIG_ENDIAN
13890 if ac_fn_c_try_compile
"$LINENO"; then :
13891 ac_cv_c_bigendian
=yes
13893 ac_cv_c_bigendian
=no
13895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13899 if test $ac_cv_c_bigendian = unknown
; then
13900 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13903 #include <limits.h>
13908 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13909 bogus endian macros
13916 if ac_fn_c_try_compile
"$LINENO"; then :
13917 # It does; now see whether it defined to _BIG_ENDIAN or not.
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 #include <limits.h>
13925 #ifndef _BIG_ENDIAN
13933 if ac_fn_c_try_compile
"$LINENO"; then :
13934 ac_cv_c_bigendian
=yes
13936 ac_cv_c_bigendian
=no
13938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13942 if test $ac_cv_c_bigendian = unknown
; then
13943 # Compile a test program.
13944 if test "$cross_compiling" = yes; then :
13945 # Try to guess by grepping values from an object file.
13946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 short int ascii_mm[] =
13949 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13950 short int ascii_ii[] =
13951 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13952 int use_ascii (int i) {
13953 return ascii_mm[i] + ascii_ii[i];
13955 short int ebcdic_ii[] =
13956 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13957 short int ebcdic_mm[] =
13958 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13959 int use_ebcdic (int i) {
13960 return ebcdic_mm[i] + ebcdic_ii[i];
13967 return use_ascii (foo) == use_ebcdic (foo);
13972 if ac_fn_c_try_compile
"$LINENO"; then :
13973 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13974 ac_cv_c_bigendian
=yes
13976 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13977 if test "$ac_cv_c_bigendian" = unknown
; then
13978 ac_cv_c_bigendian
=no
13980 # finding both strings is unlikely to happen, but who knows?
13981 ac_cv_c_bigendian
=unknown
13985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 $ac_includes_default
13994 /* Are we little or big endian? From Harbison&Steele. */
13998 char c[sizeof (long int)];
14001 return u.c[sizeof (long int) - 1] == 1;
14007 if ac_fn_c_try_run
"$LINENO"; then :
14008 ac_cv_c_bigendian
=no
14010 ac_cv_c_bigendian
=yes
14012 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14013 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14019 $as_echo "$ac_cv_c_bigendian" >&6; }
14020 case $ac_cv_c_bigendian in #(
14022 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14028 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14032 as_fn_error
"unknown endianness
14033 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14039 # Check whether --with-system-libunwind was given.
14040 if test "${with_system_libunwind+set}" = set; then :
14041 withval
=$with_system_libunwind;
14044 # If system-libunwind was not specifically set, pick a default setting.
14045 if test x
$with_system_libunwind = x
; then
14047 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14048 *) with_system_libunwind
=no
;;
14051 # Based on system-libunwind and target, do we have ipinfo?
14052 if test x
$with_system_libunwind = xyes
; then
14054 ia64-
*-*) have_unwind_getipinfo
=no
;;
14055 *) have_unwind_getipinfo
=yes ;;
14058 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14061 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14062 *) have_unwind_getipinfo
=yes ;;
14067 if test x
$have_unwind_getipinfo = xyes
; then
14069 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14074 # Check whether --enable-sjlj-exceptions was given.
14075 if test "${enable_sjlj_exceptions+set}" = set; then :
14076 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14078 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14081 enable_sjlj_exceptions
=auto
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14086 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14087 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14088 $as_echo_n "(cached) " >&6
14090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14094 void clean (int *);
14097 int i __attribute__ ((cleanup (clean)));
14102 CFLAGS_hold
=$CFLAGS
14103 CFLAGS
="--save-temps -fexceptions"
14104 libgo_cv_lib_sjlj_exceptions
=unknown
14105 if ac_fn_c_try_compile
; then :
14106 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14107 libgo_cv_lib_sjlj_exceptions
=yes
14108 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14109 libgo_cv_lib_sjlj_exceptions
=no
14112 CFLAGS
=$CFLAGS_hold
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14117 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14119 if test "$enable_sjlj_exceptions" = "auto"; then
14120 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14123 case $enable_sjlj_exceptions in
14126 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14132 as_fn_error
"unable to detect exception model" "$LINENO" 5
14136 for ac_header
in sys
/mman.h syscall.h sys
/epoll.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h
14138 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14139 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14140 eval as_val
=\$
$as_ac_Header
14141 if test "x$as_val" = x
""yes; then :
14142 cat >>confdefs.h
<<_ACEOF
14143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14150 if test "$ac_cv_header_sys_mman_h" = yes; then
14151 HAVE_SYS_MMAN_H_TRUE
=
14152 HAVE_SYS_MMAN_H_FALSE
='#'
14154 HAVE_SYS_MMAN_H_TRUE
='#'
14155 HAVE_SYS_MMAN_H_FALSE
=
14159 for ac_func
in srandom random strerror_r strsignal wait4
14161 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14162 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14163 eval as_val
=\$
$as_ac_var
14164 if test "x$as_val" = x
""yes; then :
14165 cat >>confdefs.h
<<_ACEOF
14166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14172 if test "$ac_cv_func_strerror_r" = yes; then
14173 HAVE_STRERROR_R_TRUE
=
14174 HAVE_STRERROR_R_FALSE
='#'
14176 HAVE_STRERROR_R_TRUE
='#'
14177 HAVE_STRERROR_R_FALSE
=
14180 if test "$ac_cv_func_wait4" = yes; then
14182 HAVE_WAIT4_FALSE
='#'
14184 HAVE_WAIT4_TRUE
='#'
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14190 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14191 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14192 $as_echo_n "(cached) " >&6
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14199 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14202 if ac_fn_c_try_link
"$LINENO"; then :
14203 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14205 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14207 rm -f core conftest.err conftest.
$ac_objext \
14208 conftest
$ac_exeext conftest.
$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14211 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14212 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14214 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14219 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14220 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14221 $as_echo_n "(cached) " >&6
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14228 int main() { return __sync_fetch_and_add (&i, 1); }
14231 if ac_fn_c_try_link
"$LINENO"; then :
14232 libgo_cv_func___sync_fetch_and_add_4
=yes
14234 libgo_cv_func___sync_fetch_and_add_4
=no
14236 rm -f core conftest.err conftest.
$ac_objext \
14237 conftest
$ac_exeext conftest.
$ac_ext
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14240 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14241 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14243 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14248 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14249 if test "${libgo_cv_c_stringops+set}" = set; then :
14250 $as_echo_n "(cached) " >&6
14252 CFLAGS_hold
=$CFLAGS
14253 CFLAGS
="$CFLAGS -minline-all-stringops"
14254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14258 if ac_fn_c_try_compile
"$LINENO"; then :
14259 libgo_cv_c_stringops
=yes
14261 libgo_cv_c_stringops
=no
14263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14264 CFLAGS
=$CFLAGS_hold
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14267 $as_echo "$libgo_cv_c_stringops" >&6; }
14269 if test "$libgo_cv_c_stringops" = yes; then
14270 STRINGOPS_FLAG
=-minline-all-stringops
14274 CFLAGS_hold
=$CFLAGS
14275 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14276 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14277 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14279 cat >>confdefs.h
<<_ACEOF
14280 #define HAVE_OFF64_T 1
14286 CFLAGS
=$CFLAGS_hold
14288 cat >confcache
<<\_ACEOF
14289 # This file is a shell script that caches the results of configure
14290 # tests run on this system so they can be shared between configure
14291 # scripts and configure runs, see configure's option --config-cache.
14292 # It is not useful on other systems. If it contains results you don't
14293 # want to keep, you may remove or edit it.
14295 # config.status only pays attention to the cache file if you give it
14296 # the --recheck option to rerun configure.
14298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14300 # following values.
14304 # The following way of writing the cache mishandles newlines in values,
14305 # but we know of no workaround that is simple, portable, and efficient.
14306 # So, we kill variables containing newlines.
14307 # Ultrix sh set writes to stderr and can't be redirected directly,
14308 # and sets the high bit in the cache file unless we assign to the vars.
14310 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14311 eval ac_val
=\$
$ac_var
14315 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14316 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14319 _ | IFS | as_nl
) ;; #(
14320 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14321 *) { eval $ac_var=; unset $ac_var;} ;;
14327 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14328 *${as_nl}ac_space
=\
*)
14329 # `set' does not quote correctly, so add quotes: double-quote
14330 # substitution turns \\\\ into \\, and sed turns \\ into \.
14333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14336 # `set' quotes correctly as required by POSIX, so do not add quotes.
14337 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14346 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14348 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14350 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14351 if test -w "$cache_file"; then
14352 test "x$cache_file" != "x/dev/null" &&
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14354 $as_echo "$as_me: updating cache $cache_file" >&6;}
14355 cat confcache
>$cache_file
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14358 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14363 if test ${multilib} = yes; then
14364 multilib_arg
="--enable-multilib"
14369 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
14372 ac_config_commands
="$ac_config_commands default"
14375 cat >confcache
<<\_ACEOF
14376 # This file is a shell script that caches the results of configure
14377 # tests run on this system so they can be shared between configure
14378 # scripts and configure runs, see configure's option --config-cache.
14379 # It is not useful on other systems. If it contains results you don't
14380 # want to keep, you may remove or edit it.
14382 # config.status only pays attention to the cache file if you give it
14383 # the --recheck option to rerun configure.
14385 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14386 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14387 # following values.
14391 # The following way of writing the cache mishandles newlines in values,
14392 # but we know of no workaround that is simple, portable, and efficient.
14393 # So, we kill variables containing newlines.
14394 # Ultrix sh set writes to stderr and can't be redirected directly,
14395 # and sets the high bit in the cache file unless we assign to the vars.
14397 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14398 eval ac_val
=\$
$ac_var
14402 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14406 _ | IFS | as_nl
) ;; #(
14407 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14408 *) { eval $ac_var=; unset $ac_var;} ;;
14414 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14415 *${as_nl}ac_space
=\
*)
14416 # `set' does not quote correctly, so add quotes: double-quote
14417 # substitution turns \\\\ into \\, and sed turns \\ into \.
14420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14423 # `set' quotes correctly as required by POSIX, so do not add quotes.
14424 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14435 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14437 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14438 if test -w "$cache_file"; then
14439 test "x$cache_file" != "x/dev/null" &&
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14441 $as_echo "$as_me: updating cache $cache_file" >&6;}
14442 cat confcache
>$cache_file
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14445 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14450 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14451 # Let make expand exec_prefix.
14452 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14454 DEFS
=-DHAVE_CONFIG_H
14458 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14459 # 1. Remove the extension, and $U if already installed.
14460 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14461 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14462 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14463 # will be set to the directory where LIBOBJS objects are built.
14464 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14465 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14467 LIBOBJS
=$ac_libobjs
14469 LTLIBOBJS
=$ac_ltlibobjs
14472 if test -n "$EXEEXT"; then
14474 am__EXEEXT_FALSE
='#'
14476 am__EXEEXT_TRUE
='#'
14480 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14481 as_fn_error
"conditional \"AMDEP\" was never defined.
14482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14484 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14485 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14488 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14489 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14492 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
14493 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
14494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14496 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
14497 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
14498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14500 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
14501 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
14502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14504 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
14505 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
14506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14508 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
14509 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
14510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14512 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
14513 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
14514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14516 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
14517 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
14518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14520 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
14521 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
14522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14524 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
14525 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
14526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14528 if test -z "${LIBGO_IS_MIPS64_TRUE}" && test -z "${LIBGO_IS_MIPS64_FALSE}"; then
14529 as_fn_error
"conditional \"LIBGO_IS_MIPS64\" was never defined.
14530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14532 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
14533 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
14534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14536 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
14537 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
14538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14540 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
14541 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
14542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14544 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
14545 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
14546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14548 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
14549 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
14550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14552 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
14553 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
14554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14557 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
14558 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
14559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14561 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
14562 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
14563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14565 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
14566 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
14567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14570 : ${CONFIG_STATUS=./config.status}
14572 ac_clean_files_save
=$ac_clean_files
14573 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14575 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14577 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14579 # Generated by $as_me.
14580 # Run this file to recreate the current configuration.
14581 # Compiler output produced by configure, useful for debugging
14582 # configure, is in config.log if it exists.
14585 ac_cs_recheck=false
14588 SHELL=\${CONFIG_SHELL-$SHELL}
14591 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14592 ## -------------------- ##
14593 ## M4sh Initialization. ##
14594 ## -------------------- ##
14596 # Be more Bourne compatible
14597 DUALCASE
=1; export DUALCASE
# for MKS sh
14598 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14601 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14602 # is contrary to our usage. Disable this feature.
14603 alias -g '${1+"$@"}'='"$@"'
14604 setopt NO_GLOB_SUBST
14606 case `(set -o) 2>/dev/null` in #(
14618 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14619 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14622 # Prefer a ksh shell builtin over an external printf program on Solaris,
14623 # but without wasting forks for bash or zsh.
14624 if test -z "$BASH_VERSION$ZSH_VERSION" \
14625 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14626 as_echo='print
-r --'
14627 as_echo_n='print
-rn --'
14628 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14629 as_echo='printf %s
\n'
14630 as_echo_n='printf %s
'
14632 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14633 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14634 as_echo_n='/usr
/ucb
/echo -n'
14636 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14637 as_echo_n_body='eval
14641 expr "X$arg" : "X\\(.*\\)$as_nl";
14642 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14644 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14646 export as_echo_n_body
14647 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14649 export as_echo_body
14650 as_echo='sh
-c $as_echo_body as_echo
'
14653 # The user is always right.
14654 if test "${PATH_SEPARATOR+set}" != set; then
14656 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14657 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14664 # We need space, tab and new line, in precisely that order. Quoting is
14665 # there to prevent editors from complaining about space-tab.
14666 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14667 # splitting by setting IFS to empty value.)
14670 # Find who we are. Look in the path if we contain no directory separator.
14672 *[\\/]* ) as_myself=$0 ;;
14673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14674 for as_dir in $PATH
14677 test -z "$as_dir" && as_dir=.
14678 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14684 # We did not find ourselves, most probably we were run as `sh COMMAND'
14685 # in which case we are not to be found in the path.
14686 if test "x$as_myself" = x
; then
14689 if test ! -f "$as_myself"; then
14690 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14694 # Unset variables that we do not need and which cause bugs (e.g. in
14695 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14696 # suppresses any "Segmentation fault" message there. '((' could
14697 # trigger a bug in pdksh 5.2.14.
14698 for as_var
in BASH_ENV ENV MAIL MAILPATH
14699 do eval test x\
${$as_var+set} = xset \
14700 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14713 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14716 # as_fn_error ERROR [LINENO LOG_FD]
14717 # ---------------------------------
14718 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14719 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14720 # script with status $?, using 1 if that was 0.
14723 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14725 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14726 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14728 $as_echo "$as_me: error: $1" >&2
14729 as_fn_exit
$as_status
14733 # as_fn_set_status STATUS
14734 # -----------------------
14735 # Set $? to STATUS, without forking.
14736 as_fn_set_status
()
14739 } # as_fn_set_status
14741 # as_fn_exit STATUS
14742 # -----------------
14743 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14747 as_fn_set_status
$1
14753 # Portably unset VAR.
14756 { eval $1=; unset $1;}
14758 as_unset
=as_fn_unset
14759 # as_fn_append VAR VALUE
14760 # ----------------------
14761 # Append the text in VALUE to the end of the definition contained in VAR. Take
14762 # advantage of any shell optimizations that allow amortized linear growth over
14763 # repeated appends, instead of the typical quadratic growth present in naive
14765 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14766 eval 'as_fn_append ()
14777 # as_fn_arith ARG...
14778 # ------------------
14779 # Perform arithmetic evaluation on the ARGs, and store the result in the
14780 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14781 # must be portable across $(()) and expr.
14782 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14783 eval 'as_fn_arith ()
14790 as_val
=`expr "$@" || test $? -eq 1`
14795 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14796 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14802 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14803 as_basename
=basename
14808 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14814 as_me
=`$as_basename -- "$0" ||
14815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14816 X"$0" : 'X\(//\)$' \| \
14817 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14819 sed '/^.*\/\([^/][^/]*\)\/*$/{
14833 # Avoid depending upon Character Ranges.
14834 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14835 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14836 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14837 as_cr_digits
='0123456789'
14838 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14840 ECHO_C
= ECHO_N
= ECHO_T
=
14841 case `echo -n x` in #(((((
14843 case `echo 'xy\c'` in
14844 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14846 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14853 rm -f conf$$ conf$$.exe conf$$.
file
14854 if test -d conf$$.dir
; then
14855 rm -f conf$$.dir
/conf$$.
file
14858 mkdir conf$$.dir
2>/dev
/null
14860 if (echo >conf$$.
file) 2>/dev
/null
; then
14861 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14863 # ... but there are two gotchas:
14864 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14865 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14866 # In both cases, we have to default to `cp -p'.
14867 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14869 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14877 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14878 rmdir conf$$.dir
2>/dev
/null
14883 # Create "$as_dir" as a directory, including parents if necessary.
14888 -*) as_dir
=.
/$as_dir;;
14890 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14894 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14895 *) as_qdir
=$as_dir;;
14897 as_dirs
="'$as_qdir' $as_dirs"
14898 as_dir
=`$as_dirname -- "$as_dir" ||
14899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14900 X"$as_dir" : 'X\(//\)[^/]' \| \
14901 X"$as_dir" : 'X\(//\)$' \| \
14902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14903 $as_echo X"$as_dir" |
14904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14908 /^X\(\/\/\)[^/].*/{
14921 test -d "$as_dir" && break
14923 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14924 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14928 if mkdir
-p .
2>/dev
/null
; then
14929 as_mkdir_p
='mkdir -p "$as_dir"'
14931 test -d .
/-p && rmdir .
/-p
14935 if test -x / >/dev
/null
2>&1; then
14936 as_test_x
='test -x'
14938 if ls -dL / >/dev
/null
2>&1; then
14945 if test -d "$1"; then
14951 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14952 ???[sx]*):;;*)false;;esac;fi
14956 as_executable_p
=$as_test_x
14958 # Sed expression to map a string onto a valid CPP name.
14959 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14961 # Sed expression to map a string onto a valid variable name.
14962 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14966 ## ----------------------------------- ##
14967 ## Main body of $CONFIG_STATUS script. ##
14968 ## ----------------------------------- ##
14970 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14973 # Save the log message, to keep $0 and so on meaningful, and to
14974 # report actual input values of CONFIG_FILES etc. instead of their
14975 # values after options handling.
14977 This file was extended by package-unused $as_me version-unused, which was
14978 generated by GNU Autoconf 2.64. Invocation command line was
14980 CONFIG_FILES = $CONFIG_FILES
14981 CONFIG_HEADERS = $CONFIG_HEADERS
14982 CONFIG_LINKS = $CONFIG_LINKS
14983 CONFIG_COMMANDS = $CONFIG_COMMANDS
14986 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14991 case $ac_config_files in *"
14992 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14995 case $ac_config_headers in *"
14996 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15001 # Files that config.status was made for.
15002 config_files="$ac_config_files"
15003 config_headers="$ac_config_headers"
15004 config_commands="$ac_config_commands"
15008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15010 \`$as_me' instantiates files and other configuration actions
15011 from templates according to the current configuration. Unless the files
15012 and actions are specified as TAGs, all are instantiated by default.
15014 Usage: $0 [OPTION]... [TAG]...
15016 -h, --help print this help, then exit
15017 -V, --version print version number and configuration settings, then exit
15018 -q, --quiet, --silent
15019 do not print progress messages
15020 -d, --debug don't remove temporary files
15021 --recheck update $as_me by reconfiguring in the same conditions
15022 --file=FILE[:TEMPLATE]
15023 instantiate the configuration file FILE
15024 --header=FILE[:TEMPLATE]
15025 instantiate the configuration header FILE
15027 Configuration files:
15030 Configuration headers:
15033 Configuration commands:
15036 Report bugs to the package provider."
15039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15041 package-unused config.status version-unused
15042 configured by $0, generated by GNU Autoconf 2.64,
15043 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15045 Copyright (C) 2009 Free Software Foundation, Inc.
15046 This config.status script is free software; the Free Software Foundation
15047 gives unlimited permission to copy, distribute and modify it."
15054 test -n "\$AWK" || AWK=awk
15057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15058 # The default lists apply if the user does not specify any file.
15064 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15065 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15076 # Handling of the options.
15077 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15079 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15080 $as_echo "$ac_cs_version"; exit ;;
15081 --debug |
--debu |
--deb |
--de |
--d |
-d )
15083 --file |
--fil |
--fi |
--f )
15086 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15088 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15089 ac_need_defaults
=false
;;
15090 --header |
--heade |
--head |
--hea )
15093 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15095 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15096 ac_need_defaults
=false
;;
15098 # Conflict between --help and --header
15099 as_fn_error
"ambiguous option: \`$1'
15100 Try \`$0 --help' for more information.";;
15101 --help |
--hel |
-h )
15102 $as_echo "$ac_cs_usage"; exit ;;
15103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15104 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15107 # This is an error.
15108 -*) as_fn_error
"unrecognized option: \`$1'
15109 Try \`$0 --help' for more information." ;;
15111 *) as_fn_append ac_config_targets
" $1"
15112 ac_need_defaults
=false
;;
15118 ac_configure_extra_args
=
15120 if $ac_cs_silent; then
15122 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15127 if \$ac_cs_recheck; then
15128 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15130 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15131 CONFIG_SHELL='$SHELL'
15132 export CONFIG_SHELL
15137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15141 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15142 ## Running $as_me. ##
15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15156 with_multisubdir="$with_multisubdir"
15157 with_multisrctop="$with_multisrctop"
15158 with_target_subdir="$with_target_subdir"
15159 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15160 multi_basedir="$multi_basedir"
15161 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15164 GFORTRAN="$GFORTRAN"
15166 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15169 # The HP-UX ksh and POSIX shell print the target directory to stdout
15170 # if CDPATH is set.
15171 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15173 sed_quote_subst='$sed_quote_subst'
15174 double_quote_subst='$double_quote_subst'
15175 delay_variable_subst='$delay_variable_subst'
15176 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15177 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15178 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15179 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15180 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15181 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15182 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15183 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15184 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15185 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15186 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15187 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15188 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15189 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15190 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15191 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15192 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15193 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15194 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15195 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15196 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15197 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15198 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15199 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15200 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15201 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15202 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15203 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15204 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15205 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15206 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15207 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15208 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15209 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15210 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15211 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15212 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15213 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15214 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15215 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15216 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15217 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15218 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15219 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15220 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15221 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15222 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15223 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15224 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"`'
15225 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15226 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15227 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15228 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15229 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15230 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15231 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15232 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15233 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15234 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15235 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15236 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15237 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15238 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15239 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15240 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15241 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15242 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15243 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15244 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15245 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15246 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15247 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15248 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15249 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15250 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15251 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15252 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15253 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15254 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15255 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15256 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15257 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15258 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15259 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15260 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15261 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15262 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15263 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15264 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15265 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15266 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15267 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15268 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15269 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15270 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15271 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15272 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15273 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15274 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15275 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15276 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15277 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15278 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15279 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15280 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15281 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15282 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15283 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15284 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15285 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15286 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15287 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15288 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15289 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15290 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15291 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15292 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15293 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15294 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15295 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15296 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
15297 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
15298 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
15299 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15300 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
15301 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
15302 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
15303 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
15304 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
15305 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
15306 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
15307 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
15308 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
15309 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15310 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15311 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
15312 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
15313 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
15314 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15315 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15316 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
15317 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15318 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
15319 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15320 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15321 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15322 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
15323 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
15324 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
15325 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
15326 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
15327 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
15328 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
15329 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
15330 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
15331 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
15332 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
15333 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
15334 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15335 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15336 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
15337 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
15338 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
15341 LTCFLAGS='$LTCFLAGS'
15342 compiler='$compiler_DEFAULT'
15344 # A function that is used when there is no print builtin or printf.
15345 func_fallback_echo ()
15347 eval 'cat <<_LTECHO_EOF
15352 # Quote evaled strings.
15366 deplibs_check_method \
15375 lt_cv_sys_global_symbol_pipe \
15376 lt_cv_sys_global_symbol_to_cdecl \
15377 lt_cv_sys_global_symbol_to_c_name_address \
15378 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15379 lt_prog_compiler_no_builtin_flag \
15380 lt_prog_compiler_wl \
15381 lt_prog_compiler_pic \
15382 lt_prog_compiler_static \
15383 lt_cv_prog_compiler_c_o \
15391 export_dynamic_flag_spec \
15392 whole_archive_flag_spec \
15393 compiler_needs_object \
15395 allow_undefined_flag \
15396 no_undefined_flag \
15397 hardcode_libdir_flag_spec \
15398 hardcode_libdir_flag_spec_ld \
15399 hardcode_libdir_separator \
15404 variables_saved_for_relink \
15406 library_names_spec \
15408 install_override_mode \
15415 lt_prog_compiler_no_builtin_flag_GO \
15416 lt_prog_compiler_wl_GO \
15417 lt_prog_compiler_pic_GO \
15418 lt_prog_compiler_static_GO \
15419 lt_cv_prog_compiler_c_o_GO \
15420 export_dynamic_flag_spec_GO \
15421 whole_archive_flag_spec_GO \
15422 compiler_needs_object_GO \
15424 allow_undefined_flag_GO \
15425 no_undefined_flag_GO \
15426 hardcode_libdir_flag_spec_GO \
15427 hardcode_libdir_flag_spec_ld_GO \
15428 hardcode_libdir_separator_GO \
15429 fix_srcfile_path_GO \
15430 exclude_expsyms_GO \
15431 include_expsyms_GO \
15432 file_list_spec_GO; do
15433 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15434 *[\\\\\\\`\\"\\\$]*)
15435 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15438 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15443 # Double-quote double-evaled strings.
15444 for var in reload_cmds \
15445 old_postinstall_cmds \
15446 old_postuninstall_cmds \
15448 extract_expsyms_cmds \
15449 old_archive_from_new_cmds \
15450 old_archive_from_expsyms_cmds \
15452 archive_expsym_cmds \
15454 module_expsym_cmds \
15455 export_symbols_cmds \
15458 postuninstall_cmds \
15460 sys_lib_search_path_spec \
15461 sys_lib_dlsearch_path_spec \
15463 old_archive_cmds_GO \
15464 old_archive_from_new_cmds_GO \
15465 old_archive_from_expsyms_cmds_GO \
15467 archive_expsym_cmds_GO \
15469 module_expsym_cmds_GO \
15470 export_symbols_cmds_GO \
15471 prelink_cmds_GO; do
15472 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15473 *[\\\\\\\`\\"\\\$]*)
15474 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15477 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15482 ac_aux_dir='$ac_aux_dir'
15483 xsi_shell='$xsi_shell'
15484 lt_shell_append='$lt_shell_append'
15486 # See if we are running on zsh, and set the options which allow our
15487 # commands through without removal of \ escapes INIT.
15488 if test -n "\${ZSH_VERSION+set}" ; then
15489 setopt NO_GLOB_SUBST
15495 TIMESTAMP='$TIMESTAMP'
15504 # Variables needed in config.status (file generation) which aren't already
15505 # passed by autoconf.
15511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15513 # Handling of arguments.
15514 for ac_config_target
in $ac_config_targets
15516 case $ac_config_target in
15517 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15518 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15519 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15520 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15521 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15522 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15523 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15525 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15530 # If the user did not use the arguments to specify the items to instantiate,
15531 # then the envvar interface is used. Set only those that are not.
15532 # We use the long form for the default assignment because of an extremely
15533 # bizarre bug on SunOS 4.1.3.
15534 if $ac_need_defaults; then
15535 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15536 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15537 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15540 # Have a temporary directory for convenience. Make it in the build tree
15541 # simply because there is no reason against having it here, and in addition,
15542 # creating and moving files from /tmp can sometimes cause problems.
15543 # Hook for its removal unless debugging.
15544 # Note that there is a small window in which the directory will not be cleaned:
15545 # after its creation but before its name has been assigned to `$tmp'.
15549 trap 'exit_status=$?
15550 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15552 trap 'as_fn_exit 1' 1 2 13 15
15554 # Create a (secure) tmp directory for tmp files.
15557 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15558 test -n "$tmp" && test -d "$tmp"
15561 tmp
=.
/conf$$
-$RANDOM
15562 (umask 077 && mkdir
"$tmp")
15563 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15565 # Set up the scripts for CONFIG_FILES section.
15566 # No need to generate them if there are no CONFIG_FILES.
15567 # This happens for instance with `./config.status config.h'.
15568 if test -n "$CONFIG_FILES"; then
15571 ac_cr
=`echo X | tr X '\015'`
15572 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15573 # But we know of no other shell where ac_cr would be empty at this
15574 # point, so we can use a bashism as a fallback.
15575 if test "x$ac_cr" = x
; then
15576 eval ac_cr
=\$
\'\\r
\'
15578 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15579 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15582 ac_cs_awk_cr
=$ac_cr
15585 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15590 echo "cat >conf$$subs.awk <<_ACEOF" &&
15591 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15593 } >conf$$subs.sh ||
15594 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15595 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15597 for ac_last_try in false false false false false :; do
15598 . ./conf$$subs.sh ||
15599 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15601 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15602 if test $ac_delim_n = $ac_delim_num; then
15604 elif $ac_last_try; then
15605 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15607 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15610 rm -f conf$$subs.sh
15612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15613 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15617 s/^/S["/; s
/!.
*/"]=/
15627 s/\(.\{148\}\).*/\1/
15629 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15634 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15641 s/\(.\{148\}\).*/\1/
15643 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15647 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15652 ' <conf$$subs.awk | sed '
15657 ' >>$CONFIG_STATUS || ac_write_fail=1
15658 rm -f conf$$subs.awk
15659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15661 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15662 for (key in S) S_is_set[key] = 1
15668 nfields = split(line, field, "@
")
15670 len = length(field[1])
15671 for (i = 2; i < nfields; i++) {
15673 keylen = length(key)
15674 if (S_is_set[key]) {
15676 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15677 len += length(value) + length(field[++i])
15688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15689 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15690 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15693 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15694 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15697 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15698 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15699 # trailing colons and then remove the whole line if VPATH becomes empty
15700 # (actually we leave an empty line to preserve line numbers).
15701 if test "x
$srcdir" = x.; then
15702 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15703 s/:*\$(srcdir):*/:/
15704 s/:*\${srcdir}:*/:/
15706 s/^\([^=]*=[ ]*\):*/\1/
15712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15713 fi # test -n "$CONFIG_FILES"
15715 # Set up the scripts for CONFIG_HEADERS section.
15716 # No need to generate them if there are no CONFIG_HEADERS.
15717 # This happens for instance with `./config.status Makefile'.
15718 if test -n "$CONFIG_HEADERS"; then
15719 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15723 # Transform confdefs.h into an awk script `defines.awk', embedded as
15724 # here-document in config.status, that substitutes the proper values into
15725 # config.h.in to produce config.h.
15727 # Create a delimiter string that does not exist in confdefs.h, to ease
15728 # handling of long lines.
15730 for ac_last_try in false false :; do
15731 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15732 if test -z "$ac_t"; then
15734 elif $ac_last_try; then
15735 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15737 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15741 # For the awk script, D is an array of macro values keyed by name,
15742 # likewise P contains macro parameters if any. Preserve backslash
15743 # newline sequences.
15745 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15747 s/.\{148\}/&'"$ac_delim"'/g
15750 s/^[ ]*#[ ]*define[ ][ ]*/ /
15757 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15759 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15763 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15764 D["\
1"]=" \
3\\\\\\n
"\\/p
15766 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15771 s/.\{148\}/&'"$ac_delim"'/g
15776 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15779 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15781 ' <confdefs.h | sed '
15782 s/'"$ac_delim"'/"\\\
15783 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15786 for (key in D) D_is_set[key] = 1
15789 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15791 split(line, arg, " ")
15792 if (arg[1] == "#") {
15796 defundef
= substr
(arg
[1], 2)
15799 split(mac1
, mac2
, "(") #)
15801 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15802 if (D_is_set
[macro
]) {
15803 # Preserve the white space surrounding the "#".
15804 print prefix
"define", macro P
[macro
] D
[macro
]
15807 # Replace #undef with comments. This is necessary, for example,
15808 # in the case of _POSIX_SOURCE, which is predefined and required
15809 # on some systems where configure will not decide to define it.
15810 if (defundef
== "undef") {
15811 print
"/*", prefix defundef
, macro
, "*/"
15819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15820 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15821 fi # test -n "$CONFIG_HEADERS"
15824 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15829 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15831 case $ac_mode$ac_tag in
15833 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15834 :[FH
]-) ac_tag
=-:-;;
15835 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15852 -) ac_f
="$tmp/stdin";;
15853 *) # Look for the file first in the build tree, then in the source tree
15854 # (if the path is not absolute). The absolute path cannot be DOS-style,
15855 # because $ac_f cannot contain `:'.
15859 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15861 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15863 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15864 as_fn_append ac_file_inputs
" '$ac_f'"
15867 # Let's still pretend it is `configure' which instantiates (i.e., don't
15868 # use $as_me), people would be surprised to read:
15869 # /* config.h. Generated by config.status. */
15870 configure_input
='Generated from '`
15871 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15873 if test x
"$ac_file" != x-
; then
15874 configure_input
="$ac_file. $configure_input"
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15876 $as_echo "$as_me: creating $ac_file" >&6;}
15878 # Neutralize special characters interpreted by sed in replacement strings.
15879 case $configure_input in #(
15880 *\
&* |
*\|
* |
*\\* )
15881 ac_sed_conf_input
=`$as_echo "$configure_input" |
15882 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15883 *) ac_sed_conf_input
=$configure_input;;
15887 *:-:* |
*:-) cat >"$tmp/stdin" \
15888 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15893 ac_dir
=`$as_dirname -- "$ac_file" ||
15894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15895 X"$ac_file" : 'X\(//\)[^/]' \| \
15896 X"$ac_file" : 'X\(//\)$' \| \
15897 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15898 $as_echo X"$ac_file" |
15899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15903 /^X\(\/\/\)[^/].*/{
15916 as_dir
="$ac_dir"; as_fn_mkdir_p
15920 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15922 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15923 # A ".." for each directory in $ac_dir_suffix.
15924 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15925 case $ac_top_builddir_sub in
15926 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15927 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15930 ac_abs_top_builddir
=$ac_pwd
15931 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15932 # for backward compatibility:
15933 ac_top_builddir
=$ac_top_build_prefix
15936 .
) # We are building in place.
15938 ac_top_srcdir
=$ac_top_builddir_sub
15939 ac_abs_top_srcdir
=$ac_pwd ;;
15940 [\\/]* | ?
:[\\/]* ) # Absolute name.
15941 ac_srcdir
=$srcdir$ac_dir_suffix;
15942 ac_top_srcdir
=$srcdir
15943 ac_abs_top_srcdir
=$srcdir ;;
15944 *) # Relative name.
15945 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15946 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15947 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15949 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15959 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15960 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15962 ac_MKDIR_P
=$MKDIR_P
15964 [\\/$
]* | ?
:[\\/]* ) ;;
15965 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15970 # If the template does not know about datarootdir, expand it.
15971 # FIXME: This hack should be removed a few years after 2.60.
15972 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15983 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15984 *datarootdir
*) ac_datarootdir_seen
=yes;;
15985 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15987 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15990 ac_datarootdir_hack='
15991 s&@datadir@&$datadir&g
15992 s&@docdir@&$docdir&g
15993 s&@infodir@&$infodir&g
15994 s&@localedir@&$localedir&g
15995 s&@mandir@&$mandir&g
15996 s&\\\${datarootdir}&$datarootdir&g' ;;
16000 # Neutralize VPATH when `$srcdir' = `.'.
16001 # Shell code in configure.ac might set extrasub.
16002 # FIXME: do we really want to maintain this feature?
16003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16004 ac_sed_extra="$ac_vpsub
16007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16009 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16010 s|@configure_input@|
$ac_sed_conf_input|
;t t
16011 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16012 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16013 s
&@srcdir@
&$ac_srcdir&;t t
16014 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16015 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16016 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16017 s
&@builddir@
&$ac_builddir&;t t
16018 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16019 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16020 s
&@INSTALL@
&$ac_INSTALL&;t t
16021 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16022 $ac_datarootdir_hack
16024 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16025 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16027 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16028 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16029 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16031 which seems to be undefined. Please make sure it is defined." >&5
16032 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16033 which seems to be undefined. Please make sure it is defined." >&2;}
16037 -) cat "$tmp/out" && rm -f "$tmp/out";;
16038 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16040 || as_fn_error "could not create $ac_file" "$LINENO" 5
16046 if test x"$ac_file" != x-; then
16048 $as_echo "/* $configure_input */" \
16049 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16050 } >"$tmp/config.h" \
16051 || as_fn_error "could not create $ac_file" "$LINENO" 5
16052 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16054 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16057 mv "$tmp/config.h" "$ac_file" \
16058 || as_fn_error "could not create $ac_file" "$LINENO" 5
16061 $as_echo "/* $configure_input */" \
16062 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16063 || as_fn_error "could not create -" "$LINENO" 5
16065 # Compute "$ac_file"'s index
in $config_headers.
16068 for _am_header
in $config_headers :; do
16069 case $_am_header in
16070 $_am_arg |
$_am_arg:* )
16073 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16076 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16077 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16078 X"$_am_arg" : 'X\(//\)[^/]' \| \
16079 X"$_am_arg" : 'X\(//\)$' \| \
16080 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16081 $as_echo X"$_am_arg" |
16082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16086 /^X\(\/\/\)[^/].*/{
16098 s/.*/./; q'`/stamp-h
$_am_stamp_count
16101 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16102 $as_echo "$as_me: executing $ac_file commands" >&6;}
16107 case $ac_file$ac_mode in
16109 # Only add multilib support code if we just rebuilt the top-level
16111 case " $CONFIG_FILES " in
16113 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16116 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16117 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16118 # are listed without --file. Let's play safe and only enable the eval
16119 # if we detect the quoting.
16120 case $CONFIG_FILES in
16121 *\'*) eval set x
"$CONFIG_FILES" ;;
16122 *) set x
$CONFIG_FILES ;;
16127 # Strip MF so we end up with the name of the file.
16128 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16129 # Check whether this is an Automake generated Makefile or not.
16130 # We used to match only the files named `Makefile.in', but
16131 # some people rename them; so instead we look at the file content.
16132 # Grep'ing the first line is not enough: some people post-process
16133 # each Makefile.in and add a new line on top of each file to say so.
16134 # Grep'ing the whole file is not good either: AIX grep has a line
16135 # limit of 2048, but all sed's we know have understand at least 4000.
16136 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16137 dirpart
=`$as_dirname -- "$mf" ||
16138 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16139 X"$mf" : 'X\(//\)[^/]' \| \
16140 X"$mf" : 'X\(//\)$' \| \
16141 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16147 /^X\(\/\/\)[^/].*/{
16163 # Extract the definition of DEPDIR, am__include, and am__quote
16164 # from the Makefile without running `make'.
16165 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16166 test -z "$DEPDIR" && continue
16167 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16168 test -z "am__include" && continue
16169 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16170 # When using ansi2knr, U may be empty or an underscore; expand it
16171 U
=`sed -n 's/^U = //p' < "$mf"`
16172 # Find all dependency output files, they are included files with
16173 # $(DEPDIR) in their names. We invoke sed twice because it is the
16174 # simplest approach to changing $(DEPDIR) to its actual value in the
16176 for file in `sed -n "
16177 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16178 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16179 # Make sure the directory exists.
16180 test -f "$dirpart/$file" && continue
16181 fdir
=`$as_dirname -- "$file" ||
16182 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16183 X"$file" : 'X\(//\)[^/]' \| \
16184 X"$file" : 'X\(//\)$' \| \
16185 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16186 $as_echo X"$file" |
16187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16191 /^X\(\/\/\)[^/].*/{
16204 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16205 # echo "creating $dirpart/$file"
16206 echo '# dummy' > "$dirpart/$file"
16213 # See if we are running on zsh, and set the options which allow our
16214 # commands through without removal of \ escapes.
16215 if test -n "${ZSH_VERSION+set}" ; then
16216 setopt NO_GLOB_SUBST
16219 cfgfile
="${ofile}T"
16220 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16223 cat <<_LT_EOF >> "$cfgfile"
16226 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16227 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16228 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16229 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16231 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16232 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16233 # Written by Gordon Matzigkeit, 1996
16235 # This file is part of GNU Libtool.
16237 # GNU Libtool is free software; you can redistribute it and/or
16238 # modify it under the terms of the GNU General Public License as
16239 # published by the Free Software Foundation; either version 2 of
16240 # the License, or (at your option) any later version.
16242 # As a special exception to the GNU General Public License,
16243 # if you distribute this file as part of a program or library that
16244 # is built using GNU Libtool, you may include this file under the
16245 # same distribution terms that you use for the rest of that program.
16247 # GNU Libtool is distributed in the hope that it will be useful,
16248 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16249 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16250 # GNU General Public License for more details.
16252 # You should have received a copy of the GNU General Public License
16253 # along with GNU Libtool; see the file COPYING. If not, a copy
16254 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16255 # obtained by writing to the Free Software Foundation, Inc.,
16256 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16259 # The names of the tagged configurations supported by this script.
16260 available_tags="GO "
16262 # ### BEGIN LIBTOOL CONFIG
16264 # A sed program that does not truncate output.
16267 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16268 Xsed="\$SED -e 1s/^X//"
16270 # A grep program that handles long lines.
16276 # A literal string matcher.
16279 # Shell to use when invoking shell scripts.
16282 # An echo program that protects backslashes.
16285 # Which release of libtool.m4 was used?
16286 macro_version=$macro_version
16287 macro_revision=$macro_revision
16289 # Whether or not to build shared libraries.
16290 build_libtool_libs=$enable_shared
16292 # Whether or not to build static libraries.
16293 build_old_libs=$enable_static
16295 # What type of objects to build.
16298 # Whether or not to optimize for fast installation.
16299 fast_install=$enable_fast_install
16302 host_alias=$host_alias
16306 # The build system.
16307 build_alias=$build_alias
16311 # A BSD- or MS-compatible name lister.
16314 # Whether we need soft or hard links.
16317 # What is the maximum length of a command?
16318 max_cmd_len=$max_cmd_len
16320 # Object file suffix (normally "o").
16323 # Executable file suffix (normally "").
16326 # whether the shell understands "unset".
16329 # turn spaces into newlines.
16332 # turn newlines into spaces.
16335 # An object symbol dumper.
16336 OBJDUMP=$lt_OBJDUMP
16338 # Method to check whether dependent libraries are shared objects.
16339 deplibs_check_method=$lt_deplibs_check_method
16341 # Command to use when deplibs_check_method == "file_magic".
16342 file_magic_cmd=$lt_file_magic_cmd
16346 AR_FLAGS=$lt_AR_FLAGS
16348 # A symbol stripping program.
16351 # Commands used to install an old-style archive.
16353 old_postinstall_cmds=$lt_old_postinstall_cmds
16354 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16356 # Whether to use a lock for old archive extraction.
16357 lock_old_archive_extraction=$lock_old_archive_extraction
16362 # LTCC compiler flags.
16363 LTCFLAGS=$lt_CFLAGS
16365 # Take the output of nm and produce a listing of raw symbols and C names.
16366 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16368 # Transform the output of nm in a proper C declaration.
16369 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16371 # Transform the output of nm in a C name address pair.
16372 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16374 # Transform the output of nm in a C name address pair when lib prefix is needed.
16375 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16377 # The name of the directory that contains temporary libtool files.
16380 # Used to examine libraries when file_magic_cmd begins with "file".
16381 MAGIC_CMD=$MAGIC_CMD
16383 # Must we lock files when doing compilation?
16384 need_locks=$lt_need_locks
16386 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16387 DSYMUTIL=$lt_DSYMUTIL
16389 # Tool to change global to local symbols on Mac OS X.
16392 # Tool to manipulate fat objects and archives on Mac OS X.
16395 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16398 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16399 OTOOL64=$lt_OTOOL64
16401 # Old archive suffix (normally "a").
16404 # Shared library suffix (normally ".so").
16405 shrext_cmds=$lt_shrext_cmds
16407 # The commands to extract the exported symbol list from a shared archive.
16408 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16410 # Variables whose values should be saved in libtool wrapper scripts and
16411 # restored at link time.
16412 variables_saved_for_relink=$lt_variables_saved_for_relink
16414 # Do we need the "lib" prefix for modules?
16415 need_lib_prefix=$need_lib_prefix
16417 # Do we need a version for libraries?
16418 need_version=$need_version
16420 # Library versioning type.
16421 version_type=$version_type
16423 # Shared library runtime path variable.
16424 runpath_var=$runpath_var
16426 # Shared library path variable.
16427 shlibpath_var=$shlibpath_var
16429 # Is shlibpath searched before the hard-coded library search path?
16430 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16432 # Format of library name prefix.
16433 libname_spec=$lt_libname_spec
16435 # List of archive names. First name is the real one, the rest are links.
16436 # The last name is the one that the linker finds with -lNAME
16437 library_names_spec=$lt_library_names_spec
16439 # The coded name of the library, if different from the real name.
16440 soname_spec=$lt_soname_spec
16442 # Permission mode override for installation of shared libraries.
16443 install_override_mode=$lt_install_override_mode
16445 # Command to use after installation of a shared archive.
16446 postinstall_cmds=$lt_postinstall_cmds
16448 # Command to use after uninstallation of a shared archive.
16449 postuninstall_cmds=$lt_postuninstall_cmds
16451 # Commands used to finish a libtool library installation in a directory.
16452 finish_cmds=$lt_finish_cmds
16454 # As "finish_cmds", except a single script fragment to be evaled but
16456 finish_eval=$lt_finish_eval
16458 # Whether we should hardcode library paths into libraries.
16459 hardcode_into_libs=$hardcode_into_libs
16461 # Compile-time system search path for libraries.
16462 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16464 # Run-time system search path for libraries.
16465 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16467 # Whether dlopen is supported.
16468 dlopen_support=$enable_dlopen
16470 # Whether dlopen of programs is supported.
16471 dlopen_self=$enable_dlopen_self
16473 # Whether dlopen of statically linked programs is supported.
16474 dlopen_self_static=$enable_dlopen_self_static
16476 # Commands to strip libraries.
16477 old_striplib=$lt_old_striplib
16478 striplib=$lt_striplib
16481 # The linker used to build libraries.
16484 # How to create reloadable object files.
16485 reload_flag=$lt_reload_flag
16486 reload_cmds=$lt_reload_cmds
16488 # Commands used to build an old-style archive.
16489 old_archive_cmds=$lt_old_archive_cmds
16491 # A language specific compiler.
16494 # Is the compiler the GNU compiler?
16497 # Compiler flag to turn off builtin functions.
16498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16500 # How to pass a linker flag through the compiler.
16501 wl=$lt_lt_prog_compiler_wl
16503 # Additional compiler flags for building library objects.
16504 pic_flag=$lt_lt_prog_compiler_pic
16506 # Compiler flag to prevent dynamic linking.
16507 link_static_flag=$lt_lt_prog_compiler_static
16509 # Does compiler simultaneously support -c and -o options?
16510 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16512 # Whether or not to add -lc for building shared libraries.
16513 build_libtool_need_lc=$archive_cmds_need_lc
16515 # Whether or not to disallow shared libs when runtime libs are static.
16516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16518 # Compiler flag to allow reflexive dlopens.
16519 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16521 # Compiler flag to generate shared objects directly from archives.
16522 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16524 # Whether the compiler copes with passing no objects directly.
16525 compiler_needs_object=$lt_compiler_needs_object
16527 # Create an old-style archive from a shared archive.
16528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16530 # Create a temporary old-style archive to link instead of a shared archive.
16531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16533 # Commands used to build a shared archive.
16534 archive_cmds=$lt_archive_cmds
16535 archive_expsym_cmds=$lt_archive_expsym_cmds
16537 # Commands used to build a loadable module if different from building
16538 # a shared archive.
16539 module_cmds=$lt_module_cmds
16540 module_expsym_cmds=$lt_module_expsym_cmds
16542 # Whether we are building with GNU ld or not.
16543 with_gnu_ld=$lt_with_gnu_ld
16545 # Flag that allows shared libraries with undefined symbols to be built.
16546 allow_undefined_flag=$lt_allow_undefined_flag
16548 # Flag that enforces no undefined symbols.
16549 no_undefined_flag=$lt_no_undefined_flag
16551 # Flag to hardcode \$libdir into a binary during linking.
16552 # This must work even if \$libdir does not exist
16553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16555 # If ld is used when linking, flag to hardcode \$libdir into a binary
16556 # during linking. This must work even if \$libdir does not exist.
16557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16559 # Whether we need a single "-rpath" flag with a separated argument.
16560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16562 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16563 # DIR into the resulting binary.
16564 hardcode_direct=$hardcode_direct
16566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16567 # DIR into the resulting binary and the resulting library dependency is
16568 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16569 # library is relocated.
16570 hardcode_direct_absolute=$hardcode_direct_absolute
16572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16573 # into the resulting binary.
16574 hardcode_minus_L=$hardcode_minus_L
16576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16577 # into the resulting binary.
16578 hardcode_shlibpath_var=$hardcode_shlibpath_var
16580 # Set to "yes" if building a shared library automatically hardcodes DIR
16581 # into the library and all subsequent libraries and executables linked
16583 hardcode_automatic=$hardcode_automatic
16585 # Set to yes if linker adds runtime paths of dependent libraries
16586 # to runtime path list.
16587 inherit_rpath=$inherit_rpath
16589 # Whether libtool must link a program against all its dependency libraries.
16590 link_all_deplibs=$link_all_deplibs
16592 # Fix the shell variable \$srcfile for the compiler.
16593 fix_srcfile_path=$lt_fix_srcfile_path
16595 # Set to "yes" if exported symbols are required.
16596 always_export_symbols=$always_export_symbols
16598 # The commands to list exported symbols.
16599 export_symbols_cmds=$lt_export_symbols_cmds
16601 # Symbols that should not be listed in the preloaded symbols.
16602 exclude_expsyms=$lt_exclude_expsyms
16604 # Symbols that must always be exported.
16605 include_expsyms=$lt_include_expsyms
16607 # Commands necessary for linking programs (against libraries) with templates.
16608 prelink_cmds=$lt_prelink_cmds
16610 # Specify filename containing input files.
16611 file_list_spec=$lt_file_list_spec
16613 # How to hardcode a shared library path into an executable.
16614 hardcode_action=$hardcode_action
16616 # ### END LIBTOOL CONFIG
16622 cat <<\_LT_EOF
>> "$cfgfile"
16623 # AIX sometimes has problems with the GCC collect2 program. For some
16624 # reason, if we set the COLLECT_NAMES environment variable, the problems
16625 # vanish in a puff of smoke.
16626 if test "X${COLLECT_NAMES+set}" != Xset
; then
16628 export COLLECT_NAMES
16635 ltmain
="$ac_aux_dir/ltmain.sh"
16638 # We use sed instead of cat because bash on DJGPP gets confused if
16639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16640 # text mode, it properly converts lines to CR/LF. This bash problem
16641 # is reportedly fixed, but why not run on old versions too?
16642 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16643 ||
(rm -f "$cfgfile"; exit 1)
16647 cat << \_LT_EOF
>> "$cfgfile"
16649 # func_dirname file append nondir_replacement
16650 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16651 # otherwise set result to NONDIR_REPLACEMENT.
16655 */*) func_dirname_result
="${1%/*}${2}" ;;
16656 * ) func_dirname_result
="${3}" ;;
16660 # func_basename file
16663 func_basename_result
="${1##*/}"
16666 # func_dirname_and_basename file append nondir_replacement
16667 # perform func_basename and func_dirname in a single function
16669 # dirname: Compute the dirname of FILE. If nonempty,
16670 # add APPEND to the result, otherwise set result
16671 # to NONDIR_REPLACEMENT.
16672 # value returned in "$func_dirname_result"
16673 # basename: Compute filename of FILE.
16674 # value retuned in "$func_basename_result"
16675 # Implementation must be kept synchronized with func_dirname
16676 # and func_basename. For efficiency, we do not delegate to
16677 # those functions but instead duplicate the functionality here.
16678 func_dirname_and_basename
()
16681 */*) func_dirname_result
="${1%/*}${2}" ;;
16682 * ) func_dirname_result
="${3}" ;;
16684 func_basename_result
="${1##*/}"
16687 # func_stripname prefix suffix name
16688 # strip PREFIX and SUFFIX off of NAME.
16689 # PREFIX and SUFFIX must not contain globbing or regex special
16690 # characters, hashes, percent signs, but SUFFIX may contain a leading
16691 # dot (in which case that matches only a dot).
16694 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16695 # positional parameters, so assign one to ordinary parameter first.
16696 func_stripname_result
=${3}
16697 func_stripname_result
=${func_stripname_result#"${1}"}
16698 func_stripname_result
=${func_stripname_result%"${2}"}
16704 func_opt_split_opt
=${1%%=*}
16705 func_opt_split_arg
=${1#*=}
16712 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16713 *) func_lo2o_result
=${1} ;;
16717 # func_xform libobj-or-source
16720 func_xform_result
=${1%.*}.lo
16723 # func_arith arithmetic-term...
16726 func_arith_result
=$
(( $
* ))
16730 # STRING may not start with a hyphen.
16733 func_len_result
=${#1}
16738 *) # Bourne compatible functions.
16739 cat << \_LT_EOF
>> "$cfgfile"
16741 # func_dirname file append nondir_replacement
16742 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16743 # otherwise set result to NONDIR_REPLACEMENT.
16746 # Extract subdirectory from the argument.
16747 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16748 if test "X$func_dirname_result" = "X${1}"; then
16749 func_dirname_result
="${3}"
16751 func_dirname_result
="$func_dirname_result${2}"
16755 # func_basename file
16758 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16762 # func_stripname prefix suffix name
16763 # strip PREFIX and SUFFIX off of NAME.
16764 # PREFIX and SUFFIX must not contain globbing or regex special
16765 # characters, hashes, percent signs, but SUFFIX may contain a leading
16766 # dot (in which case that matches only a dot).
16767 # func_strip_suffix prefix name
16771 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16772 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16777 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16778 my_sed_long_arg
='1s/^-[^=]*=//'
16783 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16784 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16790 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16793 # func_xform libobj-or-source
16796 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16799 # func_arith arithmetic-term...
16802 func_arith_result
=`expr "$@"`
16806 # STRING may not start with a hyphen.
16809 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16815 case $lt_shell_append in
16817 cat << \_LT_EOF
>> "$cfgfile"
16819 # func_append var value
16820 # Append VALUE to the end of shell variable VAR.
16828 cat << \_LT_EOF
>> "$cfgfile"
16830 # func_append var value
16831 # Append VALUE to the end of shell variable VAR.
16842 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16843 ||
(rm -f "$cfgfile"; exit 1)
16845 mv -f "$cfgfile" "$ofile" ||
16846 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16850 cat <<_LT_EOF >> "$ofile"
16852 # ### BEGIN LIBTOOL TAG CONFIG: GO
16854 # The linker used to build libraries.
16857 # How to create reloadable object files.
16858 reload_flag=$lt_reload_flag_GO
16859 reload_cmds=$lt_reload_cmds_GO
16861 # Commands used to build an old-style archive.
16862 old_archive_cmds=$lt_old_archive_cmds_GO
16864 # A language specific compiler.
16867 # Is the compiler the GNU compiler?
16870 # Compiler flag to turn off builtin functions.
16871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
16873 # How to pass a linker flag through the compiler.
16874 wl=$lt_lt_prog_compiler_wl_GO
16876 # Additional compiler flags for building library objects.
16877 pic_flag=$lt_lt_prog_compiler_pic_GO
16879 # Compiler flag to prevent dynamic linking.
16880 link_static_flag=$lt_lt_prog_compiler_static_GO
16882 # Does compiler simultaneously support -c and -o options?
16883 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
16885 # Whether or not to add -lc for building shared libraries.
16886 build_libtool_need_lc=$archive_cmds_need_lc_GO
16888 # Whether or not to disallow shared libs when runtime libs are static.
16889 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
16891 # Compiler flag to allow reflexive dlopens.
16892 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
16894 # Compiler flag to generate shared objects directly from archives.
16895 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
16897 # Whether the compiler copes with passing no objects directly.
16898 compiler_needs_object=$lt_compiler_needs_object_GO
16900 # Create an old-style archive from a shared archive.
16901 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
16903 # Create a temporary old-style archive to link instead of a shared archive.
16904 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
16906 # Commands used to build a shared archive.
16907 archive_cmds=$lt_archive_cmds_GO
16908 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
16910 # Commands used to build a loadable module if different from building
16911 # a shared archive.
16912 module_cmds=$lt_module_cmds_GO
16913 module_expsym_cmds=$lt_module_expsym_cmds_GO
16915 # Whether we are building with GNU ld or not.
16916 with_gnu_ld=$lt_with_gnu_ld_GO
16918 # Flag that allows shared libraries with undefined symbols to be built.
16919 allow_undefined_flag=$lt_allow_undefined_flag_GO
16921 # Flag that enforces no undefined symbols.
16922 no_undefined_flag=$lt_no_undefined_flag_GO
16924 # Flag to hardcode \$libdir into a binary during linking.
16925 # This must work even if \$libdir does not exist
16926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
16928 # If ld is used when linking, flag to hardcode \$libdir into a binary
16929 # during linking. This must work even if \$libdir does not exist.
16930 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
16932 # Whether we need a single "-rpath" flag with a separated argument.
16933 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
16935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16936 # DIR into the resulting binary.
16937 hardcode_direct=$hardcode_direct_GO
16939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16940 # DIR into the resulting binary and the resulting library dependency is
16941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16942 # library is relocated.
16943 hardcode_direct_absolute=$hardcode_direct_absolute_GO
16945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16946 # into the resulting binary.
16947 hardcode_minus_L=$hardcode_minus_L_GO
16949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16950 # into the resulting binary.
16951 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
16953 # Set to "yes" if building a shared library automatically hardcodes DIR
16954 # into the library and all subsequent libraries and executables linked
16956 hardcode_automatic=$hardcode_automatic_GO
16958 # Set to yes if linker adds runtime paths of dependent libraries
16959 # to runtime path list.
16960 inherit_rpath=$inherit_rpath_GO
16962 # Whether libtool must link a program against all its dependency libraries.
16963 link_all_deplibs=$link_all_deplibs_GO
16965 # Fix the shell variable \$srcfile for the compiler.
16966 fix_srcfile_path=$lt_fix_srcfile_path_GO
16968 # Set to "yes" if exported symbols are required.
16969 always_export_symbols=$always_export_symbols_GO
16971 # The commands to list exported symbols.
16972 export_symbols_cmds=$lt_export_symbols_cmds_GO
16974 # Symbols that should not be listed in the preloaded symbols.
16975 exclude_expsyms=$lt_exclude_expsyms_GO
16977 # Symbols that must always be exported.
16978 include_expsyms=$lt_include_expsyms_GO
16980 # Commands necessary for linking programs (against libraries) with templates.
16981 prelink_cmds=$lt_prelink_cmds_GO
16983 # Specify filename containing input files.
16984 file_list_spec=$lt_file_list_spec_GO
16986 # How to hardcode a shared library path into an executable.
16987 hardcode_action=$hardcode_action_GO
16989 # ### END LIBTOOL TAG CONFIG: GO
16993 "default":C
) if test -n "$CONFIG_FILES"; then
16994 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
16995 # that multilib installs will end up installed in the correct place.
16996 # The testsuite needs it for multilib-aware ABI baseline files.
16997 # To work around this not being passed down from config-ml.in ->
16998 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
16999 # append it here. Only modify Makefiles that have just been created.
17001 # Also, get rid of this simulated-VPATH thing that automake does.
17002 cat > vpsed
<< \_EOF
17003 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17005 for i
in $SUBDIRS; do
17006 case $CONFIG_FILES in
17008 #echo "Adding MULTISUBDIR to $i/Makefile"
17009 sed -f vpsed
$i/Makefile
> tmp
17010 grep '^MULTISUBDIR =' Makefile
>> tmp
17025 ac_clean_files
=$ac_clean_files_save
17027 test $ac_write_fail = 0 ||
17028 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17031 # configure is writing to config.log, and then calls config.status.
17032 # config.status does its own redirection, appending to config.log.
17033 # Unfortunately, on DOS this fails, as config.log is still kept open
17034 # by configure, so config.status won't be able to write to it; its
17035 # output is simply discarded. So we exec the FD to /dev/null,
17036 # effectively closing config.log, so it can be properly (re)opened and
17037 # appended to by config.status. When coming back to configure, we
17038 # need to make the FD available again.
17039 if test "$no_create" != yes; then
17041 ac_config_status_args
=
17042 test "$silent" = yes &&
17043 ac_config_status_args
="$ac_config_status_args --quiet"
17045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17048 # would make configure fail if this is the last instruction.
17049 $ac_cs_success || as_fn_exit $?
17051 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17053 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}