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
620 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
621 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
623 LIBGO_IS_X86_64_FALSE
625 LIBGO_IS_SPARC64_FALSE
626 LIBGO_IS_SPARC64_TRUE
633 LIBGO_IS_MIPSO64_FALSE
634 LIBGO_IS_MIPSO64_TRUE
635 LIBGO_IS_MIPSN64_FALSE
636 LIBGO_IS_MIPSN64_TRUE
637 LIBGO_IS_MIPSN32_FALSE
638 LIBGO_IS_MIPSN32_TRUE
639 LIBGO_IS_MIPSO32_FALSE
640 LIBGO_IS_MIPSO32_TRUE
652 LIBGO_IS_SOLARIS_FALSE
653 LIBGO_IS_SOLARIS_TRUE
660 LIBGO_IS_FREEBSD_FALSE
661 LIBGO_IS_FREEBSD_TRUE
662 LIBGO_IS_DARWIN_FALSE
666 glibgo_toolexeclibdir
694 MAINTAINER_MODE_FALSE
722 INSTALL_STRIP_PROGRAM
778 program_transform_name
791 enable_option_checking
793 enable_dependency_tracking
794 enable_maintainer_mode
801 enable_version_specific_runtime_libs
803 with_system_libunwind
804 enable_sjlj_exceptions
806 ac_precious_vars
='build_alias
813 # Initialize some variables set by options.
815 ac_init_version
=false
816 ac_unrecognized_opts
=
818 # The variables have the same names as the options, with
819 # dashes changed to underlines.
827 program_transform_name
=s
,x
,x
,
835 # Installation directory options.
836 # These are left unexpanded so users can "make install exec_prefix=/foo"
837 # and all the variables that are supposed to be based on exec_prefix
838 # by default will actually change.
839 # Use braces instead of parens because sh, perl, etc. also accept them.
840 # (The list follows the same order as the GNU Coding Standards.)
841 bindir
='${exec_prefix}/bin'
842 sbindir
='${exec_prefix}/sbin'
843 libexecdir
='${exec_prefix}/libexec'
844 datarootdir
='${prefix}/share'
845 datadir
='${datarootdir}'
846 sysconfdir
='${prefix}/etc'
847 sharedstatedir
='${prefix}/com'
848 localstatedir
='${prefix}/var'
849 includedir
='${prefix}/include'
850 oldincludedir
='/usr/include'
851 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
852 infodir
='${datarootdir}/info'
857 libdir
='${exec_prefix}/lib'
858 localedir
='${datarootdir}/locale'
859 mandir
='${datarootdir}/man'
865 # If the previous option needs an argument, assign it.
866 if test -n "$ac_prev"; then
867 eval $ac_prev=\
$ac_option
873 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
877 # Accept the important Cygnus configure options, so we can diagnose typos.
879 case $ac_dashdash$ac_option in
883 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
885 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
888 -build |
--build |
--buil |
--bui |
--bu)
889 ac_prev
=build_alias
;;
890 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
891 build_alias
=$ac_optarg ;;
893 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
894 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
895 ac_prev
=cache_file
;;
896 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
897 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
898 cache_file
=$ac_optarg ;;
901 cache_file
=config.cache
;;
903 -datadir |
--datadir |
--datadi |
--datad)
905 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
906 datadir
=$ac_optarg ;;
908 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
909 |
--dataroo |
--dataro |
--datar)
910 ac_prev
=datarootdir
;;
911 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
912 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
913 datarootdir
=$ac_optarg ;;
915 -disable-* |
--disable-*)
916 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
919 as_fn_error
"invalid feature name: $ac_useropt"
920 ac_useropt_orig
=$ac_useropt
921 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
927 ac_unrecognized_sep
=', ';;
929 eval enable_
$ac_useropt=no
;;
931 -docdir |
--docdir |
--docdi |
--doc |
--do)
933 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
936 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
938 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
941 -enable-* |
--enable-*)
942 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
945 as_fn_error
"invalid feature name: $ac_useropt"
946 ac_useropt_orig
=$ac_useropt
947 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948 case $ac_user_opts in
952 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
953 ac_unrecognized_sep
=', ';;
955 eval enable_
$ac_useropt=\
$ac_optarg ;;
957 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
958 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
959 |
--exec |
--exe |
--ex)
960 ac_prev
=exec_prefix
;;
961 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
962 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
963 |
--exec=* |
--exe=* |
--ex=*)
964 exec_prefix
=$ac_optarg ;;
966 -gas |
--gas |
--ga |
--g)
967 # Obsolete; use --with-gas.
970 -help |
--help |
--hel |
--he |
-h)
972 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
973 ac_init_help
=recursive
;;
974 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
975 ac_init_help
=short
;;
977 -host |
--host |
--hos |
--ho)
978 ac_prev
=host_alias
;;
979 -host=* |
--host=* |
--hos=* |
--ho=*)
980 host_alias
=$ac_optarg ;;
982 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
984 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
986 htmldir
=$ac_optarg ;;
988 -includedir |
--includedir |
--includedi |
--included |
--include \
989 |
--includ |
--inclu |
--incl |
--inc)
990 ac_prev
=includedir
;;
991 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
992 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
993 includedir
=$ac_optarg ;;
995 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
997 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
998 infodir
=$ac_optarg ;;
1000 -libdir |
--libdir |
--libdi |
--libd)
1002 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1003 libdir
=$ac_optarg ;;
1005 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1006 |
--libexe |
--libex |
--libe)
1007 ac_prev
=libexecdir
;;
1008 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1009 |
--libexe=* |
--libex=* |
--libe=*)
1010 libexecdir
=$ac_optarg ;;
1012 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1013 ac_prev
=localedir
;;
1014 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1015 localedir
=$ac_optarg ;;
1017 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1018 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1019 ac_prev
=localstatedir
;;
1020 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1021 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1022 localstatedir
=$ac_optarg ;;
1024 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1026 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1027 mandir
=$ac_optarg ;;
1029 -nfp |
--nfp |
--nf)
1030 # Obsolete; use --without-fp.
1033 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1034 |
--no-cr |
--no-c |
-n)
1037 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1038 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1041 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1042 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1043 |
--oldin |
--oldi |
--old |
--ol |
--o)
1044 ac_prev
=oldincludedir
;;
1045 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1046 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1047 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1048 oldincludedir
=$ac_optarg ;;
1050 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1052 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1053 prefix
=$ac_optarg ;;
1055 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1056 |
--program-pre |
--program-pr |
--program-p)
1057 ac_prev
=program_prefix
;;
1058 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1059 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1060 program_prefix
=$ac_optarg ;;
1062 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1063 |
--program-suf |
--program-su |
--program-s)
1064 ac_prev
=program_suffix
;;
1065 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1066 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1067 program_suffix
=$ac_optarg ;;
1069 -program-transform-name |
--program-transform-name \
1070 |
--program-transform-nam |
--program-transform-na \
1071 |
--program-transform-n |
--program-transform- \
1072 |
--program-transform |
--program-transfor \
1073 |
--program-transfo |
--program-transf \
1074 |
--program-trans |
--program-tran \
1075 |
--progr-tra |
--program-tr |
--program-t)
1076 ac_prev
=program_transform_name
;;
1077 -program-transform-name=* |
--program-transform-name=* \
1078 |
--program-transform-nam=* |
--program-transform-na=* \
1079 |
--program-transform-n=* |
--program-transform-=* \
1080 |
--program-transform=* |
--program-transfor=* \
1081 |
--program-transfo=* |
--program-transf=* \
1082 |
--program-trans=* |
--program-tran=* \
1083 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1084 program_transform_name
=$ac_optarg ;;
1086 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1088 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1089 pdfdir
=$ac_optarg ;;
1091 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1093 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1096 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1097 |
-silent |
--silent |
--silen |
--sile |
--sil)
1100 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1102 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1104 sbindir
=$ac_optarg ;;
1106 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1107 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1108 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1110 ac_prev
=sharedstatedir
;;
1111 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1112 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1113 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1115 sharedstatedir
=$ac_optarg ;;
1117 -site |
--site |
--sit)
1119 -site=* |
--site=* |
--sit=*)
1122 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1124 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1125 srcdir
=$ac_optarg ;;
1127 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1128 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1129 ac_prev
=sysconfdir
;;
1130 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1131 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1132 sysconfdir
=$ac_optarg ;;
1134 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1135 ac_prev
=target_alias
;;
1136 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1137 target_alias
=$ac_optarg ;;
1139 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1142 -version |
--version |
--versio |
--versi |
--vers |
-V)
1143 ac_init_version
=: ;;
1146 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1149 as_fn_error
"invalid package name: $ac_useropt"
1150 ac_useropt_orig
=$ac_useropt
1151 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1156 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1157 ac_unrecognized_sep
=', ';;
1159 eval with_
$ac_useropt=\
$ac_optarg ;;
1161 -without-* |
--without-*)
1162 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1165 as_fn_error
"invalid package name: $ac_useropt"
1166 ac_useropt_orig
=$ac_useropt
1167 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1173 ac_unrecognized_sep
=', ';;
1175 eval with_
$ac_useropt=no
;;
1178 # Obsolete; use --with-x.
1181 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1182 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1183 ac_prev
=x_includes
;;
1184 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1185 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1186 x_includes
=$ac_optarg ;;
1188 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1189 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1190 ac_prev
=x_libraries
;;
1191 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1192 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1193 x_libraries
=$ac_optarg ;;
1195 -*) as_fn_error
"unrecognized option: \`$ac_option'
1196 Try \`$0 --help' for more information."
1200 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1201 # Reject names that are not valid shell variable names.
1202 case $ac_envvar in #(
1203 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1204 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1206 eval $ac_envvar=\
$ac_optarg
1207 export $ac_envvar ;;
1210 # FIXME: should be removed in autoconf 3.0.
1211 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1212 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1213 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1214 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1220 if test -n "$ac_prev"; then
1221 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1222 as_fn_error
"missing argument to $ac_option"
1225 if test -n "$ac_unrecognized_opts"; then
1226 case $enable_option_checking in
1228 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1229 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1233 # Check all directory arguments for consistency.
1234 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1235 datadir sysconfdir sharedstatedir localstatedir includedir \
1236 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1237 libdir localedir mandir
1239 eval ac_val
=\$
$ac_var
1240 # Remove trailing slashes.
1243 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1244 eval $ac_var=\
$ac_val;;
1246 # Be sure to have absolute directory names.
1248 [\\/$
]* | ?
:[\\/]* ) continue;;
1249 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1251 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1254 # There might be people who depend on the old broken behavior: `$host'
1255 # used to hold the argument of --host etc.
1256 # FIXME: To remove some day.
1259 target
=$target_alias
1261 # FIXME: To remove some day.
1262 if test "x$host_alias" != x
; then
1263 if test "x$build_alias" = x
; then
1264 cross_compiling
=maybe
1265 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1266 If a cross compiler is detected then cross compile mode will be used." >&2
1267 elif test "x$build_alias" != "x$host_alias"; then
1273 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1275 test "$silent" = yes && exec 6>/dev
/null
1278 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1279 ac_ls_di
=`ls -di .` &&
1280 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1281 as_fn_error
"working directory cannot be determined"
1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283 as_fn_error
"pwd does not report name of working directory"
1286 # Find the source files, if location was not specified.
1287 if test -z "$srcdir"; then
1288 ac_srcdir_defaulted
=yes
1289 # Try the directory containing this script, then the parent directory.
1290 ac_confdir
=`$as_dirname -- "$as_myself" ||
1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292 X"$as_myself" : 'X\(//\)[^/]' \| \
1293 X"$as_myself" : 'X\(//\)$' \| \
1294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295 $as_echo X"$as_myself" |
1296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1318 ac_srcdir_defaulted
=no
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1322 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1324 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1328 # When building in place, set srcdir=.
1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
1332 # Remove unnecessary trailing slashes from srcdir.
1333 # Double slashes in file names in object file debugging info
1334 # mess up M-x gdb in Emacs.
1336 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338 for ac_var
in $ac_precious_vars; do
1339 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1340 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1341 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1342 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1346 # Report the --help message.
1348 if test "$ac_init_help" = "long"; then
1349 # Omit some internal or obsolete options to make the list less imposing.
1350 # This message is too long to be a string in the A/UX 3.1 sh.
1352 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1354 Usage: $0 [OPTION]... [VAR=VALUE]...
1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357 VAR=VALUE. See below for descriptions of some of the useful variables.
1359 Defaults for the options are specified in brackets.
1362 -h, --help display this help and exit
1363 --help=short display options specific to this package
1364 --help=recursive display the short help of all the included packages
1365 -V, --version display version information and exit
1366 -q, --quiet, --silent do not print \`checking...' messages
1367 --cache-file=FILE cache test results in FILE [disabled]
1368 -C, --config-cache alias for \`--cache-file=config.cache'
1369 -n, --no-create do not create output files
1370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372 Installation directories:
1373 --prefix=PREFIX install architecture-independent files in PREFIX
1374 [$ac_default_prefix]
1375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1378 By default, \`make install' will install all the files in
1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381 for instance \`--prefix=\$HOME'.
1383 For better control, use the options below.
1385 Fine tuning of the installation directories:
1386 --bindir=DIR user executables [EPREFIX/bin]
1387 --sbindir=DIR system admin executables [EPREFIX/sbin]
1388 --libexecdir=DIR program executables [EPREFIX/libexec]
1389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392 --libdir=DIR object code libraries [EPREFIX/lib]
1393 --includedir=DIR C header files [PREFIX/include]
1394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1397 --infodir=DIR info documentation [DATAROOTDIR/info]
1398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1399 --mandir=DIR man documentation [DATAROOTDIR/man]
1400 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1401 --htmldir=DIR html documentation [DOCDIR]
1402 --dvidir=DIR dvi documentation [DOCDIR]
1403 --pdfdir=DIR pdf documentation [DOCDIR]
1404 --psdir=DIR ps documentation [DOCDIR]
1410 --program-prefix=PREFIX prepend PREFIX to installed program names
1411 --program-suffix=SUFFIX append SUFFIX to installed program names
1412 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1415 --build=BUILD configure
for building on BUILD
[guessed
]
1416 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1417 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1421 if test -n "$ac_init_help"; then
1422 case $ac_init_help in
1423 short | recursive
) echo "Configuration of package-unused version-unused:";;
1428 --disable-option-checking ignore unrecognized
--enable/--with options
1429 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1430 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1431 --enable-multilib build many library versions
(default
)
1432 --disable-dependency-tracking speeds up one-time build
1433 --enable-dependency-tracking do not reject slow dependency extractors
1434 --enable-maintainer-mode enable make rules and dependencies not useful
1435 (and sometimes confusing
) to the casual installer
1436 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1437 --enable-static[=PKGS
] build static libraries
[default
=yes]
1438 --enable-fast-install[=PKGS
]
1439 optimize
for fast installation
[default
=yes]
1440 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1441 --enable-version-specific-runtime-libs
1442 Specify that runtime libraries should be installed
1443 in a compiler-specific directory
1444 --enable-sjlj-exceptions
1445 force use of builtin_setjmp
for exceptions
1448 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1449 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1450 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1451 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1453 --without-libffi don
't use libffi
1454 --with-system-libunwind use installed libunwind
1456 Some influential environment variables:
1457 CC C compiler command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460 nonstandard directory <lib dir>
1461 LIBS libraries to pass to the linker, e.g. -l<library>
1462 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1463 you have headers in a nonstandard directory <include dir>
1464 GOC Go compiler command
1465 GOCFLAGS Go compiler flags
1468 Use these variables to override the choices made by `configure' or to
help
1469 it to
find libraries and programs with nonstandard names
/locations.
1471 Report bugs to the package provider.
1476 if test "$ac_init_help" = "recursive"; then
1477 # If there are subdirs, report their specific --help.
1478 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1479 test -d "$ac_dir" ||
1480 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1485 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1487 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1488 # A ".." for each directory in $ac_dir_suffix.
1489 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1490 case $ac_top_builddir_sub in
1491 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1492 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1495 ac_abs_top_builddir
=$ac_pwd
1496 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1497 # for backward compatibility:
1498 ac_top_builddir
=$ac_top_build_prefix
1501 .
) # We are building in place.
1503 ac_top_srcdir
=$ac_top_builddir_sub
1504 ac_abs_top_srcdir
=$ac_pwd ;;
1505 [\\/]* | ?
:[\\/]* ) # Absolute name.
1506 ac_srcdir
=$srcdir$ac_dir_suffix;
1507 ac_top_srcdir
=$srcdir
1508 ac_abs_top_srcdir
=$srcdir ;;
1510 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1511 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1512 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1514 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1516 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1517 # Check for guested configure.
1518 if test -f "$ac_srcdir/configure.gnu"; then
1520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1521 elif test -f "$ac_srcdir/configure"; then
1523 $SHELL "$ac_srcdir/configure" --help=recursive
1525 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1531 test -n "$ac_init_help" && exit $ac_status
1532 if $ac_init_version; then
1534 package-unused configure version-unused
1535 generated by GNU Autoconf
2.64
1537 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1538 This configure
script is free software
; the Free Software Foundation
1539 gives unlimited permission to copy
, distribute and modify it.
1544 ## ------------------------ ##
1545 ## Autoconf initialization. ##
1546 ## ------------------------ ##
1548 # ac_fn_c_try_compile LINENO
1549 # --------------------------
1550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_c_try_compile
()
1553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1554 rm -f conftest.
$ac_objext
1555 if { { ac_try
="$ac_compile"
1557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_compile") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest.$ac_objext; then :
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584 } # ac_fn_c_try_compile
1586 # ac_fn_c_try_link LINENO
1587 # -----------------------
1588 # Try to link conftest.$ac_ext, and return whether this succeeded.
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 rm -f conftest.$ac_objext conftest$ac_exeext
1593 if { { ac_try="$ac_link"
1595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1596 *) ac_try_echo
=$ac_try;;
1598 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_link") 2>conftest.err
1602 if test -s conftest.err
; then
1603 grep -v '^ *+' conftest.err
>conftest.er1
1604 cat conftest.er1
>&5
1605 mv -f conftest.er1 conftest.err
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && {
1609 test -z "$ac_c_werror_flag" ||
1610 test ! -s conftest.err
1611 } && test -s conftest
$ac_exeext && {
1612 test "$cross_compiling" = yes ||
1613 $as_test_x conftest
$ac_exeext
1617 $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.
$ac_ext >&5
1622 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1623 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1624 # interfere with the next link command; also delete a directory that is
1625 # left behind by Apple's compiler. We do this before executing the actions.
1626 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1627 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1630 } # ac_fn_c_try_link
1632 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1633 # -------------------------------------------------------
1634 # Tests whether HEADER exists and can be compiled using the include files in
1635 # INCLUDES, setting the cache variable VAR accordingly.
1636 ac_fn_c_check_header_compile
()
1638 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1642 $as_echo_n "(cached) " >&6
1644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1649 if ac_fn_c_try_compile
"$LINENO"; then :
1654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1659 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1661 } # ac_fn_c_check_header_compile
1663 # ac_fn_c_try_cpp LINENO
1664 # ----------------------
1665 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1668 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1669 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1678 if test -s conftest.err; then
1679 grep -v '^ *+' conftest.err >conftest.er1
1680 cat conftest.er1 >&5
1681 mv -f conftest.er1 conftest.err
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } >/dev/null && {
1685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1686 test ! -s conftest.err
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1710 *) ac_try_echo
=$ac_try;;
1712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1718 { { case "(($ac_try" in
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_try") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; }; }; then :
1730 $as_echo "$as_me: program exited with status $ac_status" >&5
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=$ac_status
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742 # ac_fn_c_check_func LINENO FUNC VAR
1743 # ----------------------------------
1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1745 ac_fn_c_check_func ()
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1757 #define $2 innocuous_$2
1759 /* System header to define __stub macros and hopefully few prototypes,
1760 which can conflict with char $2 (); below.
1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1762 <limits.h> exists even on freestanding compilers. */
1765 # include <limits.h>
1767 # include <assert.h>
1772 /* Override any GCC internal prototype to avoid an error.
1773 Use char because int might match the return type of a GCC
1774 builtin and then its argument prototype would still apply. */
1779 /* The GNU C library defines this for functions which it implements
1780 to always fail with ENOSYS. Some functions are actually named
1781 something starting with __ and the normal name is an alias. */
1782 #if defined __stub_$2 || defined __stub___$2
1794 if ac_fn_c_try_link "$LINENO"; then :
1799 rm -f core conftest.err conftest.$ac_objext \
1800 conftest$ac_exeext conftest.$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 } # ac_fn_c_check_func
1809 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1810 # -------------------------------------------------------
1811 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1812 # the include files in INCLUDES and setting the cache variable VAR
1814 ac_fn_c_check_header_mongrel ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1821 $as_echo_n "(cached) " >&6
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1827 # Is the header compilable?
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1829 $as_echo_n "checking $2 usability... " >&6; }
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1835 if ac_fn_c_try_compile "$LINENO"; then :
1836 ac_header_compiler=yes
1838 ac_header_compiler=no
1840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1842 $as_echo "$ac_header_compiler" >&6; }
1844 # Is the header present?
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1846 $as_echo_n "checking $2 presence... " >&6; }
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1851 if ac_fn_c_try_cpp "$LINENO"; then :
1852 ac_header_preproc=yes
1854 ac_header_preproc=no
1856 rm -f conftest.err conftest.$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1858 $as_echo "$ac_header_preproc" >&6; }
1860 # So? What about this header?
1861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1864 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1866 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1870 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1872 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1874 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1876 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1878 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884 $as_echo_n "(cached) " >&6
1886 eval "$3=\$ac_header_compiler"
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894 } # ac_fn_c_check_header_mongrel
1896 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1897 # -------------------------------------------
1898 # Tests whether TYPE exists after having included INCLUDES, setting cache
1899 # variable VAR accordingly.
1900 ac_fn_c_check_type ()
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1906 $as_echo_n "(cached) " >&6
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1921 if ac_fn_c_try_compile "$LINENO"; then :
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1934 if ac_fn_c_try_compile "$LINENO"; then :
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 } # ac_fn_c_check_type
1949 cat >config.log <<_ACEOF
1950 This file contains any messages produced by compilers while
1951 running configure, to aid debugging if configure makes a mistake.
1953 It was created by package-unused $as_me version-unused, which was
1954 generated by GNU Autoconf 2.64. Invocation command line was
1966 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1967 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1968 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1969 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1970 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1972 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1973 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1975 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1976 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1977 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1978 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1979 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1980 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1981 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 test -z "$as_dir" && as_dir=.
1990 $as_echo "PATH: $as_dir"
2006 # Keep a trace of the command line.
2007 # Strip out --no-create and --no-recursion so they do not pile up.
2008 # Strip out --silent because we don't want to record it for future runs.
2009 # Also quote any args containing shell meta-characters.
2010 # Make two passes to allow for proper duplicate-argument suppression.
2014 ac_must_keep_next=false
2020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2022 | -silent | --silent | --silen | --sile | --sil)
2025 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2028 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2030 as_fn_append ac_configure_args1 " '$ac_arg'"
2031 if test $ac_must_keep_next = true; then
2032 ac_must_keep_next=false # Got value, back to normal.
2035 *=* | --config-cache | -C | -disable-* | --disable-* \
2036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2038 | -with-* | --with-* | -without-* | --without-* | --x)
2039 case "$ac_configure_args0 " in
2040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2043 -* ) ac_must_keep_next=true ;;
2046 as_fn_append ac_configure_args " '$ac_arg'"
2051 { ac_configure_args0=; unset ac_configure_args0;}
2052 { ac_configure_args1=; unset ac_configure_args1;}
2054 # When interrupted or exit'd, cleanup temporary files, and complete
2055 # config.log. We remove comments because anyway the quotes in there
2056 # would cause problems or look ugly.
2057 # WARNING: Use '\'' to represent an apostrophe within the trap.
2058 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2059 trap 'exit_status=$?
2060 # Save into config.log some information that might help in debugging.
2065 ## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##
2070 # The following way of writing the cache mishandles newlines in values,
2072 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2073 eval ac_val=\$$ac_var
2077 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2078 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2081 _ | IFS | as_nl) ;; #(
2082 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2083 *) { eval $ac_var=; unset $ac_var;} ;;
2088 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2089 *${as_nl}ac_space=\ *)
2091 "s/'\''/'\''\\\\'\'''\''/g;
2092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2095 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2103 ## ----------------- ##
2104 ## Output variables. ##
2105 ## ----------------- ##
2108 for ac_var in $ac_subst_vars
2110 eval ac_val=\$$ac_var
2112 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2114 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -n "$ac_subst_files"; then
2120 ## ------------------- ##
2121 ## File substitutions. ##
2122 ## ------------------- ##
2125 for ac_var in $ac_subst_files
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2136 if test -s confdefs.h; then
2146 test "$ac_signal" != 0 &&
2147 $as_echo "$as_me: caught signal $ac_signal"
2148 $as_echo "$as_me: exit $exit_status"
2150 rm -f core *.core core.conftest.* &&
2151 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2154 for ac_signal in 1 2 13 15; do
2155 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2160 rm -f -r conftest* confdefs.h
2162 $as_echo "/* confdefs.h */" > confdefs.h
2164 # Predefined preprocessor variables.
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_NAME "$PACKAGE_NAME"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_STRING "$PACKAGE_STRING"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_URL "$PACKAGE_URL"
2191 # Let the site file select an alternate cache file if it wants to.
2192 # Prefer an explicitly selected file to automatically selected ones.
2195 if test -n "$CONFIG_SITE"; then
2196 ac_site_file1=$CONFIG_SITE
2197 elif test "x$prefix" != xNONE; then
2198 ac_site_file1=$prefix/share/config.site
2199 ac_site_file2=$prefix/etc/config.site
2201 ac_site_file1=$ac_default_prefix/share/config.site
2202 ac_site_file2=$ac_default_prefix/etc/config.site
2204 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2206 test "x$ac_site_file" = xNONE && continue
2207 if test -r "$ac_site_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2209 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2210 sed 's/^/| /' "$ac_site_file" >&5
2215 if test -r "$cache_file"; then
2216 # Some versions of bash will fail to source /dev/null (special
2217 # files actually), so we avoid doing that.
2218 if test -f "$cache_file"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2220 $as_echo "$as_me: loading cache $cache_file" >&6;}
2222 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2223 *) . "./$cache_file";;
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2228 $as_echo "$as_me: creating cache $cache_file" >&6;}
2232 # Check that the precious variables saved in the cache have kept the same
2234 ac_cache_corrupted=false
2235 for ac_var in $ac_precious_vars; do
2236 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2237 eval ac_new_set=\$ac_env_${ac_var}_set
2238 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2239 eval ac_new_val=\$ac_env_${ac_var}_value
2240 case $ac_old_set,$ac_new_set in
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2243 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2244 ac_cache_corrupted=: ;;
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2247 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2248 ac_cache_corrupted=: ;;
2251 if test "x$ac_old_val" != "x$ac_new_val"; then
2252 # differences in whitespace do not lead to failure.
2253 ac_old_val_w=`echo x
$ac_old_val`
2254 ac_new_val_w=`echo x
$ac_new_val`
2255 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2257 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2258 ac_cache_corrupted=:
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2261 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2262 eval $ac_var=\$ac_old_val
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2265 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2267 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2270 # Pass precious variables to config.status.
2271 if test "$ac_new_set" = set; then
2273 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2274 *) ac_arg=$ac_var=$ac_new_val ;;
2276 case " $ac_configure_args " in
2277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2278 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2282 if $ac_cache_corrupted; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2286 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2287 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2289 ## -------------------- ##
2290 ## Main body of script. ##
2291 ## -------------------- ##
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2304 ac_config_headers="$ac_config_headers config.h"
2307 libtool_VERSION=1:0:0
2310 # Default to --enable-multilib
2311 # Check whether --enable-multilib was given.
2312 if test "${enable_multilib+set}" = set; then :
2313 enableval=$enable_multilib; case "$enableval" in
2314 yes) multilib=yes ;;
2316 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2323 # We may get other options which we leave undocumented:
2324 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2325 # See config-ml.in if you want the gory details.
2327 if test "$srcdir" = "."; then
2328 if test "$with_target_subdir" != "."; then
2329 multi_basedir="$srcdir/$with_multisrctop../.."
2331 multi_basedir="$srcdir/$with_multisrctop.."
2334 multi_basedir="$srcdir/.."
2338 # Even if the default multilib is not a cross compilation,
2339 # it may be that some of the other multilibs are.
2340 if test $cross_compiling = no && test $multilib = yes \
2341 && test "x${with_multisubdir}" != x ; then
2342 cross_compiling=maybe
2345 ac_config_commands="$ac_config_commands default-1"
2349 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2350 for ac_t in install-sh install.sh shtool; do
2351 if test -f "$ac_dir/$ac_t"; then
2353 ac_install_sh="$ac_aux_dir/$ac_t -c"
2358 if test -z "$ac_aux_dir"; then
2359 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2362 # These three variables are undocumented and unsupported,
2363 # and are intended to be withdrawn in a future Autoconf release.
2364 # They can cause serious problems if a builder's source tree is in a directory
2365 # whose full name contains unusual characters.
2366 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2367 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2368 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2371 # Make sure we can run config.sub.
2372 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2373 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2376 $as_echo_n "checking build system type... " >&6; }
2377 if test "${ac_cv_build+set}" = set; then :
2378 $as_echo_n "(cached) " >&6
2380 ac_build_alias=$build_alias
2381 test "x$ac_build_alias" = x &&
2382 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2383 test "x$ac_build_alias" = x &&
2384 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2385 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2386 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2390 $as_echo "$ac_cv_build" >&6; }
2391 case $ac_cv_build in
2393 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2396 ac_save_IFS=$IFS; IFS='-'
2402 # Remember, the first character of IFS is used to create $*,
2403 # except with old shells:
2406 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2410 $as_echo_n "checking host system type... " >&6; }
2411 if test "${ac_cv_host+set}" = set; then :
2412 $as_echo_n "(cached) " >&6
2414 if test "x$host_alias" = x; then
2415 ac_cv_host=$ac_cv_build
2417 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2418 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2423 $as_echo "$ac_cv_host" >&6; }
2426 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2429 ac_save_IFS=$IFS; IFS='-'
2435 # Remember, the first character of IFS is used to create $*,
2436 # except with old shells:
2439 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2443 $as_echo_n "checking target system type... " >&6; }
2444 if test "${ac_cv_target+set}" = set; then :
2445 $as_echo_n "(cached) " >&6
2447 if test "x$target_alias" = x; then
2448 ac_cv_target=$ac_cv_host
2450 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2451 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2456 $as_echo "$ac_cv_target" >&6; }
2457 case $ac_cv_target in
2459 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2461 target=$ac_cv_target
2462 ac_save_IFS=$IFS; IFS='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2475 # The aliases save the names the user supplied, while $host etc.
2476 # will get canonicalized.
2477 test -n "$target_alias" &&
2478 test "$program_prefix$program_suffix$program_transform_name" = \
2480 program_prefix=${target_alias}-
2482 target_alias=${target_alias-$host_alias}
2484 am__api_version='1.11'
2486 # Find a good install program. We prefer a C program (faster),
2487 # so one script is as good as another. But avoid the broken or
2488 # incompatible versions:
2489 # SysV /etc/install, /usr/sbin/install
2490 # SunOS /usr/etc/install
2491 # IRIX /sbin/install
2493 # AmigaOS /C/install, which installs bootblocks on floppy discs
2494 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2495 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2496 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2497 # OS/2's system install, which has a completely different semantic
2498 # ./install, which can be erroneously created by make from ./install.sh.
2499 # Reject install programs that cannot install multiple files.
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2501 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2502 if test -z "$INSTALL"; then
2503 if test "${ac_cv_path_install+set}" = set; then :
2504 $as_echo_n "(cached) " >&6
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 # Account for people who put trailing slashes in PATH elements.
2512 case $as_dir/ in #((
2513 ./ | .// | /[cC]/* | \
2514 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2515 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2518 # OSF1 and SCO ODT 3.0 have their own names for install.
2519 # Don't use installbsd from OSF since it installs stuff as root
2521 for ac_prog in ginstall scoinst install; do
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2524 if test $ac_prog = install &&
2525 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2526 # AIX install. It has an incompatible calling convention.
2528 elif test $ac_prog = install &&
2529 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2530 # program-specific install script used by HP pwplus--don't use.
2533 rm -rf conftest.one conftest.two conftest.dir
2534 echo one > conftest.one
2535 echo two > conftest.two
2537 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2538 test -s conftest.one && test -s conftest.two &&
2539 test -s conftest.dir/conftest.one &&
2540 test -s conftest.dir/conftest.two
2542 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2555 rm -rf conftest.one conftest.two conftest.dir
2558 if test "${ac_cv_path_install+set}" = set; then
2559 INSTALL=$ac_cv_path_install
2561 # As a last resort, use the slow shell script. Don't cache a
2562 # value for INSTALL within a source directory, because that will
2563 # break other packages using the cache if that directory is
2564 # removed, or if the value is a relative name.
2565 INSTALL=$ac_install_sh
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2569 $as_echo "$INSTALL" >&6; }
2571 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2572 # It thinks the first close brace ends the variable substitution.
2573 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2575 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2577 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2580 $as_echo_n "checking whether build environment is sane... " >&6; }
2583 echo timestamp > conftest.file
2584 # Reject unsafe characters in $srcdir or the absolute working directory
2585 # name. Accept space and tab only in the latter.
2589 *[\\\"\#\$\&\'\`$am_lf]*)
2590 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2593 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2594 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2597 # Do `set' in a subshell so we don't clobber the current shell's
2598 # arguments. Must try -L first in case configure is actually a
2599 # symlink; some systems play weird games with the mod time of symlinks
2600 # (eg FreeBSD returns the mod time of the symlink's containing
2603 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2604 if test "$*" = "X"; then
2606 set X
`ls -t "$srcdir/configure" conftest.file`
2609 if test "$*" != "X $srcdir/configure conftest.file" \
2610 && test "$*" != "X conftest.file $srcdir/configure"; then
2612 # If neither matched, then we have a broken ls. This can happen
2613 # if, for instance, CONFIG_SHELL is bash and it inherits a
2614 # broken ls alias from the environment. This has actually
2615 # happened. Such a system could not be considered "sane".
2616 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2617 alias in your environment" "$LINENO" 5
2620 test "$2" = conftest.
file
2626 as_fn_error
"newly created file is older than distributed files!
2627 Check your system clock" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2630 $as_echo "yes" >&6; }
2631 test "$program_prefix" != NONE
&&
2632 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2633 # Use a double $ so make ignores it.
2634 test "$program_suffix" != NONE
&&
2635 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2636 # Double any \ or $.
2637 # By default was `s,x,x', remove it if useless.
2638 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2639 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2641 # expand $ac_aux_dir to an absolute path
2642 am_aux_dir
=`cd $ac_aux_dir && pwd`
2644 if test x
"${MISSING+set}" != xset
; then
2647 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2649 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2652 # Use eval to expand $SHELL
2653 if eval "$MISSING --run true"; then
2654 am_missing_run
="$MISSING --run "
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2658 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2661 if test x
"${install_sh}" != xset
; then
2664 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2666 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2670 # Installed binaries are usually stripped using `strip' when the user
2671 # run `make install-strip'. However `strip' might not be the right
2672 # tool to use in cross-compilation environments, therefore Automake
2673 # will honor the `STRIP' environment variable to overrule this program.
2674 if test "$cross_compiling" != no
; then
2675 if test -n "$ac_tool_prefix"; then
2676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2677 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if test "${ac_cv_prog_STRIP+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$STRIP"; then
2684 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 STRIP
=$ac_cv_prog_STRIP
2704 if test -n "$STRIP"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2706 $as_echo "$STRIP" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2714 if test -z "$ac_cv_prog_STRIP"; then
2716 # Extract the first word of "strip", so it can be a program name with args.
2717 set dummy strip
; ac_word
=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$ac_ct_STRIP"; then
2724 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_prog_ac_ct_STRIP
="strip"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2744 if test -n "$ac_ct_STRIP"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2746 $as_echo "$ac_ct_STRIP" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2752 if test "x$ac_ct_STRIP" = x
; then
2755 case $cross_compiling:$ac_tool_warned in
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2759 ac_tool_warned
=yes ;;
2764 STRIP
="$ac_cv_prog_STRIP"
2768 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2771 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2772 if test -z "$MKDIR_P"; then
2773 if test "${ac_cv_path_mkdir+set}" = set; then :
2774 $as_echo_n "(cached) " >&6
2776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2780 test -z "$as_dir" && as_dir
=.
2781 for ac_prog
in mkdir gmkdir
; do
2782 for ac_exec_ext
in '' $ac_executable_extensions; do
2783 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2784 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2785 'mkdir (GNU coreutils) '* | \
2786 'mkdir (coreutils) '* | \
2787 'mkdir (fileutils) '4.1*)
2788 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2798 if test "${ac_cv_path_mkdir+set}" = set; then
2799 MKDIR_P
="$ac_cv_path_mkdir -p"
2801 # As a last resort, use the slow shell script. Don't cache a
2802 # value for MKDIR_P within a source directory, because that will
2803 # break other packages using the cache if that directory is
2804 # removed, or if the value is a relative name.
2805 test -d .
/--version && rmdir .
/--version
2806 MKDIR_P
="$ac_install_sh -d"
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2810 $as_echo "$MKDIR_P" >&6; }
2814 [\\/$
]* | ?
:[\\/]*) ;;
2815 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2818 for ac_prog
in gawk mawk nawk
awk
2820 # Extract the first word of "$ac_prog", so it can be a program name with args.
2821 set dummy
$ac_prog; ac_word
=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if test "${ac_cv_prog_AWK+set}" = set; then :
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$AWK"; then
2828 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir
=.
2835 for ac_exec_ext
in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 ac_cv_prog_AWK
="$ac_prog"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 if test -n "$AWK"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2850 $as_echo "$AWK" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2857 test -n "$AWK" && break
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2861 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2863 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2864 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2865 $as_echo_n "(cached) " >&6
2867 cat >conftest.
make <<\_ACEOF
2870 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2873 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2875 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2877 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2881 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2883 $as_echo "yes" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2888 SET_MAKE
="MAKE=${MAKE-make}"
2891 rm -rf .tst
2>/dev
/null
2892 mkdir .tst
2>/dev
/null
2893 if test -d .tst
; then
2898 rmdir .tst
2>/dev
/null
2900 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2901 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2902 # is not polluted with repeated "-I."
2903 am__isrc
=' -I$(srcdir)'
2904 # test to see if srcdir already configured
2905 if test -f $srcdir/config.status
; then
2906 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2910 # test whether we have cygpath
2911 if test -z "$CYGPATH_W"; then
2912 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2913 CYGPATH_W
='cygpath -w'
2920 # Define the identity of the package.
2922 VERSION
='version-unused'
2925 # Some tools Automake needs.
2927 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2930 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2933 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2936 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2939 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2941 # We need awk for the "check" target. The system "awk" is bad on
2943 # Always define AMTAR for backward compatibility.
2945 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2947 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2959 ac_cpp
='$CPP $CPPFLAGS'
2960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2963 if test -n "$ac_tool_prefix"; then
2964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2965 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if test "${ac_cv_prog_CC+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC
="$CC" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 if test -n "$CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994 $as_echo "$CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3002 if test -z "$ac_cv_prog_CC"; then
3004 # Extract the first word of "gcc", so it can be a program name with args.
3005 set dummy gcc
; ac_word
=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3009 $as_echo_n "(cached) " >&6
3011 if test -n "$ac_ct_CC"; then
3012 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir
=.
3019 for ac_exec_ext
in '' $ac_executable_extensions; do
3020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021 ac_cv_prog_ac_ct_CC
="gcc"
3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3032 if test -n "$ac_ct_CC"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3034 $as_echo "$ac_ct_CC" >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3040 if test "x$ac_ct_CC" = x
; then
3043 case $cross_compiling:$ac_tool_warned in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned
=yes ;;
3055 if test -z "$CC"; then
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3058 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if test "${ac_cv_prog_CC+set}" = set; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC
="$CC" # Let the user override the test.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir
=.
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3096 if test -z "$CC"; then
3097 # Extract the first word of "cc", so it can be a program name with args.
3098 set dummy cc
; ac_word
=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if test "${ac_cv_prog_CC+set}" = set; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$CC"; then
3105 ac_cv_prog_CC
="$CC" # Let the user override the test.
3108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir
=.
3113 for ac_exec_ext
in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3116 ac_prog_rejected
=yes
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 if test $ac_prog_rejected = yes; then
3128 # We found a bogon in the path, so make sure we never use it.
3129 set dummy
$ac_cv_prog_CC
3131 if test $# != 0; then
3132 # We chose a different compiler from the bogus one.
3133 # However, it has the same basename, so the bogon will be chosen
3134 # first if we set CC to just the basename; use the full file name.
3136 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3142 if test -n "$CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3152 if test -z "$CC"; then
3153 if test -n "$ac_tool_prefix"; then
3154 for ac_prog
in cl.exe
3156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3157 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if test "${ac_cv_prog_CC+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC
="$CC" # Let the user override the test.
3166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir
=.
3171 for ac_exec_ext
in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 if test -n "$CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186 $as_echo "$CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3193 test -n "$CC" && break
3196 if test -z "$CC"; then
3198 for ac_prog
in cl.exe
3200 # Extract the first word of "$ac_prog", so it can be a program name with args.
3201 set dummy
$ac_prog; ac_word
=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC
="$ac_prog"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3237 test -n "$ac_ct_CC" && break
3240 if test "x$ac_ct_CC" = x
; then
3243 case $cross_compiling:$ac_tool_warned in
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned
=yes ;;
3256 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error
"no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details." "$LINENO" 5; }
3261 # Provide some information about the compiler.
3262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3265 for ac_option
in --version -v -V -qversion; do
3266 { { ac_try
="$ac_compiler $ac_option >&5"
3268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3275 if test -s conftest.err; then
3277 ... rest of stderr output deleted ...
3278 10q' conftest.err >conftest.er1
3279 cat conftest.er1 >&5
3280 rm -f conftest.er1 conftest.err
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3297 ac_clean_files_save=$ac_clean_files
3298 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3299 # Try to create an executable without -o first, disregard a.out.
3300 # It will help us diagnose broken compilers, and finding out an intuition
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3303 $as_echo_n "checking for C compiler default output file name... " >&6; }
3304 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3306 # The possible output files:
3307 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3310 for ac_file in $ac_files
3313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3314 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3319 if { { ac_try="$ac_link_default"
3321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3322 *) ac_try_echo
=$ac_try;;
3324 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link_default") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3331 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3332 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3333 # so that the user can short-circuit this test for compilers unknown to
3335 for ac_file
in $ac_files ''
3337 test -f "$ac_file" ||
continue
3339 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3342 # We found the default executable, but exeext='' is most
3346 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3348 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3350 # We set ac_cv_exeext here because the later test for it is not
3351 # safe: cross compilers may not add the suffix if given an `-o'
3352 # argument, so we may need to know it at that point already.
3353 # Even if this section looks crufty: it has the advantage of
3360 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3366 $as_echo "$ac_file" >&6; }
3367 if test -z "$ac_file"; then :
3368 $as_echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.
$ac_ext >&5
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 { as_fn_set_status
77
3374 as_fn_error
"C compiler cannot create executables
3375 See \`config.log' for more details." "$LINENO" 5; }; }
3377 ac_exeext
=$ac_cv_exeext
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3382 $as_echo_n "checking whether the C compiler works... " >&6; }
3383 # If not cross compiling, check that we can run a simple program.
3384 if test "$cross_compiling" != yes; then
3385 if { ac_try
='./$ac_file'
3386 { { case "(($ac_try" in
3387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; }; then
3398 if test "$cross_compiling" = maybe; then
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error "cannot run C compiled programs.
3404 If you meant to cross compile
, use \
`--host'.
3405 See \`config.log
' for more details." "$LINENO" 5; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3410 $as_echo "yes" >&6; }
3412 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3413 ac_clean_files=$ac_clean_files_save
3414 # Check that the compiler produces executables we can run. If not, either
3415 # the compiler is broken, or we cross compile.
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3417 $as_echo_n "checking whether we are cross compiling... " >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3419 $as_echo "$cross_compiling" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3422 $as_echo_n "checking for suffix of executables... " >&6; }
3423 if { { ac_try="$ac_link"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_link") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; then :
3434 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3435 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3436 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3438 for ac_file
in conftest.exe conftest conftest.
*; do
3439 test -f "$ac_file" ||
continue
3441 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3442 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3451 See \`config.log' for more details." "$LINENO" 5; }
3453 rm -f conftest
$ac_cv_exeext
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3455 $as_echo "$ac_cv_exeext" >&6; }
3457 rm -f conftest.
$ac_ext
3458 EXEEXT
=$ac_cv_exeext
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3461 $as_echo_n "checking for suffix of object files... " >&6; }
3462 if test "${ac_cv_objext+set}" = set; then :
3463 $as_echo_n "(cached) " >&6
3465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 rm -f conftest.o conftest.obj
3477 if { { ac_try
="$ac_compile"
3479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compile") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 for ac_file in conftest.o conftest.obj conftest.*; do
3489 test -f "$ac_file" || continue;
3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error "cannot compute suffix of object files
: cannot compile
3503 See \
`config.log' for more details." "$LINENO" 5; }
3505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3508 $as_echo "$ac_cv_objext" >&6; }
3509 OBJEXT=$ac_cv_objext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3513 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3514 $as_echo_n "(cached) " >&6
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3541 if test $ac_compiler_gnu = yes; then
3546 ac_test_CFLAGS=${CFLAGS+set}
3547 ac_save_CFLAGS=$CFLAGS
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3550 if test "${ac_cv_prog_cc_g+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3553 ac_save_c_werror_flag=$ac_c_werror_flag
3554 ac_c_werror_flag=yes
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 if ac_fn_c_try_compile "$LINENO"; then :
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3610 $as_echo "$ac_cv_prog_cc_g" >&6; }
3611 if test "$ac_test_CFLAGS" = set; then
3612 CFLAGS=$ac_save_CFLAGS
3613 elif test $ac_cv_prog_cc_g = yes; then
3614 if test "$GCC" = yes; then
3620 if test "$GCC" = yes; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3628 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3629 $as_echo_n "(cached) " >&6
3631 ac_cv_prog_cc_c89=no
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3637 #include <sys/types.h>
3638 #include <sys/stat.h>
3639 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3640 struct buf { int x; };
3641 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3642 static char *e (p, i)
3648 static char *f (char * (*g) (char **, int), char **p, ...)
3653 s = g (p, va_arg (v,int));
3658 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3659 function prototypes and stuff, but not '\xHH' hex character constants.
3660 These don't provoke an error unfortunately, instead are silently treated
3661 as 'x'. The following induces an error, until -std is added to get
3662 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3663 array size at least. It's necessary to write '\x00'==0 to get something
3664 that's true only with -std. */
3665 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3667 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3668 inside strings and character constants. */
3670 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3672 int test (int i, double x);
3673 struct s1 {int (*f) (int a);};
3674 struct s2 {int (*f) (double a);};
3675 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3681 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3686 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3687 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3689 CC="$ac_save_CC $ac_arg"
3690 if ac_fn_c_try_compile "$LINENO"; then :
3691 ac_cv_prog_cc_c89=$ac_arg
3693 rm -f core conftest.err conftest.$ac_objext
3694 test "x$ac_cv_prog_cc_c89" != "xno" && break
3696 rm -f conftest.$ac_ext
3701 case "x$ac_cv_prog_cc_c89" in
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3704 $as_echo "none needed" >&6; } ;;
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3707 $as_echo "unsupported" >&6; } ;;
3709 CC="$CC $ac_cv_prog_cc_c89"
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3713 if test "x$ac_cv_prog_cc_c89" != xno; then :
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722 DEPDIR="${am__leading_dot}deps"
3724 ac_config_commands="$ac_config_commands depfiles"
3727 am_make=${MAKE-make}
3728 cat > confinc << 'END'
3730 @echo this is the am__doit target
3733 # If we don't find an include directive, just comment out the code.
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3735 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3739 # First try GNU make style include.
3740 echo "include confinc" > confmf
3741 # Ignore all kinds of additional output from `make'.
3742 case `$am_make -s -f confmf 2> /dev/null` in #(
3743 *the\ am__doit\ target*)
3749 # Now try BSD make style include.
3750 if test "$am__include" = "#"; then
3751 echo '.include
"confinc"' > confmf
3752 case `$am_make -s -f confmf 2> /dev/null` in #(
3753 *the\ am__doit\ target*)
3754 am__include=.include
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3763 $as_echo "$_am_result" >&6; }
3764 rm -f confinc confmf
3766 # Check whether --enable-dependency-tracking was given.
3767 if test "${enable_dependency_tracking+set}" = set; then :
3768 enableval=$enable_dependency_tracking;
3771 if test "x$enable_dependency_tracking" != xno; then
3772 am_depcomp="$ac_aux_dir/depcomp"
3775 if test "x$enable_dependency_tracking" != xno
; then
3785 depcc
="$CC" am_compiler_list
=
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3788 $as_echo_n "checking dependency style of $depcc... " >&6; }
3789 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3790 $as_echo_n "(cached) " >&6
3792 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3793 # We make a subdir and do the tests there. Otherwise we can end up
3794 # making bogus files that we don't know about and never remove. For
3795 # instance it was reported that on HP-UX the gcc test will end up
3796 # making a dummy file named `D' -- because `-MD' means `put the output
3799 # Copy depcomp to subdir because otherwise we won't find it if we're
3800 # using a relative directory.
3801 cp "$am_depcomp" conftest.dir
3803 # We will build objects and dependencies in a subdirectory because
3804 # it helps to detect inapplicable dependency modes. For instance
3805 # both Tru64's cc and ICC support -MD to output dependencies as a
3806 # side effect of compilation, but ICC will put the dependencies in
3807 # the current directory while Tru64 will put them in the object
3811 am_cv_CC_dependencies_compiler_type
=none
3812 if test "$am_compiler_list" = ""; then
3813 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3816 case " $depcc " in #(
3817 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3820 for depmode
in $am_compiler_list; do
3821 # Setup a source with many dependencies, because some compilers
3822 # like to wrap large dependency lists on column 80 (with \), and
3823 # we should not choose a depcomp mode which is confused by this.
3825 # We need to recreate these files for each test, as the compiler may
3826 # overwrite some of them when testing with obscure command lines.
3827 # This happens at least with the AIX C compiler.
3829 for i
in 1 2 3 4 5 6; do
3830 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3831 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3832 # Solaris 8's {/usr,}/bin/sh.
3833 touch sub
/conftst
$i.h
3835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3838 # mode. It turns out that the SunPro C++ compiler does not properly
3839 # handle `-M -o', and we need to detect this. Also, some Intel
3840 # versions had trouble with output in subdirs
3841 am__obj
=sub
/conftest.
${OBJEXT-o}
3842 am__minus_obj
="-o $am__obj"
3845 # This depmode causes a compiler race in universal mode.
3846 test "$am__universal" = false ||
continue
3849 # after this tag, mechanisms are not by side-effect, so they'll
3850 # only be used when explicitly requested
3851 if test "x$enable_dependency_tracking" = xyes
; then
3857 msvisualcpp | msvcmsys
)
3858 # This compiler won't grok `-c -o', but also, the minuso test has
3859 # not run yet. These depmodes are late enough in the game, and
3860 # so weak that their functioning should not be impacted.
3861 am__obj
=conftest.
${OBJEXT-o}
3866 if depmode
=$depmode \
3867 source=sub
/conftest.c object
=$am__obj \
3868 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3869 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3870 >/dev
/null
2>conftest.err
&&
3871 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3872 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3873 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3874 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3875 # icc doesn't choke on unknown options, it will just issue warnings
3876 # or remarks (even with -Werror). So we grep stderr for any message
3877 # that says an option was ignored or not supported.
3878 # When given -MP, icc 7.0 and 7.1 complain thusly:
3879 # icc: Command line warning: ignoring option '-M'; no argument required
3880 # The diagnosis changed in icc 8.0:
3881 # icc: Command line remark: option '-MP' not supported
3882 if (grep 'ignoring option' conftest.err ||
3883 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3884 am_cv_CC_dependencies_compiler_type
=$depmode
3893 am_cv_CC_dependencies_compiler_type
=none
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3898 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3899 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3902 test "x$enable_dependency_tracking" != xno \
3903 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3905 am__fastdepCC_FALSE
='#'
3907 am__fastdepCC_TRUE
='#'
3908 am__fastdepCC_FALSE
=
3913 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3914 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3916 if test -n "$ac_tool_prefix"; then
3917 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3918 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if test "${ac_cv_prog_GOC+set}" = set; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -n "$GOC"; then
3925 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_exec_ext
in '' $ac_executable_extensions; do
3933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 if test -n "$GOC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3947 $as_echo "$GOC" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3955 if test -z "$ac_cv_prog_GOC"; then
3957 # Extract the first word of "gccgo", so it can be a program name with args.
3958 set dummy gccgo
; ac_word
=$2
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960 $as_echo_n "checking for $ac_word... " >&6; }
3961 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3962 $as_echo_n "(cached) " >&6
3964 if test -n "$ac_ct_GOC"; then
3965 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974 ac_cv_prog_ac_ct_GOC
="gccgo"
3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
3985 if test -n "$ac_ct_GOC"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3987 $as_echo "$ac_ct_GOC" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3993 if test "x$ac_ct_GOC" = x
; then
3996 case $cross_compiling:$ac_tool_warned in
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000 ac_tool_warned
=yes ;;
4005 GOC
="$ac_cv_prog_GOC"
4008 if test -z "$GOC"; then
4009 if test -n "$ac_tool_prefix"; then
4010 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4011 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if test "${ac_cv_prog_GOC+set}" = set; then :
4015 $as_echo_n "(cached) " >&6
4017 if test -n "$GOC"; then
4018 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4024 test -z "$as_dir" && as_dir
=.
4025 for ac_exec_ext
in '' $ac_executable_extensions; do
4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4027 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 if test -n "$GOC"; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4040 $as_echo "$GOC" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043 $as_echo "no" >&6; }
4049 if test -z "$GOC"; then
4050 # Extract the first word of "gccgo", so it can be a program name with args.
4051 set dummy gccgo
; ac_word
=$2
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053 $as_echo_n "checking for $ac_word... " >&6; }
4054 if test "${ac_cv_prog_GOC+set}" = set; then :
4055 $as_echo_n "(cached) " >&6
4057 if test -n "$GOC"; then
4058 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4065 test -z "$as_dir" && as_dir
=.
4066 for ac_exec_ext
in '' $ac_executable_extensions; do
4067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4068 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4069 ac_prog_rejected
=yes
4072 ac_cv_prog_GOC
="gccgo"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 if test $ac_prog_rejected = yes; then
4081 # We found a bogon in the path, so make sure we never use it.
4082 set dummy
$ac_cv_prog_GOC
4084 if test $# != 0; then
4085 # We chose a different compiler from the bogus one.
4086 # However, it has the same basename, so the bogon will be chosen
4087 # first if we set GOC to just the basename; use the full file name.
4089 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4095 if test -n "$GOC"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4097 $as_echo "$GOC" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4107 # Provide some information about the compiler.
4108 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4111 { { ac_try
="$ac_compiler --version >&5"
4113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compiler --version >&5") 2>conftest.err
4120 if test -s conftest.err; then
4122 ... rest of stderr output deleted ...
4123 10q' conftest.err >conftest.er1
4124 cat conftest.er1 >&5
4125 rm -f conftest.er1 conftest.err
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }
4131 ac_cpp='$CPP $CPPFLAGS'
4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4142 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4143 # Check whether --enable-maintainer-mode was given.
4144 if test "${enable_maintainer_mode+set}" = set; then :
4145 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4147 USE_MAINTAINER_MODE=no
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4151 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4152 if test $USE_MAINTAINER_MODE = yes; then
4153 MAINTAINER_MODE_TRUE=
4154 MAINTAINER_MODE_FALSE='#'
4156 MAINTAINER_MODE_TRUE='#'
4157 MAINTAINER_MODE_FALSE=
4160 MAINT=$MAINTAINER_MODE_TRUE
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4165 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4166 if test "${ac_cv_path_SED+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4170 for ac_i in 1 2 3 4 5 6 7; do
4171 ac_script="$ac_script$as_nl$ac_script"
4173 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4174 { ac_script=; unset ac_script;}
4175 if test -z "$SED"; then
4176 ac_path_SED_found=false
4177 # Loop through the user's path and test for each of PROGNAME-LIST
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir=.
4183 for ac_prog in sed gsed; do
4184 for ac_exec_ext in '' $ac_executable_extensions; do
4185 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4186 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4187 # Check for GNU ac_path_SED and select it if it is found.
4188 # Check for GNU $ac_path_SED
4189 case `"$ac_path_SED" --version 2>&1` in
4191 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4194 $as_echo_n 0123456789 >"conftest.in"
4197 cat "conftest.in" "conftest.in" >"conftest.tmp"
4198 mv "conftest.tmp" "conftest.in"
4199 cp "conftest.in" "conftest.nl"
4200 $as_echo '' >> "conftest.nl"
4201 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4202 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4203 as_fn_arith $ac_count + 1 && ac_count=$as_val
4204 if test $ac_count -gt ${ac_path_SED_max-0}; then
4205 # Best one so far, save it but keep looking for a better one
4206 ac_cv_path_SED="$ac_path_SED"
4207 ac_path_SED_max=$ac_count
4209 # 10*(2^10) chars as input seems more than enough
4210 test $ac_count -gt 10 && break
4212 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4215 $ac_path_SED_found && break 3
4220 if test -z "$ac_cv_path_SED"; then
4221 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4229 $as_echo "$ac_cv_path_SED" >&6; }
4230 SED="$ac_cv_path_SED"
4233 test -z "$SED" && SED=sed
4234 Xsed="$SED -e 1s/^X//"
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4247 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4248 if test "${ac_cv_path_GREP+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -z "$GREP"; then
4252 ac_path_GREP_found=false
4253 # Loop through the user's path and test for each of PROGNAME-LIST
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4258 test -z "$as_dir" && as_dir=.
4259 for ac_prog in grep ggrep; do
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4262 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4263 # Check for GNU ac_path_GREP and select it if it is found.
4264 # Check for GNU $ac_path_GREP
4265 case `"$ac_path_GREP" --version 2>&1` in
4267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4270 $as_echo_n 0123456789 >"conftest.in"
4273 cat "conftest.in" "conftest.in" >"conftest.tmp"
4274 mv "conftest.tmp" "conftest.in"
4275 cp "conftest.in" "conftest.nl"
4276 $as_echo 'GREP' >> "conftest.nl"
4277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4279 as_fn_arith $ac_count + 1 && ac_count=$as_val
4280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4281 # Best one so far, save it but keep looking for a better one
4282 ac_cv_path_GREP="$ac_path_GREP"
4283 ac_path_GREP_max=$ac_count
4285 # 10*(2^10) chars as input seems more than enough
4286 test $ac_count -gt 10 && break
4288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4291 $ac_path_GREP_found && break 3
4296 if test -z "$ac_cv_path_GREP"; then
4297 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4300 ac_cv_path_GREP=$GREP
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4305 $as_echo "$ac_cv_path_GREP" >&6; }
4306 GREP="$ac_cv_path_GREP"
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4310 $as_echo_n "checking for egrep... " >&6; }
4311 if test "${ac_cv_path_EGREP+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4315 then ac_cv_path_EGREP="$GREP -E"
4317 if test -z "$EGREP"; then
4318 ac_path_EGREP_found=false
4319 # Loop through the user's path and test for each of PROGNAME-LIST
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4324 test -z "$as_dir" && as_dir=.
4325 for ac_prog in egrep; do
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4328 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4329 # Check for GNU ac_path_EGREP and select it if it is found.
4330 # Check for GNU $ac_path_EGREP
4331 case `"$ac_path_EGREP" --version 2>&1` in
4333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4336 $as_echo_n 0123456789 >"conftest.in"
4339 cat "conftest.in" "conftest.in" >"conftest.tmp"
4340 mv "conftest.tmp" "conftest.in"
4341 cp "conftest.in" "conftest.nl"
4342 $as_echo 'EGREP' >> "conftest.nl"
4343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4345 as_fn_arith $ac_count + 1 && ac_count=$as_val
4346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4347 # Best one so far, save it but keep looking for a better one
4348 ac_cv_path_EGREP="$ac_path_EGREP"
4349 ac_path_EGREP_max=$ac_count
4351 # 10*(2^10) chars as input seems more than enough
4352 test $ac_count -gt 10 && break
4354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4357 $ac_path_EGREP_found && break 3
4362 if test -z "$ac_cv_path_EGREP"; then
4363 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4366 ac_cv_path_EGREP=$EGREP
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4372 $as_echo "$ac_cv_path_EGREP" >&6; }
4373 EGREP="$ac_cv_path_EGREP"
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4377 $as_echo_n "checking for fgrep... " >&6; }
4378 if test "${ac_cv_path_FGREP+set}" = set; then :
4379 $as_echo_n "(cached) " >&6
4381 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4382 then ac_cv_path_FGREP="$GREP -F"
4384 if test -z "$FGREP"; then
4385 ac_path_FGREP_found=false
4386 # Loop through the user's path and test for each of PROGNAME-LIST
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4391 test -z "$as_dir" && as_dir=.
4392 for ac_prog in fgrep; do
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4395 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4396 # Check for GNU ac_path_FGREP and select it if it is found.
4397 # Check for GNU $ac_path_FGREP
4398 case `"$ac_path_FGREP" --version 2>&1` in
4400 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4403 $as_echo_n 0123456789 >"conftest.in"
4406 cat "conftest.in" "conftest.in" >"conftest.tmp"
4407 mv "conftest.tmp" "conftest.in"
4408 cp "conftest.in" "conftest.nl"
4409 $as_echo 'FGREP' >> "conftest.nl"
4410 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4412 as_fn_arith $ac_count + 1 && ac_count=$as_val
4413 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4414 # Best one so far, save it but keep looking for a better one
4415 ac_cv_path_FGREP="$ac_path_FGREP"
4416 ac_path_FGREP_max=$ac_count
4418 # 10*(2^10) chars as input seems more than enough
4419 test $ac_count -gt 10 && break
4421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4424 $ac_path_FGREP_found && break 3
4429 if test -z "$ac_cv_path_FGREP"; then
4430 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4433 ac_cv_path_FGREP=$FGREP
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4439 $as_echo "$ac_cv_path_FGREP" >&6; }
4440 FGREP="$ac_cv_path_FGREP"
4443 test -z "$GREP" && GREP=grep
4461 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4462 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4463 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4466 $as_echo_n "checking how to print strings... " >&6; }
4467 # Test print first, because it will be a builtin if present.
4468 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4469 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4471 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4474 # Use this function as a fallback that always works.
4475 func_fallback_echo ()
4477 eval 'cat <<_LTECHO_EOF
4481 ECHO='func_fallback_echo'
4484 # func_echo_all arg...
4485 # Invoke $ECHO with all args, space-separated.
4492 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4493 $as_echo "printf" >&6; } ;;
4494 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4495 $as_echo "print -r" >&6; } ;;
4496 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4497 $as_echo "cat" >&6; } ;;
4515 # Check whether --with-gnu-ld was given.
4516 if test "${with_gnu_ld+set}" = set; then :
4517 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4523 if test "$GCC" = yes; then
4524 # Check if gcc -print-prog-name=ld gives a path.
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4526 $as_echo_n "checking for ld used by $CC... " >&6; }
4529 # gcc leaves a trailing carriage return which upsets mingw
4530 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4532 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4535 # Accept absolute paths.
4537 re_direlt='/[^/][^/]*/\.\./'
4538 # Canonicalize the pathname of ld
4539 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4540 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4541 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4543 test -z "$LD" && LD="$ac_prog"
4546 # If it fails, then pretend we aren't using GCC.
4550 # If it is relative, then search for the first ld in PATH.
4554 elif test "$with_gnu_ld" = yes; then
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4556 $as_echo_n "checking for GNU ld... " >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4559 $as_echo_n "checking for non-GNU ld... " >&6; }
4561 if test "${lt_cv_path_LD+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4564 if test -z "$LD"; then
4565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4566 for ac_dir in $PATH; do
4568 test -z "$ac_dir" && ac_dir=.
4569 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4570 lt_cv_path_LD="$ac_dir/$ac_prog"
4571 # Check to see if the program is GNU ld. I'd rather use --version,
4572 # but apparently some variants of GNU ld only accept -v.
4573 # Break only if it was the GNU/non-GNU ld that we prefer.
4574 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4575 *GNU* | *'with BFD'*)
4576 test "$with_gnu_ld" != no && break
4579 test "$with_gnu_ld" != yes && break
4586 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4591 if test -n "$LD"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4593 $as_echo "$LD" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
4598 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4600 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4601 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4605 case `$LD -v 2>&1 </dev
/null
` in
4606 *GNU* | *'with BFD'*)
4607 lt_cv_prog_gnu_ld=yes
4610 lt_cv_prog_gnu_ld=no
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4615 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4616 with_gnu_ld=$lt_cv_prog_gnu_ld
4626 if test -n "$ac_tool_prefix"; then
4627 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4628 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$RANLIB"; then
4635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 RANLIB=$ac_cv_prog_RANLIB
4655 if test -n "$RANLIB"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4657 $as_echo "$RANLIB" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4665 if test -z "$ac_cv_prog_RANLIB"; then
4666 ac_ct_RANLIB=$RANLIB
4667 # Extract the first word of "ranlib", so it can be a program name with args.
4668 set dummy ranlib; ac_word=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$ac_ct_RANLIB"; then
4675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684 ac_cv_prog_ac_ct_RANLIB="ranlib"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4695 if test -n "$ac_ct_RANLIB"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4697 $as_echo "$ac_ct_RANLIB" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4703 if test "x$ac_ct_RANLIB" = x; then
4706 case $cross_compiling:$ac_tool_warned in
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned=yes ;;
4712 RANLIB=$ac_ct_RANLIB
4715 RANLIB="$ac_cv_prog_RANLIB"
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4720 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$OBJCOPY"; then
4727 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 OBJCOPY=$ac_cv_prog_OBJCOPY
4747 if test -n "$OBJCOPY"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4749 $as_echo "$OBJCOPY" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4757 if test -z "$ac_cv_prog_OBJCOPY"; then
4758 ac_ct_OBJCOPY=$OBJCOPY
4759 # Extract the first word of "objcopy", so it can be a program name with args.
4760 set dummy objcopy; ac_word=$2
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 $as_echo_n "checking for $ac_word... " >&6; }
4763 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -n "$ac_ct_OBJCOPY"; then
4767 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir=.
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4787 if test -n "$ac_ct_OBJCOPY"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4789 $as_echo "$ac_ct_OBJCOPY" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4795 if test "x$ac_ct_OBJCOPY" = x; then
4796 OBJCOPY="missing-objcopy"
4798 case $cross_compiling:$ac_tool_warned in
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned=yes ;;
4804 OBJCOPY=$ac_ct_OBJCOPY
4807 OBJCOPY="$ac_cv_prog_OBJCOPY"
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4818 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4823 macro_version='2.2.7a'
4824 macro_revision='1.3134'
4838 ltmain="$ac_aux_dir/ltmain.sh"
4840 # Backslashify metacharacters that are still active within
4841 # double-quoted strings.
4842 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4844 # Same as above, but do not quote variable references.
4845 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4847 # Sed substitution to delay expansion of an escaped shell variable in a
4848 # double_quote_subst'ed string.
4849 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4851 # Sed substitution to delay expansion of an escaped single quote.
4852 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4854 # Sed substitution to avoid accidental globbing in evaled expressions
4855 no_glob_subst='s/\*/\\\*/g'
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4858 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4859 if test "${lt_cv_path_NM+set}" = set; then :
4860 $as_echo_n "(cached
) " >&6
4862 if test -n "$NM"; then
4863 # Let the user override the test.
4866 lt_nm_to_check="${ac_tool_prefix}nm
"
4867 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4868 lt_nm_to_check="$lt_nm_to_check nm
"
4870 for lt_tmp_nm in $lt_nm_to_check; do
4871 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4872 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4874 test -z "$ac_dir" && ac_dir=.
4875 tmp_nm="$ac_dir/$lt_tmp_nm"
4876 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4877 # Check to see if the nm accepts a BSD-compat flag.
4878 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4879 # nm: unknown option "B
" ignored
4880 # Tru64's nm complains that /dev/null is an invalid object file
4881 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4882 */dev/null* | *'Invalid file or object type'*)
4883 lt_cv_path_NM="$tmp_nm -B"
4887 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4889 lt_cv_path_NM="$tmp_nm -p"
4893 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4894 continue # so that we can try to find one that supports BSD flags
4903 : ${lt_cv_path_NM=no}
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4907 $as_echo "$lt_cv_path_NM" >&6; }
4908 if test "$lt_cv_path_NM" != "no
"; then
4911 # Didn't find any BSD compatible name lister, look for dumpbin.
4912 if test -n "$DUMPBIN"; then :
4913 # Let the user override the test.
4915 if test -n "$ac_tool_prefix"; then
4916 for ac_prog in dumpbin "link
-dump"
4918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4921 $as_echo_n "checking
for $ac_word...
" >&6; }
4922 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4923 $as_echo_n "(cached
) " >&6
4925 if test -n "$DUMPBIN"; then
4926 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4945 DUMPBIN=$ac_cv_prog_DUMPBIN
4946 if test -n "$DUMPBIN"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4948 $as_echo "$DUMPBIN" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4951 $as_echo "no
" >&6; }
4955 test -n "$DUMPBIN" && break
4958 if test -z "$DUMPBIN"; then
4959 ac_ct_DUMPBIN=$DUMPBIN
4960 for ac_prog in dumpbin "link
-dump"
4962 # Extract the first word of "$ac_prog", so it can be a program name with args.
4963 set dummy $ac_prog; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4965 $as_echo_n "checking
for $ac_word...
" >&6; }
4966 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4967 $as_echo_n "(cached
) " >&6
4969 if test -n "$ac_ct_DUMPBIN"; then
4970 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4989 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4990 if test -n "$ac_ct_DUMPBIN"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4992 $as_echo "$ac_ct_DUMPBIN" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4995 $as_echo "no
" >&6; }
4999 test -n "$ac_ct_DUMPBIN" && break
5002 if test "x
$ac_ct_DUMPBIN" = x; then
5005 case $cross_compiling:$ac_tool_warned in
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5008 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5009 ac_tool_warned=yes ;;
5011 DUMPBIN=$ac_ct_DUMPBIN
5015 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5017 DUMPBIN="$DUMPBIN -symbols"
5025 if test "$DUMPBIN" != ":"; then
5029 test -z "$NM" && NM=nm
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5037 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5038 if test "${lt_cv_nm_interface+set}" = set; then :
5039 $as_echo_n "(cached
) " >&6
5041 lt_cv_nm_interface="BSD nm
"
5042 echo "int some_variable
= 0;" > conftest.$ac_ext
5043 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5044 (eval "$ac_compile" 2>conftest.err)
5045 cat conftest.err >&5
5046 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5047 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5048 cat conftest.err >&5
5049 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5050 cat conftest.out >&5
5051 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5052 lt_cv_nm_interface="MS dumpbin
"
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5057 $as_echo "$lt_cv_nm_interface" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5060 $as_echo_n "checking whether
ln -s works...
" >&6; }
5062 if test "$LN_S" = "ln -s"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5064 $as_echo "yes" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5067 $as_echo "no
, using
$LN_S" >&6; }
5070 # find the maximum length of command line arguments
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5072 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5073 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5074 $as_echo_n "(cached
) " >&6
5081 # On DJGPP, this test can blow up pretty badly due to problems in libc
5082 # (any single argument exceeding 2000 bytes causes a buffer overrun
5083 # during glob expansion). Even if it were fixed, the result of this
5084 # check would be larger than it should be.
5085 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5089 # Under GNU Hurd, this test is not required because there is
5090 # no limit to the length of command line arguments.
5091 # Libtool will interpret -1 as no limit whatsoever
5092 lt_cv_sys_max_cmd_len=-1;
5095 cygwin* | mingw* | cegcc*)
5096 # On Win9x/ME, this test blows up -- it succeeds, but takes
5097 # about 5 minutes as the teststring grows exponentially.
5098 # Worse, since 9x/ME are not pre-emptively multitasking,
5099 # you end up with a "frozen
" computer, even though with patience
5100 # the test eventually succeeds (with a max line length of 256k).
5101 # Instead, let's just punt: use the minimum linelength reported by
5102 # all of the supported platforms: 8192 (on NT/2K/XP).
5103 lt_cv_sys_max_cmd_len=8192;
5107 # On MiNT this can take a long time and run out of memory.
5108 lt_cv_sys_max_cmd_len=8192;
5112 # On AmigaOS with pdksh, this test takes hours, literally.
5113 # So we just punt and use a minimum line length of 8192.
5114 lt_cv_sys_max_cmd_len=8192;
5117 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5118 # This has been around since 386BSD, at least. Likely further.
5119 if test -x /sbin/sysctl; then
5120 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5121 elif test -x /usr/sbin/sysctl; then
5122 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5124 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5126 # And add a safety zone
5127 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5128 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5132 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5133 lt_cv_sys_max_cmd_len=196608
5137 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5138 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5139 # nice to cause kernel panics so lets avoid the loop below.
5140 # First set a reasonable default.
5141 lt_cv_sys_max_cmd_len=16384
5143 if test -x /sbin/sysconfig; then
5144 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5145 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5150 lt_cv_sys_max_cmd_len=102400
5152 sysv5* | sco5v6* | sysv4.2uw2*)
5153 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5154 if test -n "$kargmax"; then
5155 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5157 lt_cv_sys_max_cmd_len=32768
5161 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5162 if test -n "$lt_cv_sys_max_cmd_len"; then
5163 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5164 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5166 # Make teststring a little bigger before we do anything with it.
5167 # a 1K string should be a reasonable start.
5168 for i in 1 2 3 4 5 6 7 8 ; do
5169 teststring=$teststring$teststring
5171 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5172 # If test is not a shell built-in, we'll probably end up computing a
5173 # maximum length that is only half of the actual maximum length, but
5175 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5176 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5177 test $i != 17 # 1/2 MB should be enough
5180 teststring=$teststring$teststring
5182 # Only check the string length outside the loop.
5183 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5185 # Add a significant safety factor because C++ compilers can tack on
5186 # massive amounts of additional arguments before passing them to the
5187 # linker. It appears as though 1/2 is a usable value.
5188 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5195 if test -n $lt_cv_sys_max_cmd_len ; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5197 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5200 $as_echo "none
" >&6; }
5202 max_cmd_len=$lt_cv_sys_max_cmd_len
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5214 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5215 # Try some XSI features
5218 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5220 && eval 'test $(( 1 + 1 )) -eq 2 \
5221 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5224 $as_echo "$xsi_shell" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5228 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5230 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5232 && lt_shell_append
=yes
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5234 $as_echo "$lt_shell_append" >&6; }
5237 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5247 # test EBCDIC or ASCII
5248 case `echo X|tr X '\101'` in
5249 A
) # ASCII based system
5250 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5251 lt_SP2NL
='tr \040 \012'
5252 lt_NL2SP
='tr \015\012 \040\040'
5254 *) # EBCDIC based system
5255 lt_SP2NL
='tr \100 \n'
5256 lt_NL2SP
='tr \r\n \100\100'
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5269 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5270 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5271 $as_echo_n "(cached) " >&6
5273 lt_cv_ld_reload_flag
='-r'
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5276 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5277 reload_flag
=$lt_cv_ld_reload_flag
5278 case $reload_flag in
5280 *) reload_flag
=" $reload_flag" ;;
5282 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5285 if test "$GCC" = yes; then
5286 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5288 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5301 if test -n "$ac_tool_prefix"; then
5302 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5303 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$OBJDUMP"; then
5310 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5319 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 OBJDUMP
=$ac_cv_prog_OBJDUMP
5330 if test -n "$OBJDUMP"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5332 $as_echo "$OBJDUMP" >&6; }
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5340 if test -z "$ac_cv_prog_OBJDUMP"; then
5341 ac_ct_OBJDUMP
=$OBJDUMP
5342 # Extract the first word of "objdump", so it can be a program name with args.
5343 set dummy objdump
; ac_word
=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5347 $as_echo_n "(cached) " >&6
5349 if test -n "$ac_ct_OBJDUMP"; then
5350 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir
=.
5357 for ac_exec_ext
in '' $ac_executable_extensions; do
5358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5370 if test -n "$ac_ct_OBJDUMP"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5372 $as_echo "$ac_ct_OBJDUMP" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5378 if test "x$ac_ct_OBJDUMP" = x
; then
5381 case $cross_compiling:$ac_tool_warned in
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5385 ac_tool_warned
=yes ;;
5387 OBJDUMP
=$ac_ct_OBJDUMP
5390 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5393 test -z "$OBJDUMP" && OBJDUMP
=objdump
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5404 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5405 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5408 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5409 lt_cv_file_magic_test_file
=
5410 lt_cv_deplibs_check_method
='unknown'
5411 # Need to set the preceding variable on all platforms that support
5412 # interlibrary dependencies.
5413 # 'none' -- dependencies not supported.
5414 # `unknown' -- same as none, but documents that we really don't know.
5415 # 'pass_all' -- all dependencies passed with no checks.
5416 # 'test_compile' -- check by making test program.
5417 # 'file_magic [[regex]]' -- check by looking for files in library path
5418 # which responds to the $file_magic_cmd with a given extended regex.
5419 # If you have `file' or equivalent on your system and you're not sure
5420 # whether `pass_all' will *always* work, you probably want this one.
5424 lt_cv_deplibs_check_method
=pass_all
5428 lt_cv_deplibs_check_method
=pass_all
5432 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5433 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5434 lt_cv_file_magic_test_file
=/shlib
/libc.so
5438 # func_win32_libid is a shell function defined in ltmain.sh
5439 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5440 lt_cv_file_magic_cmd
='func_win32_libid'
5444 # Base MSYS/MinGW do not provide the 'file' command needed by
5445 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5446 # unless we find 'file', for example because we are cross-compiling.
5447 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5448 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5449 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5450 lt_cv_file_magic_cmd
='func_win32_libid'
5452 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5453 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5458 # use the weaker test based on 'objdump'. See mingw*.
5459 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5460 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5463 darwin
* | rhapsody
*)
5464 lt_cv_deplibs_check_method
=pass_all
5467 freebsd
* | dragonfly
*)
5468 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5471 # Not sure whether the presence of OpenBSD here was a mistake.
5472 # Let's accept both of them until this is cleared up.
5473 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5474 lt_cv_file_magic_cmd
=/usr
/bin
/file
5475 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5479 lt_cv_deplibs_check_method
=pass_all
5484 lt_cv_deplibs_check_method
=pass_all
5488 lt_cv_deplibs_check_method
=pass_all
5491 hpux10.20
* | hpux11
*)
5492 lt_cv_file_magic_cmd
=/usr
/bin
/file
5495 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5496 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5499 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]'
5500 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5503 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5504 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5510 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5511 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5514 irix5
* | irix6
* | nonstopux
*)
5516 *-32|
*"-32 ") libmagic
=32-bit;;
5517 *-n32|
*"-n32 ") libmagic
=N32
;;
5518 *-64|
*"-64 ") libmagic
=64-bit;;
5519 *) libmagic
=never-match
;;
5521 lt_cv_deplibs_check_method
=pass_all
5524 # This must be Linux ELF.
5525 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5526 lt_cv_deplibs_check_method
=pass_all
5530 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5531 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5533 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5538 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5539 lt_cv_file_magic_cmd
=/usr
/bin
/file
5540 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5544 lt_cv_deplibs_check_method
=pass_all
5548 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5549 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5551 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5555 osf3
* | osf4
* | osf5
*)
5556 lt_cv_deplibs_check_method
=pass_all
5560 lt_cv_deplibs_check_method
=pass_all
5564 lt_cv_deplibs_check_method
=pass_all
5567 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5568 lt_cv_deplibs_check_method
=pass_all
5572 case $host_vendor in
5574 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]'
5575 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5578 lt_cv_deplibs_check_method
=pass_all
5581 lt_cv_file_magic_cmd
='/bin/file'
5582 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5585 lt_cv_file_magic_cmd
='/bin/file'
5586 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5587 lt_cv_file_magic_test_file
=/lib
/libc.so
5590 lt_cv_deplibs_check_method
=pass_all
5593 lt_cv_deplibs_check_method
=pass_all
5599 lt_cv_deplibs_check_method
=pass_all
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5605 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5606 file_magic_cmd
=$lt_cv_file_magic_cmd
5607 deplibs_check_method
=$lt_cv_deplibs_check_method
5608 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5621 if test -n "$ac_tool_prefix"; then
5622 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5623 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if test "${ac_cv_prog_AR+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$AR"; then
5630 ac_cv_prog_AR
="$AR" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 if test -n "$AR"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5652 $as_echo "$AR" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5660 if test -z "$ac_cv_prog_AR"; then
5662 # Extract the first word of "ar", so it can be a program name with args.
5663 set dummy
ar; ac_word
=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$ac_ct_AR"; then
5670 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir
=.
5677 for ac_exec_ext
in '' $ac_executable_extensions; do
5678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679 ac_cv_prog_ac_ct_AR
="ar"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5690 if test -n "$ac_ct_AR"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5692 $as_echo "$ac_ct_AR" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5698 if test "x$ac_ct_AR" = x
; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned
=yes ;;
5713 test -z "$AR" && AR
=ar
5714 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5726 if test -n "$ac_tool_prefix"; then
5727 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5728 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_prog_STRIP+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$STRIP"; then
5735 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5744 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 STRIP
=$ac_cv_prog_STRIP
5755 if test -n "$STRIP"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5757 $as_echo "$STRIP" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5765 if test -z "$ac_cv_prog_STRIP"; then
5767 # Extract the first word of "strip", so it can be a program name with args.
5768 set dummy strip
; ac_word
=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$ac_ct_STRIP"; then
5775 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir
=.
5782 for ac_exec_ext
in '' $ac_executable_extensions; do
5783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784 ac_cv_prog_ac_ct_STRIP
="strip"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5795 if test -n "$ac_ct_STRIP"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5797 $as_echo "$ac_ct_STRIP" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5803 if test "x$ac_ct_STRIP" = x
; then
5806 case $cross_compiling:$ac_tool_warned in
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5810 ac_tool_warned
=yes ;;
5815 STRIP
="$ac_cv_prog_STRIP"
5818 test -z "$STRIP" && STRIP
=:
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5827 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$RANLIB"; then
5834 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 RANLIB
=$ac_cv_prog_RANLIB
5854 if test -n "$RANLIB"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5856 $as_echo "$RANLIB" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5864 if test -z "$ac_cv_prog_RANLIB"; then
5865 ac_ct_RANLIB
=$RANLIB
5866 # Extract the first word of "ranlib", so it can be a program name with args.
5867 set dummy ranlib
; ac_word
=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$ac_ct_RANLIB"; then
5874 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5894 if test -n "$ac_ct_RANLIB"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5896 $as_echo "$ac_ct_RANLIB" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5902 if test "x$ac_ct_RANLIB" = x
; then
5905 case $cross_compiling:$ac_tool_warned in
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned
=yes ;;
5911 RANLIB
=$ac_ct_RANLIB
5914 RANLIB
="$ac_cv_prog_RANLIB"
5917 test -z "$RANLIB" && RANLIB
=:
5924 # Determine commands to create old-style static archives.
5925 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5926 old_postinstall_cmds
='chmod 644 $oldlib'
5927 old_postuninstall_cmds
=
5929 if test -n "$RANLIB"; then
5932 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5935 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5938 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5943 lock_old_archive_extraction
=yes ;;
5945 lock_old_archive_extraction
=no
;;
5986 # If no C compiler was specified, use CC.
5989 # If no C compiler flags were specified, use CFLAGS.
5990 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5992 # Allow CC to be a program name with arguments.
5996 # Check for command to grab the raw symbol name followed by C symbol from nm.
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5998 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5999 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6000 $as_echo_n "(cached) " >&6
6003 # These are sane defaults that work on at least a few old systems.
6004 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6006 # Character class describing NM global symbol codes.
6007 symcode
='[BCDEGRST]'
6009 # Regexp to match symbols that can be accessed directly from C.
6010 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6012 # Define system-specific variables.
6017 cygwin
* | mingw
* | pw32
* | cegcc
*)
6018 symcode
='[ABCDGISTW]'
6021 if test "$host_cpu" = ia64
; then
6022 symcode
='[ABCDEGRST]'
6026 symcode
='[BCDEGRST]'
6029 symcode
='[BCDEGQRST]'
6040 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6048 # If we're using GNU nm, then use its standard symbol codes.
6049 case `$NM -V 2>&1` in
6050 *GNU
* |
*'with BFD'*)
6051 symcode
='[ABCDGIRSTW]' ;;
6054 # Transform an extracted symbol line into a proper C declaration.
6055 # Some systems (esp. on ia64) link data and code symbols differently,
6056 # so use this general approach.
6057 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6059 # Transform an extracted symbol line into symbol name and symbol address
6060 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6061 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'"
6063 # Handle CRLF in mingw tool chain
6067 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6071 # Try without a prefix underscore, then with it.
6072 for ac_symprfx
in "" "_"; do
6074 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6075 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6077 # Write the raw and C identifiers.
6078 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6079 # Fake it for dumpbin and say T for any non-static function
6080 # and D for any global variable.
6081 # Also find C++ and __fastcall symbols from MSVC++,
6082 # which start with @ or ?.
6083 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6084 " {last_section=section; section=\$ 3};"\
6085 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6086 " \$ 0!~/External *\|/{next};"\
6087 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6088 " {if(hide[section]) next};"\
6089 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6090 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6091 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6092 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6093 " ' prfx=^$ac_symprfx"
6095 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6098 # Check to see that the pipe works correctly.
6102 cat > conftest.
$ac_ext <<_LT_EOF
6107 void nm_test_func(void);
6108 void nm_test_func(void){}
6112 int main(){nm_test_var='a';nm_test_func();return(0);}
6115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6116 (eval $ac_compile) 2>&5
6118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119 test $ac_status = 0; }; then
6120 # Now try to grab the symbols.
6122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6123 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6126 test $ac_status = 0; } && test -s "$nlist"; then
6127 # Try sorting and uniquifying the output.
6128 if sort "$nlist" |
uniq > "$nlist"T
; then
6129 mv -f "$nlist"T
"$nlist"
6134 # Make sure that we snagged all the symbols we need.
6135 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6136 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6137 cat <<_LT_EOF > conftest.$ac_ext
6143 # Now generate the symbol file.
6144 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6146 cat <<_LT_EOF >> conftest.$ac_ext
6148 /* The mapping between symbol names and symbols. */
6153 lt__PROGRAM__LTX_preloaded_symbols[] =
6155 { "@PROGRAM@", (void *) 0 },
6157 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6158 cat <<\_LT_EOF
>> conftest.
$ac_ext
6162 /* This works around a problem
in FreeBSD linker
*/
6163 #ifdef FREEBSD_WORKAROUND
6164 static const void
*lt_preloaded_setup
() {
6165 return lt__PROGRAM__LTX_preloaded_symbols
;
6173 # Now try linking the two files.
6174 mv conftest.
$ac_objext conftstm.
$ac_objext
6175 lt_save_LIBS
="$LIBS"
6176 lt_save_CFLAGS
="$CFLAGS"
6177 LIBS
="conftstm.$ac_objext"
6178 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6180 (eval $ac_link) 2>&5
6182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6183 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6186 LIBS
="$lt_save_LIBS"
6187 CFLAGS
="$lt_save_CFLAGS"
6189 echo "cannot find nm_test_func in $nlist" >&5
6192 echo "cannot find nm_test_var in $nlist" >&5
6195 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6198 echo "$progname: failed program was:" >&5
6199 cat conftest.
$ac_ext >&5
6201 rm -rf conftest
* conftst
*
6203 # Do not use the global_symbol_pipe unless it works.
6204 if test "$pipe_works" = yes; then
6207 lt_cv_sys_global_symbol_pipe
=
6213 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6214 lt_cv_sys_global_symbol_to_cdecl
=
6216 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6218 $as_echo "failed" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6221 $as_echo "ok" >&6; }
6246 # Check whether --enable-libtool-lock was given.
6247 if test "${enable_libtool_lock+set}" = set; then :
6248 enableval
=$enable_libtool_lock;
6251 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6253 # Some flags need to be propagated to the compiler or linker for good
6257 # Find out which ABI we are using.
6258 echo 'int i;' > conftest.
$ac_ext
6259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6260 (eval $ac_compile) 2>&5
6262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6263 test $ac_status = 0; }; then
6264 case `/usr/bin/file conftest.$ac_objext` in
6276 # Find out which ABI we are using.
6277 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6279 (eval $ac_compile) 2>&5
6281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6282 test $ac_status = 0; }; then
6283 if test "$lt_cv_prog_gnu_ld" = yes; then
6284 case `/usr/bin/file conftest.$ac_objext` in
6286 LD
="${LD-ld} -melf32bsmip"
6289 LD
="${LD-ld} -melf32bmipn32"
6292 LD
="${LD-ld} -melf64bmip"
6296 case `/usr/bin/file conftest.$ac_objext` in
6312 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6313 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6314 # Find out which ABI we are using.
6315 echo 'int i;' > conftest.
$ac_ext
6316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6317 (eval $ac_compile) 2>&5
6319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6320 test $ac_status = 0; }; then
6321 case `/usr/bin/file conftest.o` in
6324 x86_64-
*kfreebsd
*-gnu)
6325 LD
="${LD-ld} -m elf_i386_fbsd"
6328 LD
="${LD-ld} -m elf_i386"
6330 ppc64-
*linux
*|powerpc64-
*linux
*)
6331 LD
="${LD-ld} -m elf32ppclinux"
6334 LD
="${LD-ld} -m elf_s390"
6337 LD
="${LD-ld} -m elf32_sparc"
6343 x86_64-
*kfreebsd
*-gnu)
6344 LD
="${LD-ld} -m elf_x86_64_fbsd"
6347 LD
="${LD-ld} -m elf_x86_64"
6349 ppc
*-*linux
*|powerpc
*-*linux
*)
6350 LD
="${LD-ld} -m elf64ppc"
6352 s390
*-*linux
*|s390
*-*tpf
*)
6353 LD
="${LD-ld} -m elf64_s390"
6356 LD
="${LD-ld} -m elf64_sparc"
6366 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6367 SAVE_CFLAGS
="$CFLAGS"
6368 CFLAGS
="$CFLAGS -belf"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6370 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6371 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6372 $as_echo_n "(cached) " >&6
6375 ac_cpp
='$CPP $CPPFLAGS'
6376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6391 if ac_fn_c_try_link
"$LINENO"; then :
6392 lt_cv_cc_needs_belf
=yes
6394 lt_cv_cc_needs_belf
=no
6396 rm -f core conftest.err conftest.
$ac_objext \
6397 conftest
$ac_exeext conftest.
$ac_ext
6399 ac_cpp
='$CPP $CPPFLAGS'
6400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6406 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6407 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6408 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6409 CFLAGS
="$SAVE_CFLAGS"
6413 # Find out which ABI we are using.
6414 echo 'int i;' > conftest.
$ac_ext
6415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6416 (eval $ac_compile) 2>&5
6418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6419 test $ac_status = 0; }; then
6420 case `/usr/bin/file conftest.o` in
6422 case $lt_cv_prog_gnu_ld in
6426 LD
="${LD-ld} -m elf_x86_64"
6429 LD
="${LD-ld} -m elf64_sparc"
6432 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6433 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6438 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6450 need_locks
="$enable_libtool_lock"
6454 rhapsody
* | darwin
*)
6455 if test -n "$ac_tool_prefix"; then
6456 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6457 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6459 $as_echo_n "checking for $ac_word... " >&6; }
6460 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6461 $as_echo_n "(cached) " >&6
6463 if test -n "$DSYMUTIL"; then
6464 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6470 test -z "$as_dir" && as_dir
=.
6471 for ac_exec_ext
in '' $ac_executable_extensions; do
6472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6473 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6484 if test -n "$DSYMUTIL"; then
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6486 $as_echo "$DSYMUTIL" >&6; }
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 $as_echo "no" >&6; }
6494 if test -z "$ac_cv_prog_DSYMUTIL"; then
6495 ac_ct_DSYMUTIL
=$DSYMUTIL
6496 # Extract the first word of "dsymutil", so it can be a program name with args.
6497 set dummy dsymutil
; ac_word
=$2
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6501 $as_echo_n "(cached) " >&6
6503 if test -n "$ac_ct_DSYMUTIL"; then
6504 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6510 test -z "$as_dir" && as_dir
=.
6511 for ac_exec_ext
in '' $ac_executable_extensions; do
6512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6513 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6524 if test -n "$ac_ct_DSYMUTIL"; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6526 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
6532 if test "x$ac_ct_DSYMUTIL" = x
; then
6535 case $cross_compiling:$ac_tool_warned in
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6539 ac_tool_warned
=yes ;;
6541 DSYMUTIL
=$ac_ct_DSYMUTIL
6544 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6547 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6549 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6553 $as_echo_n "(cached) " >&6
6555 if test -n "$NMEDIT"; then
6556 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir
=.
6563 for ac_exec_ext
in '' $ac_executable_extensions; do
6564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6565 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 NMEDIT
=$ac_cv_prog_NMEDIT
6576 if test -n "$NMEDIT"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6578 $as_echo "$NMEDIT" >&6; }
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 if test -z "$ac_cv_prog_NMEDIT"; then
6587 ac_ct_NMEDIT
=$NMEDIT
6588 # Extract the first word of "nmedit", so it can be a program name with args.
6589 set dummy nmedit
; ac_word
=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6593 $as_echo_n "(cached) " >&6
6595 if test -n "$ac_ct_NMEDIT"; then
6596 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir
=.
6603 for ac_exec_ext
in '' $ac_executable_extensions; do
6604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6605 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6615 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6616 if test -n "$ac_ct_NMEDIT"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6618 $as_echo "$ac_ct_NMEDIT" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6624 if test "x$ac_ct_NMEDIT" = x
; then
6627 case $cross_compiling:$ac_tool_warned in
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6631 ac_tool_warned
=yes ;;
6633 NMEDIT
=$ac_ct_NMEDIT
6636 NMEDIT
="$ac_cv_prog_NMEDIT"
6639 if test -n "$ac_tool_prefix"; then
6640 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6641 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if test "${ac_cv_prog_LIPO+set}" = set; then :
6645 $as_echo_n "(cached) " >&6
6647 if test -n "$LIPO"; then
6648 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6654 test -z "$as_dir" && as_dir
=.
6655 for ac_exec_ext
in '' $ac_executable_extensions; do
6656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6657 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 LIPO
=$ac_cv_prog_LIPO
6668 if test -n "$LIPO"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6670 $as_echo "$LIPO" >&6; }
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6678 if test -z "$ac_cv_prog_LIPO"; then
6680 # Extract the first word of "lipo", so it can be a program name with args.
6681 set dummy lipo
; ac_word
=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6685 $as_echo_n "(cached) " >&6
6687 if test -n "$ac_ct_LIPO"; then
6688 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6694 test -z "$as_dir" && as_dir
=.
6695 for ac_exec_ext
in '' $ac_executable_extensions; do
6696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6697 ac_cv_prog_ac_ct_LIPO
="lipo"
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6708 if test -n "$ac_ct_LIPO"; then
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6710 $as_echo "$ac_ct_LIPO" >&6; }
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6716 if test "x$ac_ct_LIPO" = x
; then
6719 case $cross_compiling:$ac_tool_warned in
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723 ac_tool_warned
=yes ;;
6728 LIPO
="$ac_cv_prog_LIPO"
6731 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6733 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 $as_echo_n "checking for $ac_word... " >&6; }
6736 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6737 $as_echo_n "(cached) " >&6
6739 if test -n "$OTOOL"; then
6740 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir
=.
6747 for ac_exec_ext
in '' $ac_executable_extensions; do
6748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 OTOOL
=$ac_cv_prog_OTOOL
6760 if test -n "$OTOOL"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6762 $as_echo "$OTOOL" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6770 if test -z "$ac_cv_prog_OTOOL"; then
6772 # Extract the first word of "otool", so it can be a program name with args.
6773 set dummy otool
; ac_word
=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6777 $as_echo_n "(cached) " >&6
6779 if test -n "$ac_ct_OTOOL"; then
6780 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir
=.
6787 for ac_exec_ext
in '' $ac_executable_extensions; do
6788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6789 ac_cv_prog_ac_ct_OTOOL
="otool"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6800 if test -n "$ac_ct_OTOOL"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6802 $as_echo "$ac_ct_OTOOL" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6808 if test "x$ac_ct_OTOOL" = x
; then
6811 case $cross_compiling:$ac_tool_warned in
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6815 ac_tool_warned
=yes ;;
6820 OTOOL
="$ac_cv_prog_OTOOL"
6823 if test -n "$ac_tool_prefix"; then
6824 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6825 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6829 $as_echo_n "(cached) " >&6
6831 if test -n "$OTOOL64"; then
6832 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6838 test -z "$as_dir" && as_dir
=.
6839 for ac_exec_ext
in '' $ac_executable_extensions; do
6840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6841 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 OTOOL64
=$ac_cv_prog_OTOOL64
6852 if test -n "$OTOOL64"; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6854 $as_echo "$OTOOL64" >&6; }
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6862 if test -z "$ac_cv_prog_OTOOL64"; then
6863 ac_ct_OTOOL64
=$OTOOL64
6864 # Extract the first word of "otool64", so it can be a program name with args.
6865 set dummy otool64
; ac_word
=$2
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6867 $as_echo_n "checking for $ac_word... " >&6; }
6868 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6869 $as_echo_n "(cached) " >&6
6871 if test -n "$ac_ct_OTOOL64"; then
6872 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6878 test -z "$as_dir" && as_dir
=.
6879 for ac_exec_ext
in '' $ac_executable_extensions; do
6880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6881 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6892 if test -n "$ac_ct_OTOOL64"; then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6894 $as_echo "$ac_ct_OTOOL64" >&6; }
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 $as_echo "no" >&6; }
6900 if test "x$ac_ct_OTOOL64" = x
; then
6903 case $cross_compiling:$ac_tool_warned in
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned
=yes ;;
6909 OTOOL64
=$ac_ct_OTOOL64
6912 OTOOL64
="$ac_cv_prog_OTOOL64"
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6942 $as_echo_n "checking for -single_module linker flag... " >&6; }
6943 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6944 $as_echo_n "(cached) " >&6
6946 lt_cv_apple_cc_single_mod
=no
6947 if test -z "${LT_MULTI_MODULE}"; then
6948 # By default we will add the -single_module flag. You can override
6949 # by either setting the environment variable LT_MULTI_MODULE
6950 # non-empty at configure time, or by adding -multi_module to the
6952 rm -rf libconftest.dylib
*
6953 echo "int foo(void){return 1;}" > conftest.c
6954 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6955 -dynamiclib -Wl,-single_module conftest.c" >&5
6956 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6957 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6959 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6960 lt_cv_apple_cc_single_mod
=yes
6962 cat conftest.err
>&5
6964 rm -rf libconftest.dylib
*
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6969 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6971 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6972 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6973 $as_echo_n "(cached) " >&6
6975 lt_cv_ld_exported_symbols_list
=no
6976 save_LDFLAGS
=$LDFLAGS
6977 echo "_main" > conftest.sym
6978 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6990 if ac_fn_c_try_link
"$LINENO"; then :
6991 lt_cv_ld_exported_symbols_list
=yes
6993 lt_cv_ld_exported_symbols_list
=no
6995 rm -f core conftest.err conftest.
$ac_objext \
6996 conftest
$ac_exeext conftest.
$ac_ext
6997 LDFLAGS
="$save_LDFLAGS"
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7001 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7003 $as_echo_n "checking for -force_load linker flag... " >&6; }
7004 if test "${lt_cv_ld_force_load+set}" = set; then :
7005 $as_echo_n "(cached) " >&6
7007 lt_cv_ld_force_load
=no
7008 cat > conftest.c
<< _LT_EOF
7009 int forced_loaded() { return 2;}
7011 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7012 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7013 echo "$AR cru libconftest.a conftest.o" >&5
7014 $AR cru libconftest.a conftest.o
2>&5
7015 cat > conftest.c
<< _LT_EOF
7016 int main() { return 0;}
7018 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7019 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7021 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7022 lt_cv_ld_force_load
=yes
7024 cat conftest.err
>&5
7026 rm -f conftest.err libconftest.a conftest conftest.c
7027 rm -rf conftest.dSYM
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7031 $as_echo "$lt_cv_ld_force_load" >&6; }
7033 rhapsody
* | darwin1.
[012])
7034 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7036 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7037 darwin
*) # darwin 5.x on
7038 # if running on 10.5 or later, the deployment target defaults
7039 # to the OS version, if on x86, and 10.4, the deployment
7040 # target defaults to 10.4. Don't you love it?
7041 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7042 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7043 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7045 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7047 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7051 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7052 _lt_dar_single_mod
='$single_module'
7054 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7055 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7057 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7059 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7060 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7068 ac_cpp
='$CPP $CPPFLAGS'
7069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7073 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7074 # On Suns, sometimes $CPP names a directory.
7075 if test -n "$CPP" && test -d "$CPP"; then
7078 if test -z "$CPP"; then
7079 if test "${ac_cv_prog_CPP+set}" = set; then :
7080 $as_echo_n "(cached) " >&6
7082 # Double quotes because CPP needs to be expanded
7083 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7086 for ac_c_preproc_warn_flag
in '' yes
7088 # Use a header file that comes with gcc, so configuring glibc
7089 # with a fresh cross-compiler works.
7090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7091 # <limits.h> exists even on freestanding compilers.
7092 # On the NeXT, cc -E runs the code through the compiler's parser,
7093 # not just through cpp. "Syntax error" is here to catch this case.
7094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7097 # include <limits.h>
7099 # include <assert.h>
7103 if ac_fn_c_try_cpp
"$LINENO"; then :
7106 # Broken: fails on valid input.
7109 rm -f conftest.err conftest.
$ac_ext
7111 # OK, works on sane cases. Now check whether nonexistent headers
7112 # can be detected and how.
7113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 #include <ac_nonexistent.h>
7117 if ac_fn_c_try_cpp
"$LINENO"; then :
7118 # Broken: success on invalid input.
7121 # Passes both tests.
7125 rm -f conftest.err conftest.
$ac_ext
7128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7129 rm -f conftest.err conftest.
$ac_ext
7130 if $ac_preproc_ok; then :
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7143 $as_echo "$CPP" >&6; }
7145 for ac_c_preproc_warn_flag
in '' yes
7147 # Use a header file that comes with gcc, so configuring glibc
7148 # with a fresh cross-compiler works.
7149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7150 # <limits.h> exists even on freestanding compilers.
7151 # On the NeXT, cc -E runs the code through the compiler's parser,
7152 # not just through cpp. "Syntax error" is here to catch this case.
7153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7156 # include <limits.h>
7158 # include <assert.h>
7162 if ac_fn_c_try_cpp
"$LINENO"; then :
7165 # Broken: fails on valid input.
7168 rm -f conftest.err conftest.
$ac_ext
7170 # OK, works on sane cases. Now check whether nonexistent headers
7171 # can be detected and how.
7172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7174 #include <ac_nonexistent.h>
7176 if ac_fn_c_try_cpp
"$LINENO"; then :
7177 # Broken: success on invalid input.
7180 # Passes both tests.
7184 rm -f conftest.err conftest.
$ac_ext
7187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7188 rm -f conftest.err conftest.
$ac_ext
7189 if $ac_preproc_ok; then :
7192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7194 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7195 See \`config.log' for more details." "$LINENO" 5; }
7199 ac_cpp
='$CPP $CPPFLAGS'
7200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7206 $as_echo_n "checking for ANSI C header files... " >&6; }
7207 if test "${ac_cv_header_stdc+set}" = set; then :
7208 $as_echo_n "(cached) " >&6
7210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7225 if ac_fn_c_try_compile
"$LINENO"; then :
7226 ac_cv_header_stdc
=yes
7228 ac_cv_header_stdc
=no
7230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7232 if test $ac_cv_header_stdc = yes; then
7233 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7235 /* end confdefs.h. */
7239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7240 $EGREP "memchr" >/dev
/null
2>&1; then :
7243 ac_cv_header_stdc
=no
7249 if test $ac_cv_header_stdc = yes; then
7250 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7252 /* end confdefs.h. */
7256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7257 $EGREP "free" >/dev
/null
2>&1; then :
7260 ac_cv_header_stdc
=no
7266 if test $ac_cv_header_stdc = yes; then
7267 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7268 if test "$cross_compiling" = yes; then :
7271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7275 #if ((' ' & 0x0FF) == 0x020)
7276 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7277 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7279 # define ISLOWER(c) \
7280 (('a' <= (c) && (c) <= 'i') \
7281 || ('j' <= (c) && (c) <= 'r') \
7282 || ('s' <= (c) && (c) <= 'z'))
7283 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7286 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7291 for (i = 0; i < 256; i++)
7292 if (XOR (islower (i), ISLOWER (i))
7293 || toupper (i) != TOUPPER (i))
7298 if ac_fn_c_try_run
"$LINENO"; then :
7301 ac_cv_header_stdc
=no
7303 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7304 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7310 $as_echo "$ac_cv_header_stdc" >&6; }
7311 if test $ac_cv_header_stdc = yes; then
7313 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7317 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7318 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7319 inttypes.h stdint.h unistd.h
7321 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7322 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7324 eval as_val
=\$
$as_ac_Header
7325 if test "x$as_val" = x
""yes; then :
7326 cat >>confdefs.h
<<_ACEOF
7327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7335 for ac_header
in dlfcn.h
7337 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7339 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7340 cat >>confdefs.h
<<_ACEOF
7341 #define HAVE_DLFCN_H 1
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7350 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_GOC+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7356 if test -n "$GOC"; then
7357 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir
=.
7364 for ac_exec_ext
in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 if test -n "$GOC"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7379 $as_echo "$GOC" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 if test -z "$ac_cv_prog_GOC"; then
7389 # Extract the first word of "gccgo", so it can be a program name with args.
7390 set dummy gccgo
; ac_word
=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7396 if test -n "$ac_ct_GOC"; then
7397 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 test -z "$as_dir" && as_dir
=.
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_ac_ct_GOC
="gccgo"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7417 if test -n "$ac_ct_GOC"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7419 $as_echo "$ac_ct_GOC" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7425 if test "x$ac_ct_GOC" = x
; then
7428 case $cross_compiling:$ac_tool_warned in
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned
=yes ;;
7437 GOC
="$ac_cv_prog_GOC"
7453 # Check whether --enable-shared was given.
7454 if test "${enable_shared+set}" = set; then :
7455 enableval
=$enable_shared; p
=${PACKAGE-default}
7457 yes) enable_shared
=yes ;;
7458 no
) enable_shared
=no
;;
7461 # Look at the argument we got. We use all the common list separators.
7462 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7463 for pkg
in $enableval; do
7465 if test "X$pkg" = "X$p"; then
7484 # Check whether --enable-static was given.
7485 if test "${enable_static+set}" = set; then :
7486 enableval
=$enable_static; p
=${PACKAGE-default}
7488 yes) enable_static
=yes ;;
7489 no
) enable_static
=no
;;
7492 # Look at the argument we got. We use all the common list separators.
7493 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7494 for pkg
in $enableval; do
7496 if test "X$pkg" = "X$p"; then
7516 # Check whether --with-pic was given.
7517 if test "${with_pic+set}" = set; then :
7518 withval
=$with_pic; pic_mode
="$withval"
7524 test -z "$pic_mode" && pic_mode
=default
7532 # Check whether --enable-fast-install was given.
7533 if test "${enable_fast_install+set}" = set; then :
7534 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7536 yes) enable_fast_install
=yes ;;
7537 no
) enable_fast_install
=no
;;
7539 enable_fast_install
=no
7540 # Look at the argument we got. We use all the common list separators.
7541 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7542 for pkg
in $enableval; do
7544 if test "X$pkg" = "X$p"; then
7545 enable_fast_install
=yes
7552 enable_fast_install
=yes
7565 # This can be used to rebuild libtool when needed
7566 LIBTOOL_DEPS
="$ltmain"
7568 # Always use our own libtool.
7569 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7596 test -z "$LN_S" && LN_S
="ln -s"
7611 if test -n "${ZSH_VERSION+set}" ; then
7612 setopt NO_GLOB_SUBST
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7616 $as_echo_n "checking for objdir... " >&6; }
7617 if test "${lt_cv_objdir+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7620 rm -f .libs
2>/dev
/null
7621 mkdir .libs
2>/dev
/null
7622 if test -d .libs
; then
7625 # MS-DOS does not allow filenames that begin with a dot.
7628 rmdir .libs
2>/dev
/null
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7631 $as_echo "$lt_cv_objdir" >&6; }
7632 objdir
=$lt_cv_objdir
7638 cat >>confdefs.h
<<_ACEOF
7639 #define LT_OBJDIR "$lt_cv_objdir/"
7647 # AIX sometimes has problems with the GCC collect2 program. For some
7648 # reason, if we set the COLLECT_NAMES environment variable, the problems
7649 # vanish in a puff of smoke.
7650 if test "X${COLLECT_NAMES+set}" != Xset
; then
7652 export COLLECT_NAMES
7659 can_build_shared
=yes
7661 # All known linkers require a `.a' archive for static linking (except MSVC,
7662 # which needs '.lib').
7665 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7668 old_CFLAGS
="$CFLAGS"
7670 # Set sane defaults for various variables
7671 test -z "$CC" && CC
=cc
7672 test -z "$LTCC" && LTCC
=$CC
7673 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7674 test -z "$LD" && LD
=ld
7675 test -z "$ac_objext" && ac_objext
=o
7677 for cc_temp
in $compiler""; do
7679 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7680 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7685 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7688 # Only perform the check for file, if the check method requires it
7689 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7690 case $deplibs_check_method in
7692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7694 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7695 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7696 $as_echo_n "(cached) " >&6
7700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7703 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7704 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7705 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7706 for ac_dir
in $ac_dummy; do
7708 test -z "$ac_dir" && ac_dir
=.
7709 if test -f $ac_dir/${ac_tool_prefix}file; then
7710 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7711 if test -n "$file_magic_test_file"; then
7712 case $deplibs_check_method in
7714 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7715 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7716 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7717 $EGREP "$file_magic_regex" > /dev
/null
; then
7722 *** Warning: the command libtool uses to detect shared libraries,
7723 *** $file_magic_cmd, produces output that libtool cannot recognize.
7724 *** The result is that libtool may fail to recognize shared libraries
7725 *** as such. This will affect the creation of libtool libraries that
7726 *** depend on shared libraries, but programs linked with such libtool
7727 *** libraries will work regardless of this problem. Nevertheless, you
7728 *** may want to report the problem to your system manager and/or to
7729 *** bug-libtool@gnu.org
7739 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7744 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7745 if test -n "$MAGIC_CMD"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7747 $as_echo "$MAGIC_CMD" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7757 if test -z "$lt_cv_path_MAGIC_CMD"; then
7758 if test -n "$ac_tool_prefix"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7760 $as_echo_n "checking for file... " >&6; }
7761 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7766 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7769 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7770 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7771 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7772 for ac_dir
in $ac_dummy; do
7774 test -z "$ac_dir" && ac_dir
=.
7775 if test -f $ac_dir/file; then
7776 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7777 if test -n "$file_magic_test_file"; then
7778 case $deplibs_check_method in
7780 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7781 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7782 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7783 $EGREP "$file_magic_regex" > /dev
/null
; then
7788 *** Warning: the command libtool uses to detect shared libraries,
7789 *** $file_magic_cmd, produces output that libtool cannot recognize.
7790 *** The result is that libtool may fail to recognize shared libraries
7791 *** as such. This will affect the creation of libtool libraries that
7792 *** depend on shared libraries, but programs linked with such libtool
7793 *** libraries will work regardless of this problem. Nevertheless, you
7794 *** may want to report the problem to your system manager and/or to
7795 *** bug-libtool@gnu.org
7805 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7810 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7811 if test -n "$MAGIC_CMD"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7813 $as_echo "$MAGIC_CMD" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7829 # Use C for the default configuration in the libtool script
7833 ac_cpp
='$CPP $CPPFLAGS'
7834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7839 # Source file extension for C test sources.
7842 # Object file extension for compiled C test sources.
7846 # Code to be used in simple compile tests
7847 lt_simple_compile_test_code
="int some_variable = 0;"
7849 # Code to be used in simple link tests
7850 lt_simple_link_test_code
='int main(){return(0);}'
7858 # If no C compiler was specified, use CC.
7861 # If no C compiler flags were specified, use CFLAGS.
7862 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7864 # Allow CC to be a program name with arguments.
7867 # Save the default compiler, since it gets overwritten when the other
7868 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7869 compiler_DEFAULT
=$CC
7871 # save warnings/boilerplate of simple test code
7872 ac_outfile
=conftest.
$ac_objext
7873 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7874 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7875 _lt_compiler_boilerplate
=`cat conftest.err`
7878 ac_outfile
=conftest.
$ac_objext
7879 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7880 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7881 _lt_linker_boilerplate
=`cat conftest.err`
7886 ## There is no encapsulation within the following macros, do not change
7887 ## the running order or otherwise move them around unless you know exactly
7888 ## what you are doing...
7889 if test -n "$compiler"; then
7891 lt_prog_compiler_no_builtin_flag
=
7893 if test "$GCC" = yes; then
7894 case $cc_basename in
7896 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7898 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7902 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7903 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7904 $as_echo_n "(cached) " >&6
7906 lt_cv_prog_compiler_rtti_exceptions
=no
7907 ac_outfile
=conftest.
$ac_objext
7908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7909 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7910 # Insert the option either (1) after the last *FLAGS variable, or
7911 # (2) before a word containing "conftest.", or (3) at the end.
7912 # Note that $ac_compile itself does not contain backslashes and begins
7913 # with a dollar sign (not a hyphen), so the echo should work correctly.
7914 # The option is referenced via a variable to avoid confusing sed.
7915 lt_compile
=`echo "$ac_compile" | $SED \
7916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7918 -e 's:$: $lt_compiler_flag:'`
7919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7920 (eval "$lt_compile" 2>conftest.err
)
7922 cat conftest.err
>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 if (exit $ac_status) && test -s "$ac_outfile"; then
7925 # The compiler can only warn and ignore the option if not recognized
7926 # So say no if there are warnings other than the usual output.
7927 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7928 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7929 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7930 lt_cv_prog_compiler_rtti_exceptions
=yes
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7937 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7939 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7940 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7952 lt_prog_compiler_wl
=
7953 lt_prog_compiler_pic
=
7954 lt_prog_compiler_static
=
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7957 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7959 if test "$GCC" = yes; then
7960 lt_prog_compiler_wl
='-Wl,'
7961 lt_prog_compiler_static
='-static'
7965 # All AIX code is PIC.
7966 if test "$host_cpu" = ia64
; then
7967 # AIX 5 now supports IA64 processor
7968 lt_prog_compiler_static
='-Bstatic'
7975 # see comment about AmigaOS4 .so support
7976 lt_prog_compiler_pic
='-fPIC'
7979 # FIXME: we need at least 68020 code to build shared libraries, but
7980 # adding the `-m68020' flag to GCC prevents building anything better,
7982 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7987 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7988 # PIC is the default for these OSes.
7991 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7992 # This hack is so that the source file can tell whether it is being
7993 # built for inclusion in a dll (and should export symbols for example).
7994 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7995 # (--disable-auto-import) libraries
7996 lt_prog_compiler_pic
='-DDLL_EXPORT'
7999 darwin
* | rhapsody
*)
8000 # PIC is the default on this platform
8001 # Common symbols not allowed in MH_DYLIB files
8002 lt_prog_compiler_pic
='-fno-common'
8006 # PIC is the default for Haiku.
8007 # The "-static" flag exists, but is broken.
8008 lt_prog_compiler_static
=
8012 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8013 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8014 # sets the default TLS model and affects inlining.
8020 lt_prog_compiler_pic
='-fPIC'
8026 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8027 # Instead, we relocate shared libraries at runtime.
8031 # Just because we use GCC doesn't mean we suddenly get shared libraries
8032 # on systems that don't support them.
8033 lt_prog_compiler_can_build_shared
=no
8038 # QNX uses GNU C++, but need to define -shared option too, otherwise
8040 lt_prog_compiler_pic
='-fPIC -shared'
8044 if test -d /usr
/nec
; then
8045 lt_prog_compiler_pic
=-Kconform_pic
8050 lt_prog_compiler_pic
='-fPIC'
8054 case $cc_basename in
8055 nvcc
*) # Cuda Compiler Driver 2.2
8056 lt_prog_compiler_wl
='-Xlinker '
8057 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8061 # PORTME Check for flag to pass linker flags through the system compiler.
8064 lt_prog_compiler_wl
='-Wl,'
8065 if test "$host_cpu" = ia64
; then
8066 # AIX 5 now supports IA64 processor
8067 lt_prog_compiler_static
='-Bstatic'
8069 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8073 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8074 # This hack is so that the source file can tell whether it is being
8075 # built for inclusion in a dll (and should export symbols for example).
8076 lt_prog_compiler_pic
='-DDLL_EXPORT'
8079 hpux9
* | hpux10
* | hpux11
*)
8080 lt_prog_compiler_wl
='-Wl,'
8081 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8088 lt_prog_compiler_pic
='+Z'
8091 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8092 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8095 irix5
* | irix6
* | nonstopux
*)
8096 lt_prog_compiler_wl
='-Wl,'
8097 # PIC (with -KPIC) is the default.
8098 lt_prog_compiler_static
='-non_shared'
8101 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8102 case $cc_basename in
8103 # old Intel for x86_64 which still supported -KPIC.
8105 lt_prog_compiler_wl
='-Wl,'
8106 lt_prog_compiler_pic
='-KPIC'
8107 lt_prog_compiler_static
='-static'
8109 # icc used to be incompatible with GCC.
8110 # ICC 10 doesn't accept -KPIC any more.
8112 lt_prog_compiler_wl
='-Wl,'
8113 lt_prog_compiler_pic
='-fPIC'
8114 lt_prog_compiler_static
='-static'
8116 # Lahey Fortran 8.1.
8118 lt_prog_compiler_wl
='-Wl,'
8119 lt_prog_compiler_pic
='--shared'
8120 lt_prog_compiler_static
='--static'
8122 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8123 # Portland Group compilers (*not* the Pentium gcc compiler,
8124 # which looks to be a dead project)
8125 lt_prog_compiler_wl
='-Wl,'
8126 lt_prog_compiler_pic
='-fpic'
8127 lt_prog_compiler_static
='-Bstatic'
8130 lt_prog_compiler_wl
='-Wl,'
8131 # All Alpha code is PIC.
8132 lt_prog_compiler_static
='-non_shared'
8134 xl
* | bgxl
* | bgf
* | mpixl
*)
8135 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8136 lt_prog_compiler_wl
='-Wl,'
8137 lt_prog_compiler_pic
='-qpic'
8138 lt_prog_compiler_static
='-qstaticlink'
8141 case `$CC -V 2>&1 | sed 5q` in
8142 *Sun\ F
* |
*Sun
*Fortran
*)
8143 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8144 lt_prog_compiler_pic
='-KPIC'
8145 lt_prog_compiler_static
='-Bstatic'
8146 lt_prog_compiler_wl
=''
8150 lt_prog_compiler_pic
='-KPIC'
8151 lt_prog_compiler_static
='-Bstatic'
8152 lt_prog_compiler_wl
='-Wl,'
8160 lt_prog_compiler_pic
='-KPIC'
8161 lt_prog_compiler_static
='-Bstatic'
8165 # QNX uses GNU C++, but need to define -shared option too, otherwise
8167 lt_prog_compiler_pic
='-fPIC -shared'
8170 osf3
* | osf4
* | osf5
*)
8171 lt_prog_compiler_wl
='-Wl,'
8172 # All OSF/1 code is PIC.
8173 lt_prog_compiler_static
='-non_shared'
8177 lt_prog_compiler_static
='-non_shared'
8181 lt_prog_compiler_pic
='-KPIC'
8182 lt_prog_compiler_static
='-Bstatic'
8183 case $cc_basename in
8185 lt_prog_compiler_wl
='-Qoption ld ';;
8187 lt_prog_compiler_wl
='-Wl,';;
8192 lt_prog_compiler_wl
='-Qoption ld '
8193 lt_prog_compiler_pic
='-PIC'
8194 lt_prog_compiler_static
='-Bstatic'
8197 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8198 lt_prog_compiler_wl
='-Wl,'
8199 lt_prog_compiler_pic
='-KPIC'
8200 lt_prog_compiler_static
='-Bstatic'
8204 if test -d /usr
/nec
;then
8205 lt_prog_compiler_pic
='-Kconform_pic'
8206 lt_prog_compiler_static
='-Bstatic'
8210 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8211 lt_prog_compiler_wl
='-Wl,'
8212 lt_prog_compiler_pic
='-KPIC'
8213 lt_prog_compiler_static
='-Bstatic'
8217 lt_prog_compiler_wl
='-Wl,'
8218 lt_prog_compiler_can_build_shared
=no
8222 lt_prog_compiler_pic
='-pic'
8223 lt_prog_compiler_static
='-Bstatic'
8227 lt_prog_compiler_can_build_shared
=no
8233 # For platforms which do not support PIC, -DPIC is meaningless:
8235 lt_prog_compiler_pic
=
8238 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8242 $as_echo "$lt_prog_compiler_pic" >&6; }
8250 # Check to make sure the PIC flag actually works.
8252 if test -n "$lt_prog_compiler_pic"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8254 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8255 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8256 $as_echo_n "(cached) " >&6
8258 lt_cv_prog_compiler_pic_works
=no
8259 ac_outfile
=conftest.
$ac_objext
8260 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8261 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8262 # Insert the option either (1) after the last *FLAGS variable, or
8263 # (2) before a word containing "conftest.", or (3) at the end.
8264 # Note that $ac_compile itself does not contain backslashes and begins
8265 # with a dollar sign (not a hyphen), so the echo should work correctly.
8266 # The option is referenced via a variable to avoid confusing sed.
8267 lt_compile
=`echo "$ac_compile" | $SED \
8268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8270 -e 's:$: $lt_compiler_flag:'`
8271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8272 (eval "$lt_compile" 2>conftest.err
)
8274 cat conftest.err
>&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 if (exit $ac_status) && test -s "$ac_outfile"; then
8277 # The compiler can only warn and ignore the option if not recognized
8278 # So say no if there are warnings other than the usual output.
8279 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8280 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8281 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8282 lt_cv_prog_compiler_pic_works
=yes
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8289 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8291 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8292 case $lt_prog_compiler_pic in
8294 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8297 lt_prog_compiler_pic
=
8298 lt_prog_compiler_can_build_shared
=no
8309 # Check to make sure the static flag actually works.
8311 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8313 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8314 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8315 $as_echo_n "(cached) " >&6
8317 lt_cv_prog_compiler_static_works
=no
8318 save_LDFLAGS
="$LDFLAGS"
8319 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8320 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8321 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8322 # The linker can only warn and ignore the option if not recognized
8323 # So say no if there are warnings
8324 if test -s conftest.err
; then
8325 # Append any errors to the config.log.
8326 cat conftest.err
1>&5
8327 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8328 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8329 if diff conftest.exp conftest.er2
>/dev
/null
; then
8330 lt_cv_prog_compiler_static_works
=yes
8333 lt_cv_prog_compiler_static_works
=yes
8337 LDFLAGS
="$save_LDFLAGS"
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8341 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8343 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8346 lt_prog_compiler_static
=
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8356 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8357 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8358 $as_echo_n "(cached) " >&6
8360 lt_cv_prog_compiler_c_o
=no
8361 $RM -r conftest
2>/dev
/null
8365 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8367 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8368 # Insert the option either (1) after the last *FLAGS variable, or
8369 # (2) before a word containing "conftest.", or (3) at the end.
8370 # Note that $ac_compile itself does not contain backslashes and begins
8371 # with a dollar sign (not a hyphen), so the echo should work correctly.
8372 lt_compile
=`echo "$ac_compile" | $SED \
8373 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8375 -e 's:$: $lt_compiler_flag:'`
8376 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8377 (eval "$lt_compile" 2>out
/conftest.err
)
8379 cat out
/conftest.err
>&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8383 # The compiler can only warn and ignore the option if not recognized
8384 # So say no if there are warnings
8385 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8386 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8387 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8388 lt_cv_prog_compiler_c_o
=yes
8393 # SGI C++ compiler will create directory out/ii_files/ for
8394 # template instantiation
8395 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8396 $RM out
/* && rmdir out
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8403 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8411 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8412 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8413 $as_echo_n "(cached) " >&6
8415 lt_cv_prog_compiler_c_o
=no
8416 $RM -r conftest
2>/dev
/null
8420 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8422 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8423 # Insert the option either (1) after the last *FLAGS variable, or
8424 # (2) before a word containing "conftest.", or (3) at the end.
8425 # Note that $ac_compile itself does not contain backslashes and begins
8426 # with a dollar sign (not a hyphen), so the echo should work correctly.
8427 lt_compile
=`echo "$ac_compile" | $SED \
8428 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8429 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8430 -e 's:$: $lt_compiler_flag:'`
8431 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8432 (eval "$lt_compile" 2>out
/conftest.err
)
8434 cat out
/conftest.err
>&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8438 # The compiler can only warn and ignore the option if not recognized
8439 # So say no if there are warnings
8440 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8441 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8442 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8443 lt_cv_prog_compiler_c_o
=yes
8448 # SGI C++ compiler will create directory out/ii_files/ for
8449 # template instantiation
8450 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8451 $RM out
/* && rmdir out
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8458 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8463 hard_links
="nottested"
8464 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8465 # do not overwrite the value of need_locks provided by the user
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8467 $as_echo_n "checking if we can lock with hard links... " >&6; }
8470 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8472 ln conftest.a conftest.b
2>&5 || hard_links
=no
8473 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8475 $as_echo "$hard_links" >&6; }
8476 if test "$hard_links" = no
; then
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8478 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8491 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8494 allow_undefined_flag
=
8495 always_export_symbols
=no
8497 archive_expsym_cmds
=
8498 compiler_needs_object
=no
8499 enable_shared_with_static_runtimes
=no
8500 export_dynamic_flag_spec
=
8501 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8502 hardcode_automatic
=no
8504 hardcode_direct_absolute
=no
8505 hardcode_libdir_flag_spec
=
8506 hardcode_libdir_flag_spec_ld
=
8507 hardcode_libdir_separator
=
8509 hardcode_shlibpath_var
=unsupported
8511 link_all_deplibs
=unknown
8514 old_archive_from_new_cmds
=
8515 old_archive_from_expsyms_cmds
=
8516 thread_safe_flag_spec
=
8517 whole_archive_flag_spec
=
8518 # include_expsyms should be a list of space-separated symbols to be *always*
8519 # included in the symbol list
8521 # exclude_expsyms can be an extended regexp of symbols to exclude
8522 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8523 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8524 # as well as any symbol that contains `d'.
8525 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8526 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8527 # platforms (ab)use it in PIC code, but their linkers get confused if
8528 # the symbol is explicitly referenced. Since portable code cannot
8529 # rely on this symbol name, it's probably fine to never include it in
8530 # preloaded symbol tables.
8531 # Exclude shared library initialization/finalization symbols.
8532 extract_expsyms_cmds
=
8535 cygwin
* | mingw
* | pw32
* | cegcc
*)
8536 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8537 # When not using gcc, we currently assume that we are using
8538 # Microsoft Visual C++.
8539 if test "$GCC" != yes; then
8544 # we just hope/assume this is gcc and not c89 (= MSVC++)
8554 # On some targets, GNU ld is compatible enough with the native linker
8555 # that we're better off using the native interface for both.
8556 lt_use_gnu_ld_interface
=no
8557 if test "$with_gnu_ld" = yes; then
8560 # The AIX port of GNU ld has always aspired to compatibility
8561 # with the native linker. However, as the warning in the GNU ld
8562 # block says, versions before 2.19.5* couldn't really create working
8563 # shared libraries, regardless of the interface used.
8564 case `$LD -v 2>&1` in
8565 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8566 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8567 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8569 lt_use_gnu_ld_interface
=yes
8574 lt_use_gnu_ld_interface
=yes
8579 if test "$lt_use_gnu_ld_interface" = yes; then
8580 # If archive_cmds runs LD, not CC, wlarc should be empty
8583 # Set some defaults for GNU ld with shared library support. These
8584 # are reset later if shared libraries are not supported. Putting them
8585 # here allows them to be overridden if necessary.
8586 runpath_var
=LD_RUN_PATH
8587 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8588 export_dynamic_flag_spec
='${wl}--export-dynamic'
8589 # ancient GNU ld didn't support --whole-archive et. al.
8590 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8591 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8593 whole_archive_flag_spec
=
8595 supports_anon_versioning
=no
8596 case `$LD -v 2>&1` in
8597 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8598 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8599 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8600 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8601 *\
2.11.
*) ;; # other 2.11 versions
8602 *) supports_anon_versioning
=yes ;;
8605 # See if GNU ld supports shared libraries.
8608 # On AIX/PPC, the GNU linker is very broken
8609 if test "$host_cpu" != ia64
; then
8613 *** Warning: the GNU linker, at least up to release 2.19, is reported
8614 *** to be unable to reliably create shared libraries on AIX.
8615 *** Therefore, libtool is disabling shared libraries support. If you
8616 *** really care for shared libraries, you may want to install binutils
8617 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8618 *** You will then need to restart the configuration process.
8627 # see comment about AmigaOS4 .so support
8628 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8629 archive_expsym_cmds
=''
8632 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)'
8633 hardcode_libdir_flag_spec
='-L$libdir'
8634 hardcode_minus_L
=yes
8640 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8641 allow_undefined_flag
=unsupported
8642 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8643 # support --undefined. This deserves some investigation. FIXME
8644 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8650 cygwin
* | mingw
* | pw32
* | cegcc
*)
8651 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8652 # as there is no search path for DLLs.
8653 hardcode_libdir_flag_spec
='-L$libdir'
8654 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8655 allow_undefined_flag
=unsupported
8656 always_export_symbols
=no
8657 enable_shared_with_static_runtimes
=yes
8658 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8660 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8661 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8662 # If the export-symbols file already is a .def file (1st line
8663 # is EXPORTS), use it as is; otherwise, prepend...
8664 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8665 cp $export_symbols $output_objdir/$soname.def;
8667 echo EXPORTS > $output_objdir/$soname.def;
8668 cat $export_symbols >> $output_objdir/$soname.def;
8670 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8677 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8678 link_all_deplibs
=yes
8683 hardcode_shlibpath_var
=no
8684 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8685 export_dynamic_flag_spec
='${wl}-E'
8686 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8687 # Instead, shared libraries are loaded at an image base (0x10000000 by
8688 # default) and relocated if they conflict, which is a slow very memory
8689 # consuming and fragmenting process. To avoid this, we pick a random,
8690 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8691 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8692 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8693 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'
8696 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8698 if test "$host_os" = linux-dietlibc
; then
8699 case $cc_basename in
8700 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8703 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8704 && test "$tmp_diet" = no
8707 tmp_sharedflag
='-shared'
8708 case $cc_basename,$host_cpu in
8709 pgcc
*) # Portland Group C compiler
8710 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'
8711 tmp_addflag
=' $pic_flag'
8713 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8714 # Portland Group f77 and f90 compilers
8715 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'
8716 tmp_addflag
=' $pic_flag -Mnomain' ;;
8717 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8718 tmp_addflag
=' -i_dynamic' ;;
8719 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8720 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8721 ifc
* | ifort
*) # Intel Fortran compiler
8722 tmp_addflag
=' -nofor_main' ;;
8723 lf95
*) # Lahey Fortran 8.1
8724 whole_archive_flag_spec
=
8725 tmp_sharedflag
='--shared' ;;
8726 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8727 tmp_sharedflag
='-qmkshrobj'
8729 nvcc
*) # Cuda Compiler Driver 2.2
8730 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'
8731 compiler_needs_object
=yes
8734 case `$CC -V 2>&1 | sed 5q` in
8735 *Sun\ C
*) # Sun C 5.9
8736 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'
8737 compiler_needs_object
=yes
8738 tmp_sharedflag
='-G' ;;
8739 *Sun\ F
*) # Sun Fortran 8.3
8740 tmp_sharedflag
='-G' ;;
8742 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8744 if test "x$supports_anon_versioning" = xyes
; then
8745 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8746 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8747 echo "local: *; };" >> $output_objdir/$libname.ver~
8748 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8751 case $cc_basename in
8752 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8753 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8754 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8755 hardcode_libdir_flag_spec
=
8756 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8757 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8758 if test "x$supports_anon_versioning" = xyes
; then
8759 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8760 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8761 echo "local: *; };" >> $output_objdir/$libname.ver~
8762 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8772 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8773 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8776 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8777 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8782 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8786 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8787 *** create shared libraries on Solaris systems. Therefore, libtool
8788 *** is disabling shared libraries support. We urge you to upgrade GNU
8789 *** binutils to release 2.9.1 or newer. Another option is to modify
8790 *** your PATH or compiler configuration so that the native linker is
8791 *** used, and then restart.
8794 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8795 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8796 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8802 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8803 case `$LD -v 2>&1` in
8804 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8808 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8809 *** reliably create shared libraries on SCO systems. Therefore, libtool
8810 *** is disabling shared libraries support. We urge you to upgrade GNU
8811 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8812 *** your PATH or compiler configuration so that the native linker is
8813 *** used, and then restart.
8818 # For security reasons, it is highly recommended that you always
8819 # use absolute paths for naming shared libraries, and exclude the
8820 # DT_RUNPATH tag from executables and libraries. But doing so
8821 # requires that you compile everything twice, which is a pain.
8822 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8823 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8824 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8825 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8834 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8837 hardcode_shlibpath_var
=no
8841 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8842 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8850 if test "$ld_shlibs" = no
; then
8852 hardcode_libdir_flag_spec
=
8853 export_dynamic_flag_spec
=
8854 whole_archive_flag_spec
=
8857 # PORTME fill in a description of your system's linker (not GNU ld)
8860 allow_undefined_flag
=unsupported
8861 always_export_symbols
=yes
8862 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'
8863 # Note: this linker hardcodes the directories in LIBPATH if there
8864 # are no directories specified by -L.
8865 hardcode_minus_L
=yes
8866 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8867 # Neither direct hardcoding nor static linking is supported with a
8869 hardcode_direct
=unsupported
8874 if test "$host_cpu" = ia64
; then
8875 # On IA64, the linker does run time linking by default, so we don't
8876 # have to do anything special.
8877 aix_use_runtimelinking
=no
8878 exp_sym_flag
='-Bexport'
8881 # If we're using GNU nm, then we don't want the "-C" option.
8882 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8883 # Also, AIX nm treats weak defined symbols like other global
8884 # defined symbols, whereas GNU nm marks them as "W".
8885 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8886 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'
8888 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'
8890 aix_use_runtimelinking
=no
8892 # Test if we are trying to use run time linking or normal
8893 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8894 # need to do runtime linking.
8895 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8896 for ld_flag
in $LDFLAGS; do
8897 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8898 aix_use_runtimelinking
=yes
8905 exp_sym_flag
='-bexport'
8906 no_entry_flag
='-bnoentry'
8909 # When large executables or shared objects are built, AIX ld can
8910 # have problems creating the table of contents. If linking a library
8911 # or program results in "error TOC overflow" add -mminimal-toc to
8912 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8913 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8917 hardcode_direct_absolute
=yes
8918 hardcode_libdir_separator
=':'
8919 link_all_deplibs
=yes
8920 file_list_spec
='${wl}-f,'
8922 if test "$GCC" = yes; then
8923 case $host_os in aix4.
[012]|aix4.
[012].
*)
8924 # We only want to do this on AIX 4.2 and lower, the check
8925 # below for broken collect2 doesn't work under 4.3+
8926 collect2name
=`${CC} -print-prog-name=collect2`
8927 if test -f "$collect2name" &&
8928 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8930 # We have reworked collect2
8933 # We have old collect2
8934 hardcode_direct
=unsupported
8935 # It fails to find uninstalled libraries when the uninstalled
8936 # path is not listed in the libpath. Setting hardcode_minus_L
8937 # to unsupported forces relinking
8938 hardcode_minus_L
=yes
8939 hardcode_libdir_flag_spec
='-L$libdir'
8940 hardcode_libdir_separator
=
8944 shared_flag
='-shared'
8945 if test "$aix_use_runtimelinking" = yes; then
8946 shared_flag
="$shared_flag "'${wl}-G'
8950 if test "$host_cpu" = ia64
; then
8951 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8952 # chokes on -Wl,-G. The following line is correct:
8955 if test "$aix_use_runtimelinking" = yes; then
8956 shared_flag
='${wl}-G'
8958 shared_flag
='${wl}-bM:SRE'
8963 export_dynamic_flag_spec
='${wl}-bexpall'
8964 # It seems that -bexpall does not export symbols beginning with
8965 # underscore (_), so it is better to generate a list of symbols to export.
8966 always_export_symbols
=yes
8967 if test "$aix_use_runtimelinking" = yes; then
8968 # Warning - without using the other runtime loading flags (-brtl),
8969 # -berok will link without error, but may produce a broken library.
8970 allow_undefined_flag
='-berok'
8971 # Determine the default libpath from the value encoded in an
8973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8984 if ac_fn_c_try_link
"$LINENO"; then :
8986 lt_aix_libpath_sed
='
8987 /Import File Strings/,/^$/ {
8993 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8994 # Check for a 64-bit object if we didn't find anything.
8995 if test -z "$aix_libpath"; then
8996 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8999 rm -f core conftest.err conftest.
$ac_objext \
9000 conftest
$ac_exeext conftest.
$ac_ext
9001 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9003 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9004 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"
9006 if test "$host_cpu" = ia64
; then
9007 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9008 allow_undefined_flag
="-z nodefs"
9009 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"
9011 # Determine the default libpath from the value encoded in an
9013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9014 /* end confdefs.h. */
9024 if ac_fn_c_try_link
"$LINENO"; then :
9026 lt_aix_libpath_sed
='
9027 /Import File Strings/,/^$/ {
9033 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9034 # Check for a 64-bit object if we didn't find anything.
9035 if test -z "$aix_libpath"; then
9036 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9039 rm -f core conftest.err conftest.
$ac_objext \
9040 conftest
$ac_exeext conftest.
$ac_ext
9041 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9043 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9044 # Warning - without using the other run time loading flags,
9045 # -berok will link without error, but may produce a broken library.
9046 no_undefined_flag
=' ${wl}-bernotok'
9047 allow_undefined_flag
=' ${wl}-berok'
9048 if test "$with_gnu_ld" = yes; then
9049 # We only use this code for GNU lds that support --whole-archive.
9050 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9052 # Exported symbols can be pulled into shared objects from archives
9053 whole_archive_flag_spec
='$convenience'
9055 archive_cmds_need_lc
=yes
9056 # This is similar to how AIX traditionally builds its shared libraries.
9057 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'
9065 # see comment about AmigaOS4 .so support
9066 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9067 archive_expsym_cmds
=''
9070 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)'
9071 hardcode_libdir_flag_spec
='-L$libdir'
9072 hardcode_minus_L
=yes
9078 export_dynamic_flag_spec
=-rdynamic
9081 cygwin
* | mingw
* | pw32
* | cegcc
*)
9082 # When not using gcc, we currently assume that we are using
9083 # Microsoft Visual C++.
9084 # hardcode_libdir_flag_spec is actually meaningless, as there is
9085 # no search path for DLLs.
9086 hardcode_libdir_flag_spec
=' '
9087 allow_undefined_flag
=unsupported
9088 # Tell ltmain to make .lib files, not .a files.
9090 # Tell ltmain to make .dll files, not .so files.
9092 # FIXME: Setting linknames here is a bad hack.
9093 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9094 # The linker will automatically build a .lib file if we build a DLL.
9095 old_archive_from_new_cmds
='true'
9096 # FIXME: Should let the user specify the lib program.
9097 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9098 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9099 enable_shared_with_static_runtimes
=yes
9102 darwin
* | rhapsody
*)
9105 archive_cmds_need_lc
=no
9107 hardcode_automatic
=yes
9108 hardcode_shlibpath_var
=unsupported
9109 if test "$lt_cv_ld_force_load" = "yes"; then
9110 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\"`'
9112 whole_archive_flag_spec
=''
9114 link_all_deplibs
=yes
9115 allow_undefined_flag
="$_lt_dar_allow_undefined"
9116 case $cc_basename in
9117 ifort
*) _lt_dar_can_shared
=yes ;;
9118 *) _lt_dar_can_shared
=$GCC ;;
9120 if test "$_lt_dar_can_shared" = "yes"; then
9121 output_verbose_link_cmd
=func_echo_all
9122 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9123 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9124 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}"
9125 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}"
9134 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9135 hardcode_libdir_flag_spec
='-L$libdir'
9136 hardcode_shlibpath_var
=no
9139 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9140 # support. Future versions do this automatically, but an explicit c++rt0.o
9141 # does not break anything, and helps significantly (at the cost of a little
9144 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9145 hardcode_libdir_flag_spec
='-R$libdir'
9147 hardcode_shlibpath_var
=no
9150 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9152 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9154 hardcode_minus_L
=yes
9155 hardcode_shlibpath_var
=no
9158 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9159 freebsd
* | dragonfly
*)
9160 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9161 hardcode_libdir_flag_spec
='-R$libdir'
9163 hardcode_shlibpath_var
=no
9167 if test "$GCC" = yes; then
9168 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'
9170 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'
9172 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9173 hardcode_libdir_separator
=:
9176 # hardcode_minus_L: Not really in the search PATH,
9177 # but as the default location of the library.
9178 hardcode_minus_L
=yes
9179 export_dynamic_flag_spec
='${wl}-E'
9183 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9184 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9188 if test "$with_gnu_ld" = no
; then
9189 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9190 hardcode_libdir_flag_spec_ld
='+b $libdir'
9191 hardcode_libdir_separator
=:
9193 hardcode_direct_absolute
=yes
9194 export_dynamic_flag_spec
='${wl}-E'
9195 # hardcode_minus_L: Not really in the search PATH,
9196 # but as the default location of the library.
9197 hardcode_minus_L
=yes
9202 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9205 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9208 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9211 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9217 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9220 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9224 # Older versions of the 11.00 compiler do not understand -b yet
9225 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9227 $as_echo_n "checking if $CC understands -b... " >&6; }
9228 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9229 $as_echo_n "(cached) " >&6
9231 lt_cv_prog_compiler__b
=no
9232 save_LDFLAGS
="$LDFLAGS"
9233 LDFLAGS
="$LDFLAGS -b"
9234 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9235 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9236 # The linker can only warn and ignore the option if not recognized
9237 # So say no if there are warnings
9238 if test -s conftest.err
; then
9239 # Append any errors to the config.log.
9240 cat conftest.err
1>&5
9241 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9242 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9243 if diff conftest.exp conftest.er2
>/dev
/null
; then
9244 lt_cv_prog_compiler__b
=yes
9247 lt_cv_prog_compiler__b
=yes
9251 LDFLAGS
="$save_LDFLAGS"
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9255 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9257 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9258 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9260 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9266 if test "$with_gnu_ld" = no
; then
9267 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9268 hardcode_libdir_separator
=:
9273 hardcode_shlibpath_var
=no
9277 hardcode_direct_absolute
=yes
9278 export_dynamic_flag_spec
='${wl}-E'
9280 # hardcode_minus_L: Not really in the search PATH,
9281 # but as the default location of the library.
9282 hardcode_minus_L
=yes
9288 irix5
* | irix6
* | nonstopux
*)
9289 if test "$GCC" = yes; then
9290 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'
9291 # Try to use the -exported_symbol ld option, if it does not
9292 # work, assume that -exports_file does not work either and
9293 # implicitly export all symbols.
9294 save_LDFLAGS
="$LDFLAGS"
9295 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9300 if ac_fn_c_try_link
"$LINENO"; then :
9301 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'
9304 rm -f core conftest.err conftest.
$ac_objext \
9305 conftest
$ac_exeext conftest.
$ac_ext
9306 LDFLAGS
="$save_LDFLAGS"
9308 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'
9309 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'
9311 archive_cmds_need_lc
='no'
9312 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9313 hardcode_libdir_separator
=:
9315 link_all_deplibs
=yes
9319 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9320 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9322 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9324 hardcode_libdir_flag_spec
='-R$libdir'
9326 hardcode_shlibpath_var
=no
9330 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9332 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9333 hardcode_libdir_separator
=:
9334 hardcode_shlibpath_var
=no
9341 if test -f /usr
/libexec
/ld.so
; then
9343 hardcode_shlibpath_var
=no
9344 hardcode_direct_absolute
=yes
9345 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9346 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9348 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9349 export_dynamic_flag_spec
='${wl}-E'
9352 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9353 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9354 hardcode_libdir_flag_spec
='-R$libdir'
9357 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9358 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9368 hardcode_libdir_flag_spec
='-L$libdir'
9369 hardcode_minus_L
=yes
9370 allow_undefined_flag
=unsupported
9371 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'
9372 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9376 if test "$GCC" = yes; then
9377 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9378 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'
9380 allow_undefined_flag
=' -expect_unresolved \*'
9381 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'
9383 archive_cmds_need_lc
='no'
9384 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9385 hardcode_libdir_separator
=:
9388 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9389 if test "$GCC" = yes; then
9390 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9391 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'
9392 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9394 allow_undefined_flag
=' -expect_unresolved \*'
9395 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'
9396 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~
9397 $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'
9399 # Both c and cxx compiler support -rpath directly
9400 hardcode_libdir_flag_spec
='-rpath $libdir'
9402 archive_cmds_need_lc
='no'
9403 hardcode_libdir_separator
=:
9407 no_undefined_flag
=' -z defs'
9408 if test "$GCC" = yes; then
9410 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9412 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9414 case `$CC -V 2>&1` in
9417 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9418 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9419 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9423 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9424 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9425 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9429 hardcode_libdir_flag_spec
='-R$libdir'
9430 hardcode_shlibpath_var
=no
9432 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9434 # The compiler driver will combine and reorder linker options,
9435 # but understands `-z linker_flag'. GCC discards it without `$wl',
9436 # but is careful enough not to reorder.
9437 # Supported since Solaris 2.6 (maybe 2.5.1?)
9438 if test "$GCC" = yes; then
9439 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9441 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9445 link_all_deplibs
=yes
9449 if test "x$host_vendor" = xsequent
; then
9450 # Use $CC to link under sequent, because it throws in some extra .o
9451 # files that make .init and .fini sections work.
9452 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9454 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9456 hardcode_libdir_flag_spec
='-L$libdir'
9458 hardcode_minus_L
=yes
9459 hardcode_shlibpath_var
=no
9463 case $host_vendor in
9465 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9466 hardcode_direct
=yes # is this really true???
9469 ## LD is ld it makes a PLAMLIB
9470 ## CC just makes a GrossModule.
9471 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9472 reload_cmds
='$CC -r -o $output$reload_objs'
9476 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9477 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9480 runpath_var
='LD_RUN_PATH'
9481 hardcode_shlibpath_var
=no
9485 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9486 hardcode_shlibpath_var
=no
9487 export_dynamic_flag_spec
='-Bexport'
9491 if test -d /usr
/nec
; then
9492 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9493 hardcode_shlibpath_var
=no
9494 runpath_var
=LD_RUN_PATH
9495 hardcode_runpath_var
=yes
9500 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9501 no_undefined_flag
='${wl}-z,text'
9502 archive_cmds_need_lc
=no
9503 hardcode_shlibpath_var
=no
9504 runpath_var
='LD_RUN_PATH'
9506 if test "$GCC" = yes; then
9507 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9508 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9511 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9515 sysv5
* | sco3.2v5
* | sco5v6
*)
9516 # Note: We can NOT use -z defs as we might desire, because we do not
9517 # link with -lc, and that would cause any symbols used from libc to
9518 # always be unresolved, which means just about no library would
9519 # ever link correctly. If we're not using GNU ld we use -z text
9520 # though, which does catch some bad symbols but isn't as heavy-handed
9522 no_undefined_flag
='${wl}-z,text'
9523 allow_undefined_flag
='${wl}-z,nodefs'
9524 archive_cmds_need_lc
=no
9525 hardcode_shlibpath_var
=no
9526 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9527 hardcode_libdir_separator
=':'
9528 link_all_deplibs
=yes
9529 export_dynamic_flag_spec
='${wl}-Bexport'
9530 runpath_var
='LD_RUN_PATH'
9532 if test "$GCC" = yes; then
9533 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9534 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9536 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9537 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9542 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9543 hardcode_libdir_flag_spec
='-L$libdir'
9544 hardcode_shlibpath_var
=no
9552 if test x
$host_vendor = xsni
; then
9554 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9555 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9562 $as_echo "$ld_shlibs" >&6; }
9563 test "$ld_shlibs" = no
&& can_build_shared
=no
9565 with_gnu_ld
=$with_gnu_ld
9582 # Do we need to explicitly link libc?
9584 case "x$archive_cmds_need_lc" in
9586 # Assume -lc should be added
9587 archive_cmds_need_lc
=yes
9589 if test "$enable_shared" = yes && test "$GCC" = yes; then
9590 case $archive_cmds in
9592 # FIXME: we may have to deal with multi-command sequences.
9595 # Test whether the compiler implicitly links with -lc since on some
9596 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9597 # to ld, don't add -lc before -lgcc.
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9599 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9600 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9601 $as_echo_n "(cached) " >&6
9604 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9607 (eval $ac_compile) 2>&5
9609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9610 test $ac_status = 0; } 2>conftest.err
; then
9613 libobjs
=conftest.
$ac_objext
9615 wl
=$lt_prog_compiler_wl
9616 pic_flag
=$lt_prog_compiler_pic
9622 lt_save_allow_undefined_flag
=$allow_undefined_flag
9623 allow_undefined_flag
=
9624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9625 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9628 test $ac_status = 0; }
9630 lt_cv_archive_cmds_need_lc
=no
9632 lt_cv_archive_cmds_need_lc
=yes
9634 allow_undefined_flag
=$lt_save_allow_undefined_flag
9636 cat conftest.err
1>&5
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9642 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9643 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9807 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9809 if test "$GCC" = yes; then
9811 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9812 *) lt_awk_arg
="/^libraries:/" ;;
9815 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9816 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9818 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9819 case $lt_search_path_spec in
9821 # if the path contains ";" then we assume it to be the separator
9822 # otherwise default to the standard path separator (i.e. ":") - it is
9823 # assumed that no part of a normal pathname contains ";" but that should
9824 # okay in the real world where ";" in dirpaths is itself problematic.
9825 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9828 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9831 # Ok, now we have the path, separated by spaces, we can step through it
9832 # and add multilib dir if necessary.
9833 lt_tmp_lt_search_path_spec
=
9834 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9835 for lt_sys_path
in $lt_search_path_spec; do
9836 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9837 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9839 test -d "$lt_sys_path" && \
9840 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9843 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9844 BEGIN {RS=" "; FS="/|\n";} {
9847 for (lt_i = NF; lt_i > 0; lt_i--) {
9848 if ($lt_i != "" && $lt_i != ".") {
9849 if ($lt_i == "..") {
9852 if (lt_count == 0) {
9853 lt_foo="/" $lt_i lt_foo;
9860 if (lt_foo != "") { lt_freq[lt_foo]++; }
9861 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9863 # AWK program above erroneously prepends '/' to C:/dos/paths
9866 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9867 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9869 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9871 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9874 libname_spec
='lib$name'
9882 shlibpath_overrides_runpath
=unknown
9884 dynamic_linker
="$host_os ld.so"
9885 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9886 need_lib_prefix
=unknown
9887 hardcode_into_libs
=no
9889 # when you set need_version to no, make sure it does not cause -set_version
9890 # flags to be left without arguments
9891 need_version
=unknown
9896 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9897 shlibpath_var
=LIBPATH
9899 # AIX 3 has no versioning support, so we append a major version to the name.
9900 soname_spec
='${libname}${release}${shared_ext}$major'
9907 hardcode_into_libs
=yes
9908 if test "$host_cpu" = ia64
; then
9909 # AIX 5 supports IA64
9910 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9911 shlibpath_var
=LD_LIBRARY_PATH
9913 # With GCC up to 2.95.x, collect2 would create an import file
9914 # for dependence libraries. The import file would start with
9915 # the line `#! .'. This would cause the generated library to
9916 # depend on `.', always an invalid library. This was fixed in
9917 # development snapshots of GCC prior to 3.0.
9919 aix4 | aix4.
[01] | aix4.
[01].
*)
9920 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9922 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9929 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9930 # soname into executable. Probably we can add versioning support to
9931 # collect2, so additional links can be useful in future.
9932 if test "$aix_use_runtimelinking" = yes; then
9933 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9934 # instead of lib<name>.a to let people know that these are not
9935 # typical AIX shared libraries.
9936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 # We preserve .a as extension for shared libraries through AIX4.2
9939 # and later when we are not doing run time linking.
9940 library_names_spec
='${libname}${release}.a $libname.a'
9941 soname_spec
='${libname}${release}${shared_ext}$major'
9943 shlibpath_var
=LIBPATH
9950 # Since July 2007 AmigaOS4 officially supports .so libraries.
9951 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9955 library_names_spec
='$libname.ixlibrary $libname.a'
9956 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9957 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'
9963 library_names_spec
='${libname}${shared_ext}'
9964 dynamic_linker
="$host_os ld.so"
9965 shlibpath_var
=LIBRARY_PATH
9971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9972 soname_spec
='${libname}${release}${shared_ext}$major'
9973 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9974 shlibpath_var
=LD_LIBRARY_PATH
9975 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9976 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9977 # the default ld.so.conf also contains /usr/contrib/lib and
9978 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9979 # libtool to hard-code these into programs
9982 cygwin
* | mingw
* | pw32
* | cegcc
*)
9983 version_type
=windows
9988 case $GCC,$host_os in
9989 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9990 library_names_spec
='$libname.dll.a'
9991 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9992 postinstall_cmds
='base_file=`basename \${file}`~
9993 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9994 dldir=$destdir/`dirname \$dlpath`~
9995 test -d \$dldir || mkdir -p \$dldir~
9996 $install_prog $dir/$dlname \$dldir/$dlname~
9997 chmod a+x \$dldir/$dlname~
9998 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9999 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10001 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10002 dlpath=$dir/\$dldll~
10004 shlibpath_overrides_runpath
=yes
10008 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10009 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10011 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10014 # MinGW DLLs use traditional 'lib' prefix
10015 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10018 # pw32 DLLs use 'pw' prefix rather than 'lib'
10019 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10025 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10028 dynamic_linker
='Win32 ld.exe'
10029 # FIXME: first we should search . and the directory the executable is in
10033 darwin
* | rhapsody
*)
10034 dynamic_linker
="$host_os dyld"
10035 version_type
=darwin
10038 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10039 soname_spec
='${libname}${release}${major}$shared_ext'
10040 shlibpath_overrides_runpath
=yes
10041 shlibpath_var
=DYLD_LIBRARY_PATH
10042 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10044 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10045 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10053 soname_spec
='${libname}${release}${shared_ext}$major'
10054 shlibpath_var
=LD_LIBRARY_PATH
10057 freebsd
* | dragonfly
*)
10058 # DragonFly does not have aout. When/if they implement a new
10059 # versioning mechanism, adjust this.
10060 if test -x /usr
/bin
/objformat
; then
10061 objformat
=`/usr/bin/objformat`
10064 freebsd
[123]*) objformat
=aout
;;
10065 *) objformat
=elf
;;
10068 version_type
=freebsd-
$objformat
10069 case $version_type in
10071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10076 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10080 shlibpath_var
=LD_LIBRARY_PATH
10083 shlibpath_overrides_runpath
=yes
10085 freebsd3.
[01]* | freebsdelf3.
[01]*)
10086 shlibpath_overrides_runpath
=yes
10087 hardcode_into_libs
=yes
10089 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10090 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10091 shlibpath_overrides_runpath
=no
10092 hardcode_into_libs
=yes
10094 *) # from 4.6 on, and DragonFly
10095 shlibpath_overrides_runpath
=yes
10096 hardcode_into_libs
=yes
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
=LD_LIBRARY_PATH
10108 hardcode_into_libs
=yes
10115 dynamic_linker
="$host_os runtime_loader"
10116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10117 soname_spec
='${libname}${release}${shared_ext}$major'
10118 shlibpath_var
=LIBRARY_PATH
10119 shlibpath_overrides_runpath
=yes
10120 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10121 hardcode_into_libs
=yes
10124 hpux9
* | hpux10
* | hpux11
*)
10125 # Give a soname corresponding to the major version so that dld.sl refuses to
10126 # link against other versions.
10133 hardcode_into_libs
=yes
10134 dynamic_linker
="$host_os dld.so"
10135 shlibpath_var
=LD_LIBRARY_PATH
10136 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10138 soname_spec
='${libname}${release}${shared_ext}$major'
10139 if test "X$HPUX_IA64_MODE" = X32
; then
10140 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10142 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10144 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10148 hardcode_into_libs
=yes
10149 dynamic_linker
="$host_os dld.sl"
10150 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10151 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153 soname_spec
='${libname}${release}${shared_ext}$major'
10154 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10155 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10159 dynamic_linker
="$host_os dld.sl"
10160 shlibpath_var
=SHLIB_PATH
10161 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 soname_spec
='${libname}${release}${shared_ext}$major'
10166 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10167 postinstall_cmds
='chmod 555 $lib'
10168 # or fails outright, so override atomically:
10169 install_override_mode
=555
10176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10177 soname_spec
='${libname}${release}${shared_ext}$major'
10178 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10179 shlibpath_var
=LD_LIBRARY_PATH
10180 shlibpath_overrides_runpath
=no
10181 hardcode_into_libs
=yes
10184 irix5
* | irix6
* | nonstopux
*)
10186 nonstopux
*) version_type
=nonstopux
;;
10188 if test "$lt_cv_prog_gnu_ld" = yes; then
10196 soname_spec
='${libname}${release}${shared_ext}$major'
10197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10199 irix5
* | nonstopux
*)
10200 libsuff
= shlibsuff
=
10203 case $LD in # libtool.m4 will add one of these switches to LD
10204 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10205 libsuff
= shlibsuff
= libmagic
=32-bit;;
10206 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10207 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10208 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10209 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10210 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10214 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10215 shlibpath_overrides_runpath
=no
10216 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10217 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10218 hardcode_into_libs
=yes
10221 # No shared lib support for Linux oldld, aout, or coff.
10222 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10226 # This must be Linux ELF.
10227 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10232 soname_spec
='${libname}${release}${shared_ext}$major'
10233 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10234 shlibpath_var
=LD_LIBRARY_PATH
10235 shlibpath_overrides_runpath
=no
10237 # Some binutils ld are patched to set DT_RUNPATH
10238 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10239 $as_echo_n "(cached) " >&6
10241 lt_cv_shlibpath_overrides_runpath
=no
10242 save_LDFLAGS
=$LDFLAGS
10243 save_libdir
=$libdir
10244 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10245 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10257 if ac_fn_c_try_link
"$LINENO"; then :
10258 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10259 lt_cv_shlibpath_overrides_runpath
=yes
10262 rm -f core conftest.err conftest.
$ac_objext \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 LDFLAGS
=$save_LDFLAGS
10265 libdir
=$save_libdir
10269 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10271 # This implies no fast_install, which is unacceptable.
10272 # Some rework will be needed to allow for fast_install
10273 # before this can be enabled.
10274 hardcode_into_libs
=yes
10276 # Append ld.so.conf contents to the search path
10277 if test -f /etc
/ld.so.conf
; then
10278 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' ' '`
10279 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10282 # We used to test for /lib/ld.so.1 and disable shared libraries on
10283 # powerpc, because MkLinux only supported shared libraries with the
10284 # GNU dynamic linker. Since this was broken with cross compilers,
10285 # most powerpc-linux boxes support dynamic linking these days and
10286 # people can always --disable-shared, the test was removed, and we
10287 # assume the GNU/Linux dynamic linker is in use.
10288 dynamic_linker
='GNU/Linux ld.so'
10295 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10297 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10298 dynamic_linker
='NetBSD (a.out) ld.so'
10300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10301 soname_spec
='${libname}${release}${shared_ext}$major'
10302 dynamic_linker
='NetBSD ld.elf_so'
10304 shlibpath_var
=LD_LIBRARY_PATH
10305 shlibpath_overrides_runpath
=yes
10306 hardcode_into_libs
=yes
10311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10312 shlibpath_var
=LD_LIBRARY_PATH
10313 shlibpath_overrides_runpath
=yes
10320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10321 soname_spec
='${libname}${release}${shared_ext}$major'
10322 shlibpath_var
=LD_LIBRARY_PATH
10323 shlibpath_overrides_runpath
=no
10324 hardcode_into_libs
=yes
10325 dynamic_linker
='ldqnx.so'
10330 sys_lib_dlsearch_path_spec
="/usr/lib"
10332 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10334 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10335 *) need_version
=no
;;
10337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10338 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10339 shlibpath_var
=LD_LIBRARY_PATH
10340 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10342 openbsd2.
[89] | openbsd2.
[89].
*)
10343 shlibpath_overrides_runpath
=no
10346 shlibpath_overrides_runpath
=yes
10350 shlibpath_overrides_runpath
=yes
10355 libname_spec
='$name'
10358 library_names_spec
='$libname${shared_ext} $libname.a'
10359 dynamic_linker
='OS/2 ld.exe'
10360 shlibpath_var
=LIBPATH
10363 osf3
* | osf4
* | osf5
*)
10367 soname_spec
='${libname}${release}${shared_ext}$major'
10368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 shlibpath_var
=LD_LIBRARY_PATH
10370 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10371 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 shlibpath_var
=LD_LIBRARY_PATH
10385 shlibpath_overrides_runpath
=yes
10386 hardcode_into_libs
=yes
10387 # ldd complains unless libraries are executable
10388 postinstall_cmds
='chmod +x $lib'
10393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10394 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10395 shlibpath_var
=LD_LIBRARY_PATH
10396 shlibpath_overrides_runpath
=yes
10397 if test "$with_gnu_ld" = yes; then
10405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 shlibpath_var
=LD_LIBRARY_PATH
10408 case $host_vendor in
10410 shlibpath_overrides_runpath
=no
10412 runpath_var
=LD_RUN_PATH
10420 shlibpath_overrides_runpath
=no
10421 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10427 if test -d /usr
/nec
;then
10429 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10430 soname_spec
='$libname${shared_ext}.$major'
10431 shlibpath_var
=LD_LIBRARY_PATH
10435 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10436 version_type
=freebsd-elf
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10440 soname_spec
='${libname}${release}${shared_ext}$major'
10441 shlibpath_var
=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath
=yes
10443 hardcode_into_libs
=yes
10444 if test "$with_gnu_ld" = yes; then
10445 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10447 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10450 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10454 sys_lib_dlsearch_path_spec
='/usr/lib'
10458 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 shlibpath_var
=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath
=no
10465 hardcode_into_libs
=yes
10470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471 soname_spec
='${libname}${release}${shared_ext}$major'
10472 shlibpath_var
=LD_LIBRARY_PATH
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10480 $as_echo "$dynamic_linker" >&6; }
10481 test "$dynamic_linker" = no
&& can_build_shared
=no
10483 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10484 if test "$GCC" = yes; then
10485 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10488 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10489 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10491 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10492 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10587 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10589 if test -n "$hardcode_libdir_flag_spec" ||
10590 test -n "$runpath_var" ||
10591 test "X$hardcode_automatic" = "Xyes" ; then
10593 # We can hardcode non-existent directories.
10594 if test "$hardcode_direct" != no
&&
10595 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10596 # have to relink, otherwise we might link with an installed library
10597 # when we should be linking with a yet-to-be-installed one
10598 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10599 test "$hardcode_minus_L" != no
; then
10600 # Linking always hardcodes the temporary library directory.
10601 hardcode_action
=relink
10603 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10604 hardcode_action
=immediate
10607 # We cannot hardcode anything, or else we can only hardcode existing
10609 hardcode_action
=unsupported
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10612 $as_echo "$hardcode_action" >&6; }
10614 if test "$hardcode_action" = relink ||
10615 test "$inherit_rpath" = yes; then
10616 # Fast installation is not supported
10617 enable_fast_install
=no
10618 elif test "$shlibpath_overrides_runpath" = yes ||
10619 test "$enable_shared" = no
; then
10620 # Fast installation is not necessary
10621 enable_fast_install
=needless
10629 if test "x$enable_dlopen" != xyes
; then
10630 enable_dlopen
=unknown
10631 enable_dlopen_self
=unknown
10632 enable_dlopen_self_static
=unknown
10639 lt_cv_dlopen
="load_add_on"
10641 lt_cv_dlopen_self
=yes
10644 mingw
* | pw32
* | cegcc
*)
10645 lt_cv_dlopen
="LoadLibrary"
10650 lt_cv_dlopen
="dlopen"
10655 # if libdl is installed we need to link against it
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10657 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10658 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10659 $as_echo_n "(cached) " >&6
10661 ac_check_lib_save_LIBS
=$LIBS
10663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10681 if ac_fn_c_try_link
"$LINENO"; then :
10682 ac_cv_lib_dl_dlopen
=yes
10684 ac_cv_lib_dl_dlopen
=no
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 LIBS
=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10691 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10692 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10693 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10696 lt_cv_dlopen
="dyld"
10698 lt_cv_dlopen_self
=yes
10705 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10706 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10707 lt_cv_dlopen
="shl_load"
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10710 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10711 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10712 $as_echo_n "(cached) " >&6
10714 ac_check_lib_save_LIBS
=$LIBS
10716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10729 return shl_load ();
10734 if ac_fn_c_try_link
"$LINENO"; then :
10735 ac_cv_lib_dld_shl_load
=yes
10737 ac_cv_lib_dld_shl_load
=no
10739 rm -f core conftest.err conftest.
$ac_objext \
10740 conftest
$ac_exeext conftest.
$ac_ext
10741 LIBS
=$ac_check_lib_save_LIBS
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10744 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10745 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10746 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10748 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10749 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10750 lt_cv_dlopen
="dlopen"
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10753 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10754 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10755 $as_echo_n "(cached) " >&6
10757 ac_check_lib_save_LIBS
=$LIBS
10759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10777 if ac_fn_c_try_link
"$LINENO"; then :
10778 ac_cv_lib_dl_dlopen
=yes
10780 ac_cv_lib_dl_dlopen
=no
10782 rm -f core conftest.err conftest.
$ac_objext \
10783 conftest
$ac_exeext conftest.
$ac_ext
10784 LIBS
=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10787 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10788 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10789 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10792 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10793 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10794 $as_echo_n "(cached) " >&6
10796 ac_check_lib_save_LIBS
=$LIBS
10797 LIBS
="-lsvld $LIBS"
10798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10816 if ac_fn_c_try_link
"$LINENO"; then :
10817 ac_cv_lib_svld_dlopen
=yes
10819 ac_cv_lib_svld_dlopen
=no
10821 rm -f core conftest.err conftest.
$ac_objext \
10822 conftest
$ac_exeext conftest.
$ac_ext
10823 LIBS
=$ac_check_lib_save_LIBS
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10826 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10827 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10828 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10831 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10832 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10850 return dld_link ();
10855 if ac_fn_c_try_link
"$LINENO"; then :
10856 ac_cv_lib_dld_dld_link
=yes
10858 ac_cv_lib_dld_dld_link
=no
10860 rm -f core conftest.err conftest.
$ac_objext \
10861 conftest
$ac_exeext conftest.
$ac_ext
10862 LIBS
=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10865 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10866 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10867 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10888 if test "x$lt_cv_dlopen" != xno
; then
10894 case $lt_cv_dlopen in
10896 save_CPPFLAGS
="$CPPFLAGS"
10897 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10899 save_LDFLAGS
="$LDFLAGS"
10900 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10903 LIBS
="$lt_cv_dlopen_libs $LIBS"
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10906 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10907 if test "${lt_cv_dlopen_self+set}" = set; then :
10908 $as_echo_n "(cached) " >&6
10910 if test "$cross_compiling" = yes; then :
10911 lt_cv_dlopen_self
=cross
10913 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10914 lt_status
=$lt_dlunknown
10915 cat > conftest.
$ac_ext <<_LT_EOF
10916 #line 10916 "configure"
10917 #include "confdefs.h"
10926 # define LT_DLGLOBAL RTLD_GLOBAL
10929 # define LT_DLGLOBAL DL_GLOBAL
10931 # define LT_DLGLOBAL 0
10935 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10936 find out it does not work in some platform. */
10937 #ifndef LT_DLLAZY_OR_NOW
10939 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10942 # define LT_DLLAZY_OR_NOW DL_LAZY
10945 # define LT_DLLAZY_OR_NOW RTLD_NOW
10948 # define LT_DLLAZY_OR_NOW DL_NOW
10950 # define LT_DLLAZY_OR_NOW 0
10957 /* When -fvisbility=hidden is used, assume the code has been annotated
10958 correspondingly for the symbols needed. */
10959 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10960 void fnord () __attribute__((visibility("default")));
10963 void fnord () { int i=42; }
10966 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10967 int status = $lt_dlunknown;
10971 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10974 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10975 else puts (dlerror ());
10977 /* dlclose (self); */
10985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10986 (eval $ac_link) 2>&5
10988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10989 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10990 (.
/conftest
; exit; ) >&5 2>/dev
/null
10992 case x
$lt_status in
10993 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10994 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10995 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10998 # compilation failed
10999 lt_cv_dlopen_self
=no
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11007 $as_echo "$lt_cv_dlopen_self" >&6; }
11009 if test "x$lt_cv_dlopen_self" = xyes
; then
11010 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11012 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11013 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11014 $as_echo_n "(cached) " >&6
11016 if test "$cross_compiling" = yes; then :
11017 lt_cv_dlopen_self_static
=cross
11019 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11020 lt_status
=$lt_dlunknown
11021 cat > conftest.
$ac_ext <<_LT_EOF
11022 #line 11022 "configure"
11023 #include "confdefs.h"
11032 # define LT_DLGLOBAL RTLD_GLOBAL
11035 # define LT_DLGLOBAL DL_GLOBAL
11037 # define LT_DLGLOBAL 0
11041 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11042 find out it does not work in some platform. */
11043 #ifndef LT_DLLAZY_OR_NOW
11045 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11048 # define LT_DLLAZY_OR_NOW DL_LAZY
11051 # define LT_DLLAZY_OR_NOW RTLD_NOW
11054 # define LT_DLLAZY_OR_NOW DL_NOW
11056 # define LT_DLLAZY_OR_NOW 0
11063 /* When -fvisbility=hidden is used, assume the code has been annotated
11064 correspondingly for the symbols needed. */
11065 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11066 void fnord () __attribute__((visibility("default")));
11069 void fnord () { int i=42; }
11072 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11073 int status = $lt_dlunknown;
11077 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11080 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11081 else puts (dlerror ());
11083 /* dlclose (self); */
11091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11092 (eval $ac_link) 2>&5
11094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11095 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11096 (.
/conftest
; exit; ) >&5 2>/dev
/null
11098 case x
$lt_status in
11099 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11100 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11101 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11104 # compilation failed
11105 lt_cv_dlopen_self_static
=no
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11113 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11116 CPPFLAGS
="$save_CPPFLAGS"
11117 LDFLAGS
="$save_LDFLAGS"
11122 case $lt_cv_dlopen_self in
11123 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11124 *) enable_dlopen_self
=unknown
;;
11127 case $lt_cv_dlopen_self_static in
11128 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11129 *) enable_dlopen_self_static
=unknown
;;
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11152 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11153 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11154 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11155 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11157 $as_echo "yes" >&6; }
11159 # FIXME - insert some real tests, host_os isn't really good enough
11162 if test -n "$STRIP" ; then
11163 striplib
="$STRIP -x"
11164 old_striplib
="$STRIP -S"
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11166 $as_echo "yes" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174 $as_echo "no" >&6; }
11190 # Report which library types will actually be built
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11192 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11194 $as_echo "$can_build_shared" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11197 $as_echo_n "checking whether to build shared libraries... " >&6; }
11198 test "$can_build_shared" = "no" && enable_shared
=no
11200 # On AIX, shared libraries and static libraries use the same namespace, and
11201 # are all built from PIC.
11204 test "$enable_shared" = yes && enable_static
=no
11205 if test -n "$RANLIB"; then
11206 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11207 postinstall_cmds
='$RANLIB $lib'
11212 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11213 test "$enable_shared" = yes && enable_static
=no
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11218 $as_echo "$enable_shared" >&6; }
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11221 $as_echo_n "checking whether to build static libraries... " >&6; }
11222 # Make sure either enable_shared or enable_static is yes.
11223 test "$enable_shared" = yes || enable_static
=yes
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11225 $as_echo "$enable_static" >&6; }
11232 ac_cpp
='$CPP $CPPFLAGS'
11233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11251 # Source file extension for Go test sources.
11254 # Object file extension for compiled Go test sources.
11258 # Code to be used in simple compile tests
11259 lt_simple_compile_test_code
="package main; func main() { }"
11261 # Code to be used in simple link tests
11262 lt_simple_link_test_code
='package main; func main() { }'
11264 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11271 # If no C compiler was specified, use CC.
11274 # If no C compiler flags were specified, use CFLAGS.
11275 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11277 # Allow CC to be a program name with arguments.
11281 # save warnings/boilerplate of simple test code
11282 ac_outfile
=conftest.
$ac_objext
11283 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11284 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11285 _lt_compiler_boilerplate
=`cat conftest.err`
11288 ac_outfile
=conftest.
$ac_objext
11289 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11290 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11291 _lt_linker_boilerplate
=`cat conftest.err`
11295 # Allow CC to be a program name with arguments.
11303 for cc_temp
in $compiler""; do
11305 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11306 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11311 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11314 # Go did not exist at the time GCC didn't implicitly link libc in.
11315 archive_cmds_need_lc_GO
=no
11317 old_archive_cmds_GO
=$old_archive_cmds
11320 ## There is no encapsulation within the following macros, do not change
11321 ## the running order or otherwise move them around unless you know exactly
11322 ## what you are doing...
11323 if test -n "$compiler"; then
11325 lt_prog_compiler_no_builtin_flag_GO
=
11327 if test "$GCC" = yes; then
11328 case $cc_basename in
11330 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11332 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11336 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11337 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11340 lt_cv_prog_compiler_rtti_exceptions
=no
11341 ac_outfile
=conftest.
$ac_objext
11342 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11343 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11344 # Insert the option either (1) after the last *FLAGS variable, or
11345 # (2) before a word containing "conftest.", or (3) at the end.
11346 # Note that $ac_compile itself does not contain backslashes and begins
11347 # with a dollar sign (not a hyphen), so the echo should work correctly.
11348 # The option is referenced via a variable to avoid confusing sed.
11349 lt_compile
=`echo "$ac_compile" | $SED \
11350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11352 -e 's:$: $lt_compiler_flag:'`
11353 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11354 (eval "$lt_compile" 2>conftest.err
)
11356 cat conftest.err
>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 if (exit $ac_status) && test -s "$ac_outfile"; then
11359 # The compiler can only warn and ignore the option if not recognized
11360 # So say no if there are warnings other than the usual output.
11361 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11362 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11363 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11364 lt_cv_prog_compiler_rtti_exceptions
=yes
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11371 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11373 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11374 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11383 lt_prog_compiler_wl_GO
=
11384 lt_prog_compiler_pic_GO
=
11385 lt_prog_compiler_static_GO
=
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11388 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11390 if test "$GCC" = yes; then
11391 lt_prog_compiler_wl_GO
='-Wl,'
11392 lt_prog_compiler_static_GO
='-static'
11396 # All AIX code is PIC.
11397 if test "$host_cpu" = ia64
; then
11398 # AIX 5 now supports IA64 processor
11399 lt_prog_compiler_static_GO
='-Bstatic'
11406 # see comment about AmigaOS4 .so support
11407 lt_prog_compiler_pic_GO
='-fPIC'
11410 # FIXME: we need at least 68020 code to build shared libraries, but
11411 # adding the `-m68020' flag to GCC prevents building anything better,
11413 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11418 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11419 # PIC is the default for these OSes.
11422 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11423 # This hack is so that the source file can tell whether it is being
11424 # built for inclusion in a dll (and should export symbols for example).
11425 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11426 # (--disable-auto-import) libraries
11427 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11430 darwin
* | rhapsody
*)
11431 # PIC is the default on this platform
11432 # Common symbols not allowed in MH_DYLIB files
11433 lt_prog_compiler_pic_GO
='-fno-common'
11437 # PIC is the default for Haiku.
11438 # The "-static" flag exists, but is broken.
11439 lt_prog_compiler_static_GO
=
11443 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11444 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11445 # sets the default TLS model and affects inlining.
11451 lt_prog_compiler_pic_GO
='-fPIC'
11457 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11458 # Instead, we relocate shared libraries at runtime.
11462 # Just because we use GCC doesn't mean we suddenly get shared libraries
11463 # on systems that don't support them.
11464 lt_prog_compiler_can_build_shared_GO
=no
11469 # QNX uses GNU C++, but need to define -shared option too, otherwise
11470 # it will coredump.
11471 lt_prog_compiler_pic_GO
='-fPIC -shared'
11475 if test -d /usr
/nec
; then
11476 lt_prog_compiler_pic_GO
=-Kconform_pic
11481 lt_prog_compiler_pic_GO
='-fPIC'
11485 case $cc_basename in
11486 nvcc
*) # Cuda Compiler Driver 2.2
11487 lt_prog_compiler_wl_GO
='-Xlinker '
11488 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11492 # PORTME Check for flag to pass linker flags through the system compiler.
11495 lt_prog_compiler_wl_GO
='-Wl,'
11496 if test "$host_cpu" = ia64
; then
11497 # AIX 5 now supports IA64 processor
11498 lt_prog_compiler_static_GO
='-Bstatic'
11500 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11504 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11505 # This hack is so that the source file can tell whether it is being
11506 # built for inclusion in a dll (and should export symbols for example).
11507 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11510 hpux9
* | hpux10
* | hpux11
*)
11511 lt_prog_compiler_wl_GO
='-Wl,'
11512 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11513 # not for PA HP-UX.
11519 lt_prog_compiler_pic_GO
='+Z'
11522 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11523 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11526 irix5
* | irix6
* | nonstopux
*)
11527 lt_prog_compiler_wl_GO
='-Wl,'
11528 # PIC (with -KPIC) is the default.
11529 lt_prog_compiler_static_GO
='-non_shared'
11532 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11533 case $cc_basename in
11534 # old Intel for x86_64 which still supported -KPIC.
11536 lt_prog_compiler_wl_GO
='-Wl,'
11537 lt_prog_compiler_pic_GO
='-KPIC'
11538 lt_prog_compiler_static_GO
='-static'
11540 # icc used to be incompatible with GCC.
11541 # ICC 10 doesn't accept -KPIC any more.
11543 lt_prog_compiler_wl_GO
='-Wl,'
11544 lt_prog_compiler_pic_GO
='-fPIC'
11545 lt_prog_compiler_static_GO
='-static'
11547 # Lahey Fortran 8.1.
11549 lt_prog_compiler_wl_GO
='-Wl,'
11550 lt_prog_compiler_pic_GO
='--shared'
11551 lt_prog_compiler_static_GO
='--static'
11553 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11554 # Portland Group compilers (*not* the Pentium gcc compiler,
11555 # which looks to be a dead project)
11556 lt_prog_compiler_wl_GO
='-Wl,'
11557 lt_prog_compiler_pic_GO
='-fpic'
11558 lt_prog_compiler_static_GO
='-Bstatic'
11561 lt_prog_compiler_wl_GO
='-Wl,'
11562 # All Alpha code is PIC.
11563 lt_prog_compiler_static_GO
='-non_shared'
11565 xl
* | bgxl
* | bgf
* | mpixl
*)
11566 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11567 lt_prog_compiler_wl_GO
='-Wl,'
11568 lt_prog_compiler_pic_GO
='-qpic'
11569 lt_prog_compiler_static_GO
='-qstaticlink'
11572 case `$CC -V 2>&1 | sed 5q` in
11573 *Sun\ F
* |
*Sun
*Fortran
*)
11574 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11575 lt_prog_compiler_pic_GO
='-KPIC'
11576 lt_prog_compiler_static_GO
='-Bstatic'
11577 lt_prog_compiler_wl_GO
=''
11581 lt_prog_compiler_pic_GO
='-KPIC'
11582 lt_prog_compiler_static_GO
='-Bstatic'
11583 lt_prog_compiler_wl_GO
='-Wl,'
11591 lt_prog_compiler_pic_GO
='-KPIC'
11592 lt_prog_compiler_static_GO
='-Bstatic'
11596 # QNX uses GNU C++, but need to define -shared option too, otherwise
11597 # it will coredump.
11598 lt_prog_compiler_pic_GO
='-fPIC -shared'
11601 osf3
* | osf4
* | osf5
*)
11602 lt_prog_compiler_wl_GO
='-Wl,'
11603 # All OSF/1 code is PIC.
11604 lt_prog_compiler_static_GO
='-non_shared'
11608 lt_prog_compiler_static_GO
='-non_shared'
11612 lt_prog_compiler_pic_GO
='-KPIC'
11613 lt_prog_compiler_static_GO
='-Bstatic'
11614 case $cc_basename in
11615 f77
* | f90
* | f95
*)
11616 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11618 lt_prog_compiler_wl_GO
='-Wl,';;
11623 lt_prog_compiler_wl_GO
='-Qoption ld '
11624 lt_prog_compiler_pic_GO
='-PIC'
11625 lt_prog_compiler_static_GO
='-Bstatic'
11628 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11629 lt_prog_compiler_wl_GO
='-Wl,'
11630 lt_prog_compiler_pic_GO
='-KPIC'
11631 lt_prog_compiler_static_GO
='-Bstatic'
11635 if test -d /usr
/nec
;then
11636 lt_prog_compiler_pic_GO
='-Kconform_pic'
11637 lt_prog_compiler_static_GO
='-Bstatic'
11641 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11642 lt_prog_compiler_wl_GO
='-Wl,'
11643 lt_prog_compiler_pic_GO
='-KPIC'
11644 lt_prog_compiler_static_GO
='-Bstatic'
11648 lt_prog_compiler_wl_GO
='-Wl,'
11649 lt_prog_compiler_can_build_shared_GO
=no
11653 lt_prog_compiler_pic_GO
='-pic'
11654 lt_prog_compiler_static_GO
='-Bstatic'
11658 lt_prog_compiler_can_build_shared_GO
=no
11664 # For platforms which do not support PIC, -DPIC is meaningless:
11666 lt_prog_compiler_pic_GO
=
11669 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11673 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11678 # Check to make sure the PIC flag actually works.
11680 if test -n "$lt_prog_compiler_pic_GO"; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11682 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11683 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11684 $as_echo_n "(cached) " >&6
11686 lt_cv_prog_compiler_pic_works_GO
=no
11687 ac_outfile
=conftest.
$ac_objext
11688 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11689 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11690 # Insert the option either (1) after the last *FLAGS variable, or
11691 # (2) before a word containing "conftest.", or (3) at the end.
11692 # Note that $ac_compile itself does not contain backslashes and begins
11693 # with a dollar sign (not a hyphen), so the echo should work correctly.
11694 # The option is referenced via a variable to avoid confusing sed.
11695 lt_compile
=`echo "$ac_compile" | $SED \
11696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11698 -e 's:$: $lt_compiler_flag:'`
11699 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11700 (eval "$lt_compile" 2>conftest.err
)
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 if (exit $ac_status) && test -s "$ac_outfile"; then
11705 # The compiler can only warn and ignore the option if not recognized
11706 # So say no if there are warnings other than the usual output.
11707 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11708 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11709 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11710 lt_cv_prog_compiler_pic_works_GO
=yes
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11717 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11719 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11720 case $lt_prog_compiler_pic_GO in
11722 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11725 lt_prog_compiler_pic_GO
=
11726 lt_prog_compiler_can_build_shared_GO
=no
11734 # Check to make sure the static flag actually works.
11736 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11739 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11740 $as_echo_n "(cached) " >&6
11742 lt_cv_prog_compiler_static_works_GO
=no
11743 save_LDFLAGS
="$LDFLAGS"
11744 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11745 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11746 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11747 # The linker can only warn and ignore the option if not recognized
11748 # So say no if there are warnings
11749 if test -s conftest.err
; then
11750 # Append any errors to the config.log.
11751 cat conftest.err
1>&5
11752 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11753 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11754 if diff conftest.exp conftest.er2
>/dev
/null
; then
11755 lt_cv_prog_compiler_static_works_GO
=yes
11758 lt_cv_prog_compiler_static_works_GO
=yes
11762 LDFLAGS
="$save_LDFLAGS"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11766 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11768 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11771 lt_prog_compiler_static_GO
=
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11778 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11779 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11780 $as_echo_n "(cached) " >&6
11782 lt_cv_prog_compiler_c_o_GO
=no
11783 $RM -r conftest
2>/dev
/null
11787 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11789 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11790 # Insert the option either (1) after the last *FLAGS variable, or
11791 # (2) before a word containing "conftest.", or (3) at the end.
11792 # Note that $ac_compile itself does not contain backslashes and begins
11793 # with a dollar sign (not a hyphen), so the echo should work correctly.
11794 lt_compile
=`echo "$ac_compile" | $SED \
11795 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11796 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11797 -e 's:$: $lt_compiler_flag:'`
11798 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11799 (eval "$lt_compile" 2>out
/conftest.err
)
11801 cat out
/conftest.err
>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11805 # The compiler can only warn and ignore the option if not recognized
11806 # So say no if there are warnings
11807 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11808 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11809 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11810 lt_cv_prog_compiler_c_o_GO
=yes
11815 # SGI C++ compiler will create directory out/ii_files/ for
11816 # template instantiation
11817 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11818 $RM out
/* && rmdir out
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11825 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11830 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11831 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11832 $as_echo_n "(cached) " >&6
11834 lt_cv_prog_compiler_c_o_GO
=no
11835 $RM -r conftest
2>/dev
/null
11839 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11841 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11842 # Insert the option either (1) after the last *FLAGS variable, or
11843 # (2) before a word containing "conftest.", or (3) at the end.
11844 # Note that $ac_compile itself does not contain backslashes and begins
11845 # with a dollar sign (not a hyphen), so the echo should work correctly.
11846 lt_compile
=`echo "$ac_compile" | $SED \
11847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11849 -e 's:$: $lt_compiler_flag:'`
11850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11851 (eval "$lt_compile" 2>out
/conftest.err
)
11853 cat out
/conftest.err
>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11857 # The compiler can only warn and ignore the option if not recognized
11858 # So say no if there are warnings
11859 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11860 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11861 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11862 lt_cv_prog_compiler_c_o_GO
=yes
11867 # SGI C++ compiler will create directory out/ii_files/ for
11868 # template instantiation
11869 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11870 $RM out
/* && rmdir out
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11877 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11882 hard_links
="nottested"
11883 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
11884 # do not overwrite the value of need_locks provided by the user
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11886 $as_echo_n "checking if we can lock with hard links... " >&6; }
11889 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11891 ln conftest.a conftest.b
2>&5 || hard_links
=no
11892 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11894 $as_echo "$hard_links" >&6; }
11895 if test "$hard_links" = no
; then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11897 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11907 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11910 allow_undefined_flag_GO
=
11911 always_export_symbols_GO
=no
11913 archive_expsym_cmds_GO
=
11914 compiler_needs_object_GO
=no
11915 enable_shared_with_static_runtimes_GO
=no
11916 export_dynamic_flag_spec_GO
=
11917 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11918 hardcode_automatic_GO
=no
11919 hardcode_direct_GO
=no
11920 hardcode_direct_absolute_GO
=no
11921 hardcode_libdir_flag_spec_GO
=
11922 hardcode_libdir_flag_spec_ld_GO
=
11923 hardcode_libdir_separator_GO
=
11924 hardcode_minus_L_GO
=no
11925 hardcode_shlibpath_var_GO
=unsupported
11926 inherit_rpath_GO
=no
11927 link_all_deplibs_GO
=unknown
11929 module_expsym_cmds_GO
=
11930 old_archive_from_new_cmds_GO
=
11931 old_archive_from_expsyms_cmds_GO
=
11932 thread_safe_flag_spec_GO
=
11933 whole_archive_flag_spec_GO
=
11934 # include_expsyms should be a list of space-separated symbols to be *always*
11935 # included in the symbol list
11936 include_expsyms_GO
=
11937 # exclude_expsyms can be an extended regexp of symbols to exclude
11938 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11939 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11940 # as well as any symbol that contains `d'.
11941 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11942 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11943 # platforms (ab)use it in PIC code, but their linkers get confused if
11944 # the symbol is explicitly referenced. Since portable code cannot
11945 # rely on this symbol name, it's probably fine to never include it in
11946 # preloaded symbol tables.
11947 # Exclude shared library initialization/finalization symbols.
11948 extract_expsyms_cmds
=
11951 cygwin
* | mingw
* | pw32
* | cegcc
*)
11952 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11953 # When not using gcc, we currently assume that we are using
11954 # Microsoft Visual C++.
11955 if test "$GCC" != yes; then
11960 # we just hope/assume this is gcc and not c89 (= MSVC++)
11970 # On some targets, GNU ld is compatible enough with the native linker
11971 # that we're better off using the native interface for both.
11972 lt_use_gnu_ld_interface
=no
11973 if test "$with_gnu_ld" = yes; then
11976 # The AIX port of GNU ld has always aspired to compatibility
11977 # with the native linker. However, as the warning in the GNU ld
11978 # block says, versions before 2.19.5* couldn't really create working
11979 # shared libraries, regardless of the interface used.
11980 case `$LD -v 2>&1` in
11981 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11982 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11983 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11985 lt_use_gnu_ld_interface
=yes
11990 lt_use_gnu_ld_interface
=yes
11995 if test "$lt_use_gnu_ld_interface" = yes; then
11996 # If archive_cmds runs LD, not CC, wlarc should be empty
11999 # Set some defaults for GNU ld with shared library support. These
12000 # are reset later if shared libraries are not supported. Putting them
12001 # here allows them to be overridden if necessary.
12002 runpath_var
=LD_RUN_PATH
12003 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12004 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12005 # ancient GNU ld didn't support --whole-archive et. al.
12006 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12007 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12009 whole_archive_flag_spec_GO
=
12011 supports_anon_versioning
=no
12012 case `$LD -v 2>&1` in
12013 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12014 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12015 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12016 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12017 *\
2.11.
*) ;; # other 2.11 versions
12018 *) supports_anon_versioning
=yes ;;
12021 # See if GNU ld supports shared libraries.
12024 # On AIX/PPC, the GNU linker is very broken
12025 if test "$host_cpu" != ia64
; then
12029 *** Warning: the GNU linker, at least up to release 2.19, is reported
12030 *** to be unable to reliably create shared libraries on AIX.
12031 *** Therefore, libtool is disabling shared libraries support. If you
12032 *** really care for shared libraries, you may want to install binutils
12033 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12034 *** You will then need to restart the configuration process.
12043 # see comment about AmigaOS4 .so support
12044 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12045 archive_expsym_cmds_GO
=''
12048 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)'
12049 hardcode_libdir_flag_spec_GO
='-L$libdir'
12050 hardcode_minus_L_GO
=yes
12056 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12057 allow_undefined_flag_GO
=unsupported
12058 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12059 # support --undefined. This deserves some investigation. FIXME
12060 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12066 cygwin
* | mingw
* | pw32
* | cegcc
*)
12067 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12068 # as there is no search path for DLLs.
12069 hardcode_libdir_flag_spec_GO
='-L$libdir'
12070 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12071 allow_undefined_flag_GO
=unsupported
12072 always_export_symbols_GO
=no
12073 enable_shared_with_static_runtimes_GO
=yes
12074 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12076 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12077 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12078 # If the export-symbols file already is a .def file (1st line
12079 # is EXPORTS), use it as is; otherwise, prepend...
12080 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12081 cp $export_symbols $output_objdir/$soname.def;
12083 echo EXPORTS > $output_objdir/$soname.def;
12084 cat $export_symbols >> $output_objdir/$soname.def;
12086 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12093 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12094 link_all_deplibs_GO
=yes
12098 hardcode_direct_GO
=no
12099 hardcode_shlibpath_var_GO
=no
12100 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12101 export_dynamic_flag_spec_GO
='${wl}-E'
12102 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12103 # Instead, shared libraries are loaded at an image base (0x10000000 by
12104 # default) and relocated if they conflict, which is a slow very memory
12105 # consuming and fragmenting process. To avoid this, we pick a random,
12106 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12107 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12108 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'
12109 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'
12112 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12114 if test "$host_os" = linux-dietlibc
; then
12115 case $cc_basename in
12116 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12119 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12120 && test "$tmp_diet" = no
12123 tmp_sharedflag
='-shared'
12124 case $cc_basename,$host_cpu in
12125 pgcc
*) # Portland Group C compiler
12126 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'
12127 tmp_addflag
=' $pic_flag'
12129 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12130 # Portland Group f77 and f90 compilers
12131 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'
12132 tmp_addflag
=' $pic_flag -Mnomain' ;;
12133 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12134 tmp_addflag
=' -i_dynamic' ;;
12135 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12136 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12137 ifc
* | ifort
*) # Intel Fortran compiler
12138 tmp_addflag
=' -nofor_main' ;;
12139 lf95
*) # Lahey Fortran 8.1
12140 whole_archive_flag_spec_GO
=
12141 tmp_sharedflag
='--shared' ;;
12142 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12143 tmp_sharedflag
='-qmkshrobj'
12145 nvcc
*) # Cuda Compiler Driver 2.2
12146 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'
12147 compiler_needs_object_GO
=yes
12150 case `$CC -V 2>&1 | sed 5q` in
12151 *Sun\ C
*) # Sun C 5.9
12152 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'
12153 compiler_needs_object_GO
=yes
12154 tmp_sharedflag
='-G' ;;
12155 *Sun\ F
*) # Sun Fortran 8.3
12156 tmp_sharedflag
='-G' ;;
12158 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12160 if test "x$supports_anon_versioning" = xyes
; then
12161 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12162 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12163 echo "local: *; };" >> $output_objdir/$libname.ver~
12164 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12167 case $cc_basename in
12168 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12169 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12170 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12171 hardcode_libdir_flag_spec_GO
=
12172 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12173 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12174 if test "x$supports_anon_versioning" = xyes
; then
12175 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12176 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12177 echo "local: *; };" >> $output_objdir/$libname.ver~
12178 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12188 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12189 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12192 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12198 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12202 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12203 *** create shared libraries on Solaris systems. Therefore, libtool
12204 *** is disabling shared libraries support. We urge you to upgrade GNU
12205 *** binutils to release 2.9.1 or newer. Another option is to modify
12206 *** your PATH or compiler configuration so that the native linker is
12207 *** used, and then restart.
12210 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12211 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12212 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12218 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12219 case `$LD -v 2>&1` in
12220 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12224 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12225 *** reliably create shared libraries on SCO systems. Therefore, libtool
12226 *** is disabling shared libraries support. We urge you to upgrade GNU
12227 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12228 *** your PATH or compiler configuration so that the native linker is
12229 *** used, and then restart.
12234 # For security reasons, it is highly recommended that you always
12235 # use absolute paths for naming shared libraries, and exclude the
12236 # DT_RUNPATH tag from executables and libraries. But doing so
12237 # requires that you compile everything twice, which is a pain.
12238 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12239 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12240 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12241 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12250 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12252 hardcode_direct_GO
=yes
12253 hardcode_shlibpath_var_GO
=no
12257 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12258 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12259 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12266 if test "$ld_shlibs_GO" = no
; then
12268 hardcode_libdir_flag_spec_GO
=
12269 export_dynamic_flag_spec_GO
=
12270 whole_archive_flag_spec_GO
=
12273 # PORTME fill in a description of your system's linker (not GNU ld)
12276 allow_undefined_flag_GO
=unsupported
12277 always_export_symbols_GO
=yes
12278 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'
12279 # Note: this linker hardcodes the directories in LIBPATH if there
12280 # are no directories specified by -L.
12281 hardcode_minus_L_GO
=yes
12282 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12283 # Neither direct hardcoding nor static linking is supported with a
12285 hardcode_direct_GO
=unsupported
12290 if test "$host_cpu" = ia64
; then
12291 # On IA64, the linker does run time linking by default, so we don't
12292 # have to do anything special.
12293 aix_use_runtimelinking
=no
12294 exp_sym_flag
='-Bexport'
12297 # If we're using GNU nm, then we don't want the "-C" option.
12298 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12299 # Also, AIX nm treats weak defined symbols like other global
12300 # defined symbols, whereas GNU nm marks them as "W".
12301 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12302 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'
12304 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'
12306 aix_use_runtimelinking
=no
12308 # Test if we are trying to use run time linking or normal
12309 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12310 # need to do runtime linking.
12311 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12312 for ld_flag
in $LDFLAGS; do
12313 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12314 aix_use_runtimelinking
=yes
12321 exp_sym_flag
='-bexport'
12322 no_entry_flag
='-bnoentry'
12325 # When large executables or shared objects are built, AIX ld can
12326 # have problems creating the table of contents. If linking a library
12327 # or program results in "error TOC overflow" add -mminimal-toc to
12328 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12329 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12332 hardcode_direct_GO
=yes
12333 hardcode_direct_absolute_GO
=yes
12334 hardcode_libdir_separator_GO
=':'
12335 link_all_deplibs_GO
=yes
12336 file_list_spec_GO
='${wl}-f,'
12338 if test "$GCC" = yes; then
12339 case $host_os in aix4.
[012]|aix4.
[012].
*)
12340 # We only want to do this on AIX 4.2 and lower, the check
12341 # below for broken collect2 doesn't work under 4.3+
12342 collect2name
=`${CC} -print-prog-name=collect2`
12343 if test -f "$collect2name" &&
12344 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12346 # We have reworked collect2
12349 # We have old collect2
12350 hardcode_direct_GO
=unsupported
12351 # It fails to find uninstalled libraries when the uninstalled
12352 # path is not listed in the libpath. Setting hardcode_minus_L
12353 # to unsupported forces relinking
12354 hardcode_minus_L_GO
=yes
12355 hardcode_libdir_flag_spec_GO
='-L$libdir'
12356 hardcode_libdir_separator_GO
=
12360 shared_flag
='-shared'
12361 if test "$aix_use_runtimelinking" = yes; then
12362 shared_flag
="$shared_flag "'${wl}-G'
12366 if test "$host_cpu" = ia64
; then
12367 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12368 # chokes on -Wl,-G. The following line is correct:
12371 if test "$aix_use_runtimelinking" = yes; then
12372 shared_flag
='${wl}-G'
12374 shared_flag
='${wl}-bM:SRE'
12379 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12380 # It seems that -bexpall does not export symbols beginning with
12381 # underscore (_), so it is better to generate a list of symbols to export.
12382 always_export_symbols_GO
=yes
12383 if test "$aix_use_runtimelinking" = yes; then
12384 # Warning - without using the other runtime loading flags (-brtl),
12385 # -berok will link without error, but may produce a broken library.
12386 allow_undefined_flag_GO
='-berok'
12387 # Determine the default libpath from the value encoded in an
12388 # empty executable.
12389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12400 if ac_fn_c_try_link
"$LINENO"; then :
12402 lt_aix_libpath_sed
='
12403 /Import File Strings/,/^$/ {
12409 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 # Check for a 64-bit object if we didn't find anything.
12411 if test -z "$aix_libpath"; then
12412 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 rm -f core conftest.err conftest.
$ac_objext \
12416 conftest
$ac_exeext conftest.
$ac_ext
12417 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12419 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12420 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"
12422 if test "$host_cpu" = ia64
; then
12423 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12424 allow_undefined_flag_GO
="-z nodefs"
12425 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"
12427 # Determine the default libpath from the value encoded in an
12428 # empty executable.
12429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12440 if ac_fn_c_try_link
"$LINENO"; then :
12442 lt_aix_libpath_sed
='
12443 /Import File Strings/,/^$/ {
12449 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12450 # Check for a 64-bit object if we didn't find anything.
12451 if test -z "$aix_libpath"; then
12452 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12455 rm -f core conftest.err conftest.
$ac_objext \
12456 conftest
$ac_exeext conftest.
$ac_ext
12457 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12459 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12460 # Warning - without using the other run time loading flags,
12461 # -berok will link without error, but may produce a broken library.
12462 no_undefined_flag_GO
=' ${wl}-bernotok'
12463 allow_undefined_flag_GO
=' ${wl}-berok'
12464 if test "$with_gnu_ld" = yes; then
12465 # We only use this code for GNU lds that support --whole-archive.
12466 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12468 # Exported symbols can be pulled into shared objects from archives
12469 whole_archive_flag_spec_GO
='$convenience'
12471 archive_cmds_need_lc_GO
=yes
12472 # This is similar to how AIX traditionally builds its shared libraries.
12473 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'
12481 # see comment about AmigaOS4 .so support
12482 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12483 archive_expsym_cmds_GO
=''
12486 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)'
12487 hardcode_libdir_flag_spec_GO
='-L$libdir'
12488 hardcode_minus_L_GO
=yes
12494 export_dynamic_flag_spec_GO
=-rdynamic
12497 cygwin
* | mingw
* | pw32
* | cegcc
*)
12498 # When not using gcc, we currently assume that we are using
12499 # Microsoft Visual C++.
12500 # hardcode_libdir_flag_spec is actually meaningless, as there is
12501 # no search path for DLLs.
12502 hardcode_libdir_flag_spec_GO
=' '
12503 allow_undefined_flag_GO
=unsupported
12504 # Tell ltmain to make .lib files, not .a files.
12506 # Tell ltmain to make .dll files, not .so files.
12508 # FIXME: Setting linknames here is a bad hack.
12509 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12510 # The linker will automatically build a .lib file if we build a DLL.
12511 old_archive_from_new_cmds_GO
='true'
12512 # FIXME: Should let the user specify the lib program.
12513 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12514 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12515 enable_shared_with_static_runtimes_GO
=yes
12518 darwin
* | rhapsody
*)
12521 archive_cmds_need_lc_GO
=no
12522 hardcode_direct_GO
=no
12523 hardcode_automatic_GO
=yes
12524 hardcode_shlibpath_var_GO
=unsupported
12525 if test "$lt_cv_ld_force_load" = "yes"; then
12526 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\"`'
12528 whole_archive_flag_spec_GO
=''
12530 link_all_deplibs_GO
=yes
12531 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12532 case $cc_basename in
12533 ifort
*) _lt_dar_can_shared
=yes ;;
12534 *) _lt_dar_can_shared
=$GCC ;;
12536 if test "$_lt_dar_can_shared" = "yes"; then
12537 output_verbose_link_cmd
=func_echo_all
12538 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}"
12539 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12540 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}"
12541 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}"
12550 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12551 hardcode_libdir_flag_spec_GO
='-L$libdir'
12552 hardcode_shlibpath_var_GO
=no
12555 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12556 # support. Future versions do this automatically, but an explicit c++rt0.o
12557 # does not break anything, and helps significantly (at the cost of a little
12560 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12561 hardcode_libdir_flag_spec_GO
='-R$libdir'
12562 hardcode_direct_GO
=yes
12563 hardcode_shlibpath_var_GO
=no
12566 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12568 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12569 hardcode_direct_GO
=yes
12570 hardcode_minus_L_GO
=yes
12571 hardcode_shlibpath_var_GO
=no
12574 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12575 freebsd
* | dragonfly
*)
12576 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12577 hardcode_libdir_flag_spec_GO
='-R$libdir'
12578 hardcode_direct_GO
=yes
12579 hardcode_shlibpath_var_GO
=no
12583 if test "$GCC" = yes; then
12584 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'
12586 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'
12588 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12589 hardcode_libdir_separator_GO
=:
12590 hardcode_direct_GO
=yes
12592 # hardcode_minus_L: Not really in the search PATH,
12593 # but as the default location of the library.
12594 hardcode_minus_L_GO
=yes
12595 export_dynamic_flag_spec_GO
='${wl}-E'
12599 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12600 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12602 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12604 if test "$with_gnu_ld" = no
; then
12605 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12606 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12607 hardcode_libdir_separator_GO
=:
12608 hardcode_direct_GO
=yes
12609 hardcode_direct_absolute_GO
=yes
12610 export_dynamic_flag_spec_GO
='${wl}-E'
12611 # hardcode_minus_L: Not really in the search PATH,
12612 # but as the default location of the library.
12613 hardcode_minus_L_GO
=yes
12618 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12621 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12624 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12627 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12633 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12636 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12639 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12643 if test "$with_gnu_ld" = no
; then
12644 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12645 hardcode_libdir_separator_GO
=:
12649 hardcode_direct_GO
=no
12650 hardcode_shlibpath_var_GO
=no
12653 hardcode_direct_GO
=yes
12654 hardcode_direct_absolute_GO
=yes
12655 export_dynamic_flag_spec_GO
='${wl}-E'
12657 # hardcode_minus_L: Not really in the search PATH,
12658 # but as the default location of the library.
12659 hardcode_minus_L_GO
=yes
12665 irix5
* | irix6
* | nonstopux
*)
12666 if test "$GCC" = yes; then
12667 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'
12668 # Try to use the -exported_symbol ld option, if it does not
12669 # work, assume that -exports_file does not work either and
12670 # implicitly export all symbols.
12671 save_LDFLAGS
="$LDFLAGS"
12672 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12677 if ac_fn_c_try_link
"$LINENO"; then :
12678 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'
12681 rm -f core conftest.err conftest.
$ac_objext \
12682 conftest
$ac_exeext conftest.
$ac_ext
12683 LDFLAGS
="$save_LDFLAGS"
12685 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'
12686 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'
12688 archive_cmds_need_lc_GO
='no'
12689 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12690 hardcode_libdir_separator_GO
=:
12691 inherit_rpath_GO
=yes
12692 link_all_deplibs_GO
=yes
12696 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12697 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12699 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12701 hardcode_libdir_flag_spec_GO
='-R$libdir'
12702 hardcode_direct_GO
=yes
12703 hardcode_shlibpath_var_GO
=no
12707 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12708 hardcode_direct_GO
=yes
12709 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12710 hardcode_libdir_separator_GO
=:
12711 hardcode_shlibpath_var_GO
=no
12718 if test -f /usr
/libexec
/ld.so
; then
12719 hardcode_direct_GO
=yes
12720 hardcode_shlibpath_var_GO
=no
12721 hardcode_direct_absolute_GO
=yes
12722 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12723 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12724 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12725 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12726 export_dynamic_flag_spec_GO
='${wl}-E'
12729 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12730 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12731 hardcode_libdir_flag_spec_GO
='-R$libdir'
12734 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12735 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12745 hardcode_libdir_flag_spec_GO
='-L$libdir'
12746 hardcode_minus_L_GO
=yes
12747 allow_undefined_flag_GO
=unsupported
12748 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'
12749 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12753 if test "$GCC" = yes; then
12754 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12755 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'
12757 allow_undefined_flag_GO
=' -expect_unresolved \*'
12758 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'
12760 archive_cmds_need_lc_GO
='no'
12761 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12762 hardcode_libdir_separator_GO
=:
12765 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12766 if test "$GCC" = yes; then
12767 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12768 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'
12769 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12771 allow_undefined_flag_GO
=' -expect_unresolved \*'
12772 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'
12773 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~
12774 $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'
12776 # Both c and cxx compiler support -rpath directly
12777 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12779 archive_cmds_need_lc_GO
='no'
12780 hardcode_libdir_separator_GO
=:
12784 no_undefined_flag_GO
=' -z defs'
12785 if test "$GCC" = yes; then
12787 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12788 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12789 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12791 case `$CC -V 2>&1` in
12794 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12795 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12796 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12800 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12801 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12802 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12806 hardcode_libdir_flag_spec_GO
='-R$libdir'
12807 hardcode_shlibpath_var_GO
=no
12809 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12811 # The compiler driver will combine and reorder linker options,
12812 # but understands `-z linker_flag'. GCC discards it without `$wl',
12813 # but is careful enough not to reorder.
12814 # Supported since Solaris 2.6 (maybe 2.5.1?)
12815 if test "$GCC" = yes; then
12816 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12818 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
12822 link_all_deplibs_GO
=yes
12826 if test "x$host_vendor" = xsequent
; then
12827 # Use $CC to link under sequent, because it throws in some extra .o
12828 # files that make .init and .fini sections work.
12829 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12831 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12833 hardcode_libdir_flag_spec_GO
='-L$libdir'
12834 hardcode_direct_GO
=yes
12835 hardcode_minus_L_GO
=yes
12836 hardcode_shlibpath_var_GO
=no
12840 case $host_vendor in
12842 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12843 hardcode_direct_GO
=yes # is this really true???
12846 ## LD is ld it makes a PLAMLIB
12847 ## CC just makes a GrossModule.
12848 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12849 reload_cmds_GO
='$CC -r -o $output$reload_objs'
12850 hardcode_direct_GO
=no
12853 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12854 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
12857 runpath_var
='LD_RUN_PATH'
12858 hardcode_shlibpath_var_GO
=no
12862 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12863 hardcode_shlibpath_var_GO
=no
12864 export_dynamic_flag_spec_GO
='-Bexport'
12868 if test -d /usr
/nec
; then
12869 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12870 hardcode_shlibpath_var_GO
=no
12871 runpath_var
=LD_RUN_PATH
12872 hardcode_runpath_var
=yes
12877 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12878 no_undefined_flag_GO
='${wl}-z,text'
12879 archive_cmds_need_lc_GO
=no
12880 hardcode_shlibpath_var_GO
=no
12881 runpath_var
='LD_RUN_PATH'
12883 if test "$GCC" = yes; then
12884 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12885 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12887 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12888 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12892 sysv5
* | sco3.2v5
* | sco5v6
*)
12893 # Note: We can NOT use -z defs as we might desire, because we do not
12894 # link with -lc, and that would cause any symbols used from libc to
12895 # always be unresolved, which means just about no library would
12896 # ever link correctly. If we're not using GNU ld we use -z text
12897 # though, which does catch some bad symbols but isn't as heavy-handed
12899 no_undefined_flag_GO
='${wl}-z,text'
12900 allow_undefined_flag_GO
='${wl}-z,nodefs'
12901 archive_cmds_need_lc_GO
=no
12902 hardcode_shlibpath_var_GO
=no
12903 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
12904 hardcode_libdir_separator_GO
=':'
12905 link_all_deplibs_GO
=yes
12906 export_dynamic_flag_spec_GO
='${wl}-Bexport'
12907 runpath_var
='LD_RUN_PATH'
12909 if test "$GCC" = yes; then
12910 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12911 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12913 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12914 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12919 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12920 hardcode_libdir_flag_spec_GO
='-L$libdir'
12921 hardcode_shlibpath_var_GO
=no
12929 if test x
$host_vendor = xsni
; then
12931 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12932 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
12939 $as_echo "$ld_shlibs_GO" >&6; }
12940 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
12942 with_gnu_ld_GO
=$with_gnu_ld
12950 # Do we need to explicitly link libc?
12952 case "x$archive_cmds_need_lc_GO" in
12954 # Assume -lc should be added
12955 archive_cmds_need_lc_GO
=yes
12957 if test "$enable_shared" = yes && test "$GCC" = yes; then
12958 case $archive_cmds_GO in
12960 # FIXME: we may have to deal with multi-command sequences.
12963 # Test whether the compiler implicitly links with -lc since on some
12964 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12965 # to ld, don't add -lc before -lgcc.
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12967 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12968 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
12969 $as_echo_n "(cached) " >&6
12972 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12975 (eval $ac_compile) 2>&5
12977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12978 test $ac_status = 0; } 2>conftest.err
; then
12981 libobjs
=conftest.
$ac_objext
12983 wl
=$lt_prog_compiler_wl_GO
12984 pic_flag
=$lt_prog_compiler_pic_GO
12990 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
12991 allow_undefined_flag_GO
=
12992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12993 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12996 test $ac_status = 0; }
12998 lt_cv_archive_cmds_need_lc_GO
=no
13000 lt_cv_archive_cmds_need_lc_GO
=yes
13002 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13004 cat conftest.err
1>&5
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13010 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13011 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13082 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13083 hardcode_action_GO
=
13084 if test -n "$hardcode_libdir_flag_spec_GO" ||
13085 test -n "$runpath_var_GO" ||
13086 test "X$hardcode_automatic_GO" = "Xyes" ; then
13088 # We can hardcode non-existent directories.
13089 if test "$hardcode_direct_GO" != no
&&
13090 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13091 # have to relink, otherwise we might link with an installed library
13092 # when we should be linking with a yet-to-be-installed one
13093 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13094 test "$hardcode_minus_L_GO" != no
; then
13095 # Linking always hardcodes the temporary library directory.
13096 hardcode_action_GO
=relink
13098 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13099 hardcode_action_GO
=immediate
13102 # We cannot hardcode anything, or else we can only hardcode existing
13104 hardcode_action_GO
=unsupported
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13107 $as_echo "$hardcode_action_GO" >&6; }
13109 if test "$hardcode_action_GO" = relink ||
13110 test "$inherit_rpath_GO" = yes; then
13111 # Fast installation is not supported
13112 enable_fast_install
=no
13113 elif test "$shlibpath_overrides_runpath" = yes ||
13114 test "$enable_shared" = no
; then
13115 # Fast installation is not necessary
13116 enable_fast_install
=needless
13128 ac_cpp
='$CPP $CPPFLAGS'
13129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13140 ac_config_commands
="$ac_config_commands libtool"
13145 # Only expand once:
13151 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13157 glibgo_toolexecdir
=no
13158 glibgo_toolexeclibdir
=no
13159 glibgo_prefixdir
=$prefix
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13162 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13163 # Check whether --enable-version-specific-runtime-libs was given.
13164 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13165 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13166 yes) version_specific_libs
=yes ;;
13167 no
) version_specific_libs
=no
;;
13168 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13171 version_specific_libs
=no
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13175 $as_echo "$version_specific_libs" >&6; }
13177 # Version-specific runtime libs processing.
13178 if test $version_specific_libs = yes; then
13179 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13180 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13183 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13184 # Install a library built with a cross compiler in tooldir, not libdir.
13185 if test x
"$glibgo_toolexecdir" = x
"no"; then
13186 if test -n "$with_cross_host" &&
13187 test x
"$with_cross_host" != x
"no"; then
13188 glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13189 glibgo_toolexeclibdir
='${toolexecdir}/lib'
13191 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13192 glibgo_toolexeclibdir
='${libdir}'
13194 multi_os_directory
=`$CC -print-multi-os-directory`
13195 case $multi_os_directory in
13196 .
) ;; # Avoid trailing /.
13197 *) glibgo_toolexeclibdir
=$glibgo_toolexeclibdir/$multi_os_directory ;;
13205 # See if the user wants to configure without libffi. Some
13206 # architectures don't support it. FIXME: We should set a default
13207 # based on the host.
13209 # Check whether --with-libffi was given.
13210 if test "${with_libffi+set}" = set; then :
13211 withval
=$with_libffi; :
13213 with_libffi
=${with_libffi_default-yes}
13219 if test "$with_libffi" != no
; then
13221 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13223 LIBFFI
=..
/libffi
/libffi_convenience.la
13224 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13237 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13238 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13239 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13240 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13241 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13242 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13244 if test $is_darwin = yes; then
13245 LIBGO_IS_DARWIN_TRUE
=
13246 LIBGO_IS_DARWIN_FALSE
='#'
13248 LIBGO_IS_DARWIN_TRUE
='#'
13249 LIBGO_IS_DARWIN_FALSE
=
13252 if test $is_freebsd = yes; then
13253 LIBGO_IS_FREEBSD_TRUE
=
13254 LIBGO_IS_FREEBSD_FALSE
='#'
13256 LIBGO_IS_FREEBSD_TRUE
='#'
13257 LIBGO_IS_FREEBSD_FALSE
=
13260 if test $is_irix = yes; then
13261 LIBGO_IS_IRIX_TRUE
=
13262 LIBGO_IS_IRIX_FALSE
='#'
13264 LIBGO_IS_IRIX_TRUE
='#'
13265 LIBGO_IS_IRIX_FALSE
=
13268 if test $is_linux = yes; then
13269 LIBGO_IS_LINUX_TRUE
=
13270 LIBGO_IS_LINUX_FALSE
='#'
13272 LIBGO_IS_LINUX_TRUE
='#'
13273 LIBGO_IS_LINUX_FALSE
=
13276 if test $is_rtems = yes; then
13277 LIBGO_IS_RTEMS_TRUE
=
13278 LIBGO_IS_RTEMS_FALSE
='#'
13280 LIBGO_IS_RTEMS_TRUE
='#'
13281 LIBGO_IS_RTEMS_FALSE
=
13284 if test $is_solaris = yes; then
13285 LIBGO_IS_SOLARIS_TRUE
=
13286 LIBGO_IS_SOLARIS_FALSE
='#'
13288 LIBGO_IS_SOLARIS_TRUE
='#'
13289 LIBGO_IS_SOLARIS_FALSE
=
13310 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13314 i
[34567]86-*-* | x86_64-
*-*)
13315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13322 if ac_fn_c_try_compile
"$LINENO"; then :
13327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13328 if test "$is_386" = "yes"; then
13339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 #if _MIPS_SIM != _ABIO32
13346 if ac_fn_c_try_compile
"$LINENO"; then :
13349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13350 /* end confdefs.h. */
13352 #if _MIPS_SIM != _ABIN32
13356 if ac_fn_c_try_compile
"$LINENO"; then :
13359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13362 #if _MIPS_SIM != _ABI64
13366 if ac_fn_c_try_compile
"$LINENO"; then :
13369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13372 #if _MIPS_SIM != _ABIO64
13376 if ac_fn_c_try_compile
"$LINENO"; then :
13379 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13389 case "$mips_abi" in
13390 "o32") GOARCH
=mipso32
;;
13391 "n32") GOARCH
=mipsn32
;;
13392 "n64") GOARCH
=mipsn64
;;
13393 "o64") GOARCH
=mipso64
;;
13396 rs6000
*-*-* | powerpc
*-*-*)
13397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13404 if ac_fn_c_try_compile
"$LINENO"; then :
13409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13410 if test "$is_ppc" = "yes"; then
13417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13420 #if defined(__sparcv9) || defined(__arch64__)
13424 if ac_fn_c_try_compile
"$LINENO"; then :
13429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13430 if test "$is_sparc" = "yes"; then
13437 if test $is_386 = yes; then
13439 LIBGO_IS_386_FALSE
='#'
13441 LIBGO_IS_386_TRUE
='#'
13442 LIBGO_IS_386_FALSE
=
13445 if test $is_alpha = yes; then
13446 LIBGO_IS_ALPHA_TRUE
=
13447 LIBGO_IS_ALPHA_FALSE
='#'
13449 LIBGO_IS_ALPHA_TRUE
='#'
13450 LIBGO_IS_ALPHA_FALSE
=
13453 if test $is_arm = yes; then
13455 LIBGO_IS_ARM_FALSE
='#'
13457 LIBGO_IS_ARM_TRUE
='#'
13458 LIBGO_IS_ARM_FALSE
=
13461 if test $is_m68k = yes; then
13462 LIBGO_IS_M68K_TRUE
=
13463 LIBGO_IS_M68K_FALSE
='#'
13465 LIBGO_IS_M68K_TRUE
='#'
13466 LIBGO_IS_M68K_FALSE
=
13469 if test $mips_abi != unknown
; then
13470 LIBGO_IS_MIPS_TRUE
=
13471 LIBGO_IS_MIPS_FALSE
='#'
13473 LIBGO_IS_MIPS_TRUE
='#'
13474 LIBGO_IS_MIPS_FALSE
=
13477 if test $mips_abi = o32
; then
13478 LIBGO_IS_MIPSO32_TRUE
=
13479 LIBGO_IS_MIPSO32_FALSE
='#'
13481 LIBGO_IS_MIPSO32_TRUE
='#'
13482 LIBGO_IS_MIPSO32_FALSE
=
13485 if test $mips_abi = n32
; then
13486 LIBGO_IS_MIPSN32_TRUE
=
13487 LIBGO_IS_MIPSN32_FALSE
='#'
13489 LIBGO_IS_MIPSN32_TRUE
='#'
13490 LIBGO_IS_MIPSN32_FALSE
=
13493 if test $mips_abi = n64
; then
13494 LIBGO_IS_MIPSN64_TRUE
=
13495 LIBGO_IS_MIPSN64_FALSE
='#'
13497 LIBGO_IS_MIPSN64_TRUE
='#'
13498 LIBGO_IS_MIPSN64_FALSE
=
13501 if test $mips_abi = o64
; then
13502 LIBGO_IS_MIPSO64_TRUE
=
13503 LIBGO_IS_MIPSO64_FALSE
='#'
13505 LIBGO_IS_MIPSO64_TRUE
='#'
13506 LIBGO_IS_MIPSO64_FALSE
=
13509 if test $is_ppc = yes; then
13511 LIBGO_IS_PPC_FALSE
='#'
13513 LIBGO_IS_PPC_TRUE
='#'
13514 LIBGO_IS_PPC_FALSE
=
13517 if test $is_ppc64 = yes; then
13518 LIBGO_IS_PPC64_TRUE
=
13519 LIBGO_IS_PPC64_FALSE
='#'
13521 LIBGO_IS_PPC64_TRUE
='#'
13522 LIBGO_IS_PPC64_FALSE
=
13525 if test $is_sparc = yes; then
13526 LIBGO_IS_SPARC_TRUE
=
13527 LIBGO_IS_SPARC_FALSE
='#'
13529 LIBGO_IS_SPARC_TRUE
='#'
13530 LIBGO_IS_SPARC_FALSE
=
13533 if test $is_sparc64 = yes; then
13534 LIBGO_IS_SPARC64_TRUE
=
13535 LIBGO_IS_SPARC64_FALSE
='#'
13537 LIBGO_IS_SPARC64_TRUE
='#'
13538 LIBGO_IS_SPARC64_FALSE
=
13541 if test $is_x86_64 = yes; then
13542 LIBGO_IS_X86_64_TRUE
=
13543 LIBGO_IS_X86_64_FALSE
='#'
13545 LIBGO_IS_X86_64_TRUE
='#'
13546 LIBGO_IS_X86_64_FALSE
=
13551 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
=
13552 if test -f ${srcdir}/syscalls/syscall_${GOOS}_${GOARCH}.go
; then
13553 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
=syscalls
/syscall_
${GOOS}_
${GOARCH}.go
13557 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
=
13558 if test -f ${srcdir}/go/debug/proc/regs_${GOOS}_${GOARCH}.go
; then
13559 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
=go
/debug
/proc
/regs_
${GOOS}_
${GOARCH}.go
13565 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13566 # msghdr in <sys/socket.h>.
13567 OSCFLAGS
='-D_XOPEN_SOURCE=500'
13570 # Solaris 8/9 need this so struct msghdr gets the msg_control
13571 # etc. fields in <sys/socket.h> (_XPG4_2).
13572 OSCFLAGS
='-D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__'
13574 *-*-solaris2.1
[01])
13575 # Solaris 10+ needs this so struct msghdr gets the msg_control
13576 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=500 as
13577 # above doesn't work with C99.
13578 OSCFLAGS
='-D_XOPEN_SOURCE=600 -D__EXTENSIONS__'
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13584 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13585 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13586 $as_echo_n "(cached) " >&6
13588 CFLAGS_hold
=$CFLAGS
13589 CFLAGS
="$CFLAGS -fsplit-stack"
13590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13594 if ac_fn_c_try_compile
"$LINENO"; then :
13595 libgo_cv_c_split_stack_supported
=yes
13597 libgo_cv_c_split_stack_supported
=no
13599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13600 CFLAGS
=$CFLAGS_hold
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13603 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13604 if test "$libgo_cv_c_split_stack_supported" = yes; then
13605 SPLIT_STACK
=-fsplit-stack
13607 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13613 if test "$libgo_cv_c_split_stack_supported" = yes; then
13614 USING_SPLIT_STACK_TRUE
=
13615 USING_SPLIT_STACK_FALSE
='#'
13617 USING_SPLIT_STACK_TRUE
='#'
13618 USING_SPLIT_STACK_FALSE
=
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13623 $as_echo_n "checking whether linker supports split stack... " >&6; }
13624 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13625 $as_echo_n "(cached) " >&6
13627 libgo_cv_c_linker_supports_split_stack
=no
13628 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13629 libgo_cv_c_linker_supports_split_stack
=yes
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13633 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13634 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13636 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13642 $as_echo_n "checking for sqrt in -lm... " >&6; }
13643 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13644 $as_echo_n "(cached) " >&6
13646 ac_check_lib_save_LIBS
=$LIBS
13648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13666 if ac_fn_c_try_link
"$LINENO"; then :
13667 ac_cv_lib_m_sqrt
=yes
13669 ac_cv_lib_m_sqrt
=no
13671 rm -f core conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13673 LIBS
=$ac_check_lib_save_LIBS
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13676 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13677 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13684 $as_echo_n "checking for socket libraries... " >&6; }
13685 if test "${libgo_cv_lib_sockets+set}" = set; then :
13686 $as_echo_n "(cached) " >&6
13688 libgo_cv_lib_sockets
=
13689 libgo_check_both
=no
13690 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13691 if test "x$ac_cv_func_connect" = x
""yes; then :
13692 libgo_check_socket
=no
13694 libgo_check_socket
=yes
13697 if test "$libgo_check_socket" = "yes"; then
13698 unset ac_cv_func_connect
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13700 $as_echo_n "checking for main in -lsocket... " >&6; }
13701 if test "${ac_cv_lib_socket_main+set}" = set; then :
13702 $as_echo_n "(cached) " >&6
13704 ac_check_lib_save_LIBS
=$LIBS
13705 LIBS
="-lsocket $LIBS"
13706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13718 if ac_fn_c_try_link
"$LINENO"; then :
13719 ac_cv_lib_socket_main
=yes
13721 ac_cv_lib_socket_main
=no
13723 rm -f core conftest.err conftest.
$ac_objext \
13724 conftest
$ac_exeext conftest.
$ac_ext
13725 LIBS
=$ac_check_lib_save_LIBS
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
13728 $as_echo "$ac_cv_lib_socket_main" >&6; }
13729 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
13730 libgo_cv_lib_sockets
="-lsocket"
13732 libgo_check_both
=yes
13736 if test "$libgo_check_both" = "yes"; then
13737 libgo_old_libs
=$LIBS
13738 LIBS
="$LIBS -lsocket -lnsl"
13739 unset ac_cv_func_accept
13740 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
13741 if test "x$ac_cv_func_accept" = x
""yes; then :
13743 libgo_cv_lib_sockets
="-lsocket -lnsl"
13746 unset ac_cv_func_accept
13747 LIBS
=$libgo_old_libs
13749 unset ac_cv_func_gethostbyname
13750 libgo_old_libs
="$LIBS"
13751 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13752 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
13756 $as_echo_n "checking for main in -lnsl... " >&6; }
13757 if test "${ac_cv_lib_nsl_main+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13760 ac_check_lib_save_LIBS
=$LIBS
13762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13774 if ac_fn_c_try_link
"$LINENO"; then :
13775 ac_cv_lib_nsl_main
=yes
13777 ac_cv_lib_nsl_main
=no
13779 rm -f core conftest.err conftest.
$ac_objext \
13780 conftest
$ac_exeext conftest.
$ac_ext
13781 LIBS
=$ac_check_lib_save_LIBS
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
13784 $as_echo "$ac_cv_lib_nsl_main" >&6; }
13785 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
13786 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
13791 unset ac_cv_func_gethostbyname
13792 LIBS
=$libgo_old_libs
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
13796 $as_echo "$libgo_cv_lib_sockets" >&6; }
13797 NET_LIBS
="$libgo_cv_lib_sockets"
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13801 $as_echo_n "checking whether -pthread is supported... " >&6; }
13802 if test "${libgo_cv_lib_pthread+set}" = set; then :
13803 $as_echo_n "(cached) " >&6
13805 CFLAGS_hold
=$CFLAGS
13806 CFLAGS
="$CFLAGS -pthread"
13807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13811 if ac_fn_c_try_compile
"$LINENO"; then :
13812 libgo_cv_lib_pthread
=yes
13814 libgo_cv_lib_pthread
=no
13816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13817 CFLAGS
=$CFLAGS_hold
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13820 $as_echo "$libgo_cv_lib_pthread" >&6; }
13822 if test "$libgo_cv_lib_pthread" = yes; then
13823 PTHREAD_CFLAGS
=-pthread
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13829 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
13830 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
13831 $as_echo_n "(cached) " >&6
13833 ac_check_lib_save_LIBS
=$LIBS
13834 LIBS
="-lpthread $LIBS"
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13844 char pthread_create ();
13848 return pthread_create ();
13853 if ac_fn_c_try_link
"$LINENO"; then :
13854 ac_cv_lib_pthread_pthread_create
=yes
13856 ac_cv_lib_pthread_pthread_create
=no
13858 rm -f core conftest.err conftest.
$ac_objext \
13859 conftest
$ac_exeext conftest.
$ac_ext
13860 LIBS
=$ac_check_lib_save_LIBS
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13863 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
13864 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
13865 PTHREAD_LIBS
=-lpthread
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
13871 $as_echo_n "checking for library containing sched_yield... " >&6; }
13872 if test "${ac_cv_search_sched_yield+set}" = set; then :
13873 $as_echo_n "(cached) " >&6
13875 ac_func_search_save_LIBS
=$LIBS
13876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13885 char sched_yield ();
13889 return sched_yield ();
13894 for ac_lib
in '' rt
; do
13895 if test -z "$ac_lib"; then
13896 ac_res
="none required"
13899 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13901 if ac_fn_c_try_link
"$LINENO"; then :
13902 ac_cv_search_sched_yield
=$ac_res
13904 rm -f core conftest.err conftest.
$ac_objext \
13906 if test "${ac_cv_search_sched_yield+set}" = set; then :
13910 if test "${ac_cv_search_sched_yield+set}" = set; then :
13913 ac_cv_search_sched_yield
=no
13915 rm conftest.
$ac_ext
13916 LIBS
=$ac_func_search_save_LIBS
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
13919 $as_echo "$ac_cv_search_sched_yield" >&6; }
13920 ac_res
=$ac_cv_search_sched_yield
13921 if test "$ac_res" != no
; then :
13922 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13928 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13929 if test "${ac_cv_c_bigendian+set}" = set; then :
13930 $as_echo_n "(cached) " >&6
13932 ac_cv_c_bigendian
=unknown
13933 # See if we're dealing with a universal compiler.
13934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13936 #ifndef __APPLE_CC__
13937 not a universal capable compiler
13942 if ac_fn_c_try_compile
"$LINENO"; then :
13944 # Check for potential -arch flags. It is not universal unless
13945 # there are at least two -arch flags with different values.
13948 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13949 if test -n "$ac_prev"; then
13951 i?
86 | x86_64 | ppc | ppc64
)
13952 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13955 ac_cv_c_bigendian
=universal
13961 elif test "x$ac_word" = "x-arch"; then
13966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13967 if test $ac_cv_c_bigendian = unknown
; then
13968 # See if sys/param.h defines the BYTE_ORDER macro.
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <sys/types.h>
13972 #include <sys/param.h>
13977 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13978 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13980 bogus endian macros
13987 if ac_fn_c_try_compile
"$LINENO"; then :
13988 # It does; now see whether it defined to BIG_ENDIAN or not.
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13991 #include <sys/types.h>
13992 #include <sys/param.h>
13997 #if BYTE_ORDER != BIG_ENDIAN
14005 if ac_fn_c_try_compile
"$LINENO"; then :
14006 ac_cv_c_bigendian
=yes
14008 ac_cv_c_bigendian
=no
14010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14014 if test $ac_cv_c_bigendian = unknown
; then
14015 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14018 #include <limits.h>
14023 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14024 bogus endian macros
14031 if ac_fn_c_try_compile
"$LINENO"; then :
14032 # It does; now see whether it defined to _BIG_ENDIAN or not.
14033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 #include <limits.h>
14040 #ifndef _BIG_ENDIAN
14048 if ac_fn_c_try_compile
"$LINENO"; then :
14049 ac_cv_c_bigendian
=yes
14051 ac_cv_c_bigendian
=no
14053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14057 if test $ac_cv_c_bigendian = unknown
; then
14058 # Compile a test program.
14059 if test "$cross_compiling" = yes; then :
14060 # Try to guess by grepping values from an object file.
14061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 short int ascii_mm[] =
14064 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14065 short int ascii_ii[] =
14066 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14067 int use_ascii (int i) {
14068 return ascii_mm[i] + ascii_ii[i];
14070 short int ebcdic_ii[] =
14071 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14072 short int ebcdic_mm[] =
14073 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14074 int use_ebcdic (int i) {
14075 return ebcdic_mm[i] + ebcdic_ii[i];
14082 return use_ascii (foo) == use_ebcdic (foo);
14087 if ac_fn_c_try_compile
"$LINENO"; then :
14088 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14089 ac_cv_c_bigendian
=yes
14091 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14092 if test "$ac_cv_c_bigendian" = unknown
; then
14093 ac_cv_c_bigendian
=no
14095 # finding both strings is unlikely to happen, but who knows?
14096 ac_cv_c_bigendian
=unknown
14100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14104 $ac_includes_default
14109 /* Are we little or big endian? From Harbison&Steele. */
14113 char c[sizeof (long int)];
14116 return u.c[sizeof (long int) - 1] == 1;
14122 if ac_fn_c_try_run
"$LINENO"; then :
14123 ac_cv_c_bigendian
=no
14125 ac_cv_c_bigendian
=yes
14127 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14128 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14134 $as_echo "$ac_cv_c_bigendian" >&6; }
14135 case $ac_cv_c_bigendian in #(
14137 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14143 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14147 as_fn_error
"unknown endianness
14148 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14154 # Check whether --with-system-libunwind was given.
14155 if test "${with_system_libunwind+set}" = set; then :
14156 withval
=$with_system_libunwind;
14159 # If system-libunwind was not specifically set, pick a default setting.
14160 if test x
$with_system_libunwind = x
; then
14162 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14163 *) with_system_libunwind
=no
;;
14166 # Based on system-libunwind and target, do we have ipinfo?
14167 if test x
$with_system_libunwind = xyes
; then
14169 ia64-
*-*) have_unwind_getipinfo
=no
;;
14170 *) have_unwind_getipinfo
=yes ;;
14173 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14176 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14177 *) have_unwind_getipinfo
=yes ;;
14182 if test x
$have_unwind_getipinfo = xyes
; then
14184 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14189 # Check whether --enable-sjlj-exceptions was given.
14190 if test "${enable_sjlj_exceptions+set}" = set; then :
14191 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14193 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14196 enable_sjlj_exceptions
=auto
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14201 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14202 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14203 $as_echo_n "(cached) " >&6
14205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14209 void clean (int *);
14212 int i __attribute__ ((cleanup (clean)));
14217 CFLAGS_hold
=$CFLAGS
14218 CFLAGS
="--save-temps -fexceptions"
14219 libgo_cv_lib_sjlj_exceptions
=unknown
14220 if ac_fn_c_try_compile
; then :
14221 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14222 libgo_cv_lib_sjlj_exceptions
=yes
14223 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14224 libgo_cv_lib_sjlj_exceptions
=no
14227 CFLAGS
=$CFLAGS_hold
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14232 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14234 if test "$enable_sjlj_exceptions" = "auto"; then
14235 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14238 case $enable_sjlj_exceptions in
14241 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14247 as_fn_error
"unable to detect exception model" "$LINENO" 5
14251 for ac_header
in sys
/mman.h syscall.h sys
/epoll.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h
14253 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14254 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14255 eval as_val
=\$
$as_ac_Header
14256 if test "x$as_val" = x
""yes; then :
14257 cat >>confdefs.h
<<_ACEOF
14258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14265 if test "$ac_cv_header_sys_mman_h" = yes; then
14266 HAVE_SYS_MMAN_H_TRUE
=
14267 HAVE_SYS_MMAN_H_FALSE
='#'
14269 HAVE_SYS_MMAN_H_TRUE
='#'
14270 HAVE_SYS_MMAN_H_FALSE
=
14274 for ac_func
in srandom random strerror_r strsignal wait4 mincore setenv
14276 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14277 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14278 eval as_val
=\$
$as_ac_var
14279 if test "x$as_val" = x
""yes; then :
14280 cat >>confdefs.h
<<_ACEOF
14281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14287 if test "$ac_cv_func_strerror_r" = yes; then
14288 HAVE_STRERROR_R_TRUE
=
14289 HAVE_STRERROR_R_FALSE
='#'
14291 HAVE_STRERROR_R_TRUE
='#'
14292 HAVE_STRERROR_R_FALSE
=
14295 if test "$ac_cv_func_wait4" = yes; then
14297 HAVE_WAIT4_FALSE
='#'
14299 HAVE_WAIT4_TRUE
='#'
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14305 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14306 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14307 $as_echo_n "(cached) " >&6
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14314 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14317 if ac_fn_c_try_link
"$LINENO"; then :
14318 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14320 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14322 rm -f core conftest.err conftest.
$ac_objext \
14323 conftest
$ac_exeext conftest.
$ac_ext
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14326 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14327 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14329 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14334 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14335 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14336 $as_echo_n "(cached) " >&6
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14341 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14343 int main() { return __sync_fetch_and_add (&i, 1); }
14346 if ac_fn_c_try_link
"$LINENO"; then :
14347 libgo_cv_func___sync_fetch_and_add_4
=yes
14349 libgo_cv_func___sync_fetch_and_add_4
=no
14351 rm -f core conftest.err conftest.
$ac_objext \
14352 conftest
$ac_exeext conftest.
$ac_ext
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14355 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14356 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14358 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14363 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14364 if test "${libgo_cv_c_stringops+set}" = set; then :
14365 $as_echo_n "(cached) " >&6
14367 CFLAGS_hold
=$CFLAGS
14368 CFLAGS
="$CFLAGS -minline-all-stringops"
14369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14373 if ac_fn_c_try_compile
"$LINENO"; then :
14374 libgo_cv_c_stringops
=yes
14376 libgo_cv_c_stringops
=no
14378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14379 CFLAGS
=$CFLAGS_hold
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14382 $as_echo "$libgo_cv_c_stringops" >&6; }
14384 if test "$libgo_cv_c_stringops" = yes; then
14385 STRINGOPS_FLAG
=-minline-all-stringops
14389 CFLAGS_hold
=$CFLAGS
14390 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14391 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14392 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14394 cat >>confdefs.h
<<_ACEOF
14395 #define HAVE_OFF64_T 1
14401 CFLAGS
=$CFLAGS_hold
14403 cat >confcache
<<\_ACEOF
14404 # This file is a shell script that caches the results of configure
14405 # tests run on this system so they can be shared between configure
14406 # scripts and configure runs, see configure's option --config-cache.
14407 # It is not useful on other systems. If it contains results you don't
14408 # want to keep, you may remove or edit it.
14410 # config.status only pays attention to the cache file if you give it
14411 # the --recheck option to rerun configure.
14413 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14414 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14415 # following values.
14419 # The following way of writing the cache mishandles newlines in values,
14420 # but we know of no workaround that is simple, portable, and efficient.
14421 # So, we kill variables containing newlines.
14422 # Ultrix sh set writes to stderr and can't be redirected directly,
14423 # and sets the high bit in the cache file unless we assign to the vars.
14425 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14426 eval ac_val
=\$
$ac_var
14430 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14431 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14434 _ | IFS | as_nl
) ;; #(
14435 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14436 *) { eval $ac_var=; unset $ac_var;} ;;
14442 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14443 *${as_nl}ac_space
=\
*)
14444 # `set' does not quote correctly, so add quotes: double-quote
14445 # substitution turns \\\\ into \\, and sed turns \\ into \.
14448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14451 # `set' quotes correctly as required by POSIX, so do not add quotes.
14452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14463 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14465 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14466 if test -w "$cache_file"; then
14467 test "x$cache_file" != "x/dev/null" &&
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14469 $as_echo "$as_me: updating cache $cache_file" >&6;}
14470 cat confcache
>$cache_file
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14473 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14478 if test ${multilib} = yes; then
14479 multilib_arg
="--enable-multilib"
14484 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
14487 ac_config_commands
="$ac_config_commands default"
14490 cat >confcache
<<\_ACEOF
14491 # This file is a shell script that caches the results of configure
14492 # tests run on this system so they can be shared between configure
14493 # scripts and configure runs, see configure's option --config-cache.
14494 # It is not useful on other systems. If it contains results you don't
14495 # want to keep, you may remove or edit it.
14497 # config.status only pays attention to the cache file if you give it
14498 # the --recheck option to rerun configure.
14500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14502 # following values.
14506 # The following way of writing the cache mishandles newlines in values,
14507 # but we know of no workaround that is simple, portable, and efficient.
14508 # So, we kill variables containing newlines.
14509 # Ultrix sh set writes to stderr and can't be redirected directly,
14510 # and sets the high bit in the cache file unless we assign to the vars.
14512 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14513 eval ac_val
=\$
$ac_var
14517 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14521 _ | IFS | as_nl
) ;; #(
14522 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14523 *) { eval $ac_var=; unset $ac_var;} ;;
14529 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14530 *${as_nl}ac_space
=\
*)
14531 # `set' does not quote correctly, so add quotes: double-quote
14532 # substitution turns \\\\ into \\, and sed turns \\ into \.
14535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14538 # `set' quotes correctly as required by POSIX, so do not add quotes.
14539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14550 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14552 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14553 if test -w "$cache_file"; then
14554 test "x$cache_file" != "x/dev/null" &&
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14556 $as_echo "$as_me: updating cache $cache_file" >&6;}
14557 cat confcache
>$cache_file
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14560 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14565 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14566 # Let make expand exec_prefix.
14567 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14569 DEFS
=-DHAVE_CONFIG_H
14573 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14574 # 1. Remove the extension, and $U if already installed.
14575 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14576 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14577 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14578 # will be set to the directory where LIBOBJS objects are built.
14579 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14580 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14582 LIBOBJS
=$ac_libobjs
14584 LTLIBOBJS
=$ac_ltlibobjs
14587 if test -n "$EXEEXT"; then
14589 am__EXEEXT_FALSE
='#'
14591 am__EXEEXT_TRUE
='#'
14595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14596 as_fn_error
"conditional \"AMDEP\" was never defined.
14597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14599 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14600 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14603 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14604 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14607 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
14608 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
14609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14611 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
14612 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
14613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14615 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
14616 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
14617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14619 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
14620 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
14621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14623 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
14624 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
14625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14627 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
14628 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
14629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14631 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
14632 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
14633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14635 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
14636 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
14637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14639 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
14640 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
14641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14643 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
14644 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
14645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14647 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
14648 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
14649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14651 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
14652 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
14653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14655 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
14656 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
14657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14659 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
14660 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
14661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14663 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
14664 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
14665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14667 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
14668 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
14669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14671 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
14672 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
14673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14675 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
14676 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
14677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14679 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
14680 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
14681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14683 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
14684 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
14685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14687 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
14688 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
14689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14692 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
14693 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
14694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14696 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
14697 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
14698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14700 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
14701 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
14702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14705 : ${CONFIG_STATUS=./config.status}
14707 ac_clean_files_save
=$ac_clean_files
14708 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14710 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14712 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14714 # Generated by $as_me.
14715 # Run this file to recreate the current configuration.
14716 # Compiler output produced by configure, useful for debugging
14717 # configure, is in config.log if it exists.
14720 ac_cs_recheck=false
14723 SHELL=\${CONFIG_SHELL-$SHELL}
14726 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14727 ## -------------------- ##
14728 ## M4sh Initialization. ##
14729 ## -------------------- ##
14731 # Be more Bourne compatible
14732 DUALCASE
=1; export DUALCASE
# for MKS sh
14733 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14736 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14737 # is contrary to our usage. Disable this feature.
14738 alias -g '${1+"$@"}'='"$@"'
14739 setopt NO_GLOB_SUBST
14741 case `(set -o) 2>/dev/null` in #(
14753 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14754 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14755 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14756 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14757 # Prefer a ksh shell builtin over an external printf program on Solaris,
14758 # but without wasting forks for bash or zsh.
14759 if test -z "$BASH_VERSION$ZSH_VERSION" \
14760 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14761 as_echo='print
-r --'
14762 as_echo_n='print
-rn --'
14763 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14764 as_echo='printf %s
\n'
14765 as_echo_n='printf %s
'
14767 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14768 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14769 as_echo_n='/usr
/ucb
/echo -n'
14771 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14772 as_echo_n_body='eval
14776 expr "X$arg" : "X\\(.*\\)$as_nl";
14777 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14779 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14781 export as_echo_n_body
14782 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14784 export as_echo_body
14785 as_echo='sh
-c $as_echo_body as_echo
'
14788 # The user is always right.
14789 if test "${PATH_SEPARATOR+set}" != set; then
14791 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14792 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14799 # We need space, tab and new line, in precisely that order. Quoting is
14800 # there to prevent editors from complaining about space-tab.
14801 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14802 # splitting by setting IFS to empty value.)
14805 # Find who we are. Look in the path if we contain no directory separator.
14807 *[\\/]* ) as_myself=$0 ;;
14808 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14809 for as_dir in $PATH
14812 test -z "$as_dir" && as_dir=.
14813 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14819 # We did not find ourselves, most probably we were run as `sh COMMAND'
14820 # in which case we are not to be found in the path.
14821 if test "x$as_myself" = x
; then
14824 if test ! -f "$as_myself"; then
14825 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14829 # Unset variables that we do not need and which cause bugs (e.g. in
14830 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14831 # suppresses any "Segmentation fault" message there. '((' could
14832 # trigger a bug in pdksh 5.2.14.
14833 for as_var
in BASH_ENV ENV MAIL MAILPATH
14834 do eval test x\
${$as_var+set} = xset \
14835 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14848 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14851 # as_fn_error ERROR [LINENO LOG_FD]
14852 # ---------------------------------
14853 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14854 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14855 # script with status $?, using 1 if that was 0.
14858 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14860 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14861 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14863 $as_echo "$as_me: error: $1" >&2
14864 as_fn_exit
$as_status
14868 # as_fn_set_status STATUS
14869 # -----------------------
14870 # Set $? to STATUS, without forking.
14871 as_fn_set_status
()
14874 } # as_fn_set_status
14876 # as_fn_exit STATUS
14877 # -----------------
14878 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14882 as_fn_set_status
$1
14888 # Portably unset VAR.
14891 { eval $1=; unset $1;}
14893 as_unset
=as_fn_unset
14894 # as_fn_append VAR VALUE
14895 # ----------------------
14896 # Append the text in VALUE to the end of the definition contained in VAR. Take
14897 # advantage of any shell optimizations that allow amortized linear growth over
14898 # repeated appends, instead of the typical quadratic growth present in naive
14900 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14901 eval 'as_fn_append ()
14912 # as_fn_arith ARG...
14913 # ------------------
14914 # Perform arithmetic evaluation on the ARGs, and store the result in the
14915 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14916 # must be portable across $(()) and expr.
14917 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14918 eval 'as_fn_arith ()
14925 as_val
=`expr "$@" || test $? -eq 1`
14930 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14931 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14937 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14938 as_basename
=basename
14943 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14949 as_me
=`$as_basename -- "$0" ||
14950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14951 X"$0" : 'X\(//\)$' \| \
14952 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14954 sed '/^.*\/\([^/][^/]*\)\/*$/{
14968 # Avoid depending upon Character Ranges.
14969 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14970 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14971 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14972 as_cr_digits
='0123456789'
14973 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14975 ECHO_C
= ECHO_N
= ECHO_T
=
14976 case `echo -n x` in #(((((
14978 case `echo 'xy\c'` in
14979 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14981 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14988 rm -f conf$$ conf$$.exe conf$$.
file
14989 if test -d conf$$.dir
; then
14990 rm -f conf$$.dir
/conf$$.
file
14993 mkdir conf$$.dir
2>/dev
/null
14995 if (echo >conf$$.
file) 2>/dev
/null
; then
14996 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14998 # ... but there are two gotchas:
14999 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15000 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15001 # In both cases, we have to default to `cp -p'.
15002 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15004 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15012 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15013 rmdir conf$$.dir
2>/dev
/null
15018 # Create "$as_dir" as a directory, including parents if necessary.
15023 -*) as_dir
=.
/$as_dir;;
15025 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15029 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15030 *) as_qdir
=$as_dir;;
15032 as_dirs
="'$as_qdir' $as_dirs"
15033 as_dir
=`$as_dirname -- "$as_dir" ||
15034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15035 X"$as_dir" : 'X\(//\)[^/]' \| \
15036 X"$as_dir" : 'X\(//\)$' \| \
15037 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15038 $as_echo X"$as_dir" |
15039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15043 /^X\(\/\/\)[^/].*/{
15056 test -d "$as_dir" && break
15058 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15059 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15063 if mkdir
-p .
2>/dev
/null
; then
15064 as_mkdir_p
='mkdir -p "$as_dir"'
15066 test -d .
/-p && rmdir .
/-p
15070 if test -x / >/dev
/null
2>&1; then
15071 as_test_x
='test -x'
15073 if ls -dL / >/dev
/null
2>&1; then
15080 if test -d "$1"; then
15086 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15087 ???[sx]*):;;*)false;;esac;fi
15091 as_executable_p
=$as_test_x
15093 # Sed expression to map a string onto a valid CPP name.
15094 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15096 # Sed expression to map a string onto a valid variable name.
15097 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15101 ## ----------------------------------- ##
15102 ## Main body of $CONFIG_STATUS script. ##
15103 ## ----------------------------------- ##
15105 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15108 # Save the log message, to keep $0 and so on meaningful, and to
15109 # report actual input values of CONFIG_FILES etc. instead of their
15110 # values after options handling.
15112 This file was extended by package-unused $as_me version-unused, which was
15113 generated by GNU Autoconf 2.64. Invocation command line was
15115 CONFIG_FILES = $CONFIG_FILES
15116 CONFIG_HEADERS = $CONFIG_HEADERS
15117 CONFIG_LINKS = $CONFIG_LINKS
15118 CONFIG_COMMANDS = $CONFIG_COMMANDS
15121 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15126 case $ac_config_files in *"
15127 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15130 case $ac_config_headers in *"
15131 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15136 # Files that config.status was made for.
15137 config_files="$ac_config_files"
15138 config_headers="$ac_config_headers"
15139 config_commands="$ac_config_commands"
15143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15145 \`$as_me' instantiates files and other configuration actions
15146 from templates according to the current configuration. Unless the files
15147 and actions are specified as TAGs, all are instantiated by default.
15149 Usage: $0 [OPTION]... [TAG]...
15151 -h, --help print this help, then exit
15152 -V, --version print version number and configuration settings, then exit
15153 -q, --quiet, --silent
15154 do not print progress messages
15155 -d, --debug don't remove temporary files
15156 --recheck update $as_me by reconfiguring in the same conditions
15157 --file=FILE[:TEMPLATE]
15158 instantiate the configuration file FILE
15159 --header=FILE[:TEMPLATE]
15160 instantiate the configuration header FILE
15162 Configuration files:
15165 Configuration headers:
15168 Configuration commands:
15171 Report bugs to the package provider."
15174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15176 package-unused config.status version-unused
15177 configured by $0, generated by GNU Autoconf 2.64,
15178 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15180 Copyright (C) 2009 Free Software Foundation, Inc.
15181 This config.status script is free software; the Free Software Foundation
15182 gives unlimited permission to copy, distribute and modify it."
15189 test -n "\$AWK" || AWK=awk
15192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15193 # The default lists apply if the user does not specify any file.
15199 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15200 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15211 # Handling of the options.
15212 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15214 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15215 $as_echo "$ac_cs_version"; exit ;;
15216 --debug |
--debu |
--deb |
--de |
--d |
-d )
15218 --file |
--fil |
--fi |
--f )
15221 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15223 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15224 ac_need_defaults
=false
;;
15225 --header |
--heade |
--head |
--hea )
15228 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15230 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15231 ac_need_defaults
=false
;;
15233 # Conflict between --help and --header
15234 as_fn_error
"ambiguous option: \`$1'
15235 Try \`$0 --help' for more information.";;
15236 --help |
--hel |
-h )
15237 $as_echo "$ac_cs_usage"; exit ;;
15238 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15239 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15242 # This is an error.
15243 -*) as_fn_error
"unrecognized option: \`$1'
15244 Try \`$0 --help' for more information." ;;
15246 *) as_fn_append ac_config_targets
" $1"
15247 ac_need_defaults
=false
;;
15253 ac_configure_extra_args
=
15255 if $ac_cs_silent; then
15257 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15262 if \$ac_cs_recheck; then
15263 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15265 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15266 CONFIG_SHELL='$SHELL'
15267 export CONFIG_SHELL
15272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15276 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15277 ## Running $as_me. ##
15283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15291 with_multisubdir="$with_multisubdir"
15292 with_multisrctop="$with_multisrctop"
15293 with_target_subdir="$with_target_subdir"
15294 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15295 multi_basedir="$multi_basedir"
15296 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15299 GFORTRAN="$GFORTRAN"
15301 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15304 # The HP-UX ksh and POSIX shell print the target directory to stdout
15305 # if CDPATH is set.
15306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15308 sed_quote_subst='$sed_quote_subst'
15309 double_quote_subst='$double_quote_subst'
15310 delay_variable_subst='$delay_variable_subst'
15311 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15312 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15313 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15314 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15315 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15316 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15317 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15318 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15319 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15320 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15321 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15322 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15323 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15324 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15325 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15326 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15327 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15328 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15329 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15330 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15331 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15332 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15333 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15334 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15335 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15336 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15337 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15338 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15339 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15340 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15341 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15342 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15343 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15344 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15345 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15346 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15347 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15348 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15349 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15350 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15351 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15352 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15353 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15354 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15355 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15356 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15357 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15358 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15359 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"`'
15360 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15361 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15362 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15363 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15364 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15365 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15366 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15367 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15368 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15369 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15370 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15371 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15372 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15373 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15374 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15375 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15376 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15377 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15378 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15379 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15380 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15381 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15382 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15383 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15384 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15385 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15386 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15387 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15388 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15389 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15390 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15391 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15392 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15393 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15394 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15395 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15396 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15397 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15398 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15399 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15400 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15401 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15402 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15403 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15404 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15405 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15406 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15407 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15408 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15409 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15410 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15411 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15412 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15413 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15414 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15415 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15416 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15417 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15418 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15419 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15420 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15421 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15422 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15423 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15424 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15425 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15426 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15427 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15428 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15429 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15430 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15431 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
15432 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
15433 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
15434 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15435 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
15436 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
15437 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
15438 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
15439 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
15440 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
15441 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
15442 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
15443 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
15444 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15445 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15446 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
15447 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
15448 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
15449 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15450 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15451 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
15452 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15453 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
15454 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15455 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15456 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15457 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
15458 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
15459 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
15460 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
15461 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
15462 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
15463 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
15464 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
15465 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
15466 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
15467 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
15468 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
15469 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15470 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15471 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
15472 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
15473 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
15476 LTCFLAGS='$LTCFLAGS'
15477 compiler='$compiler_DEFAULT'
15479 # A function that is used when there is no print builtin or printf.
15480 func_fallback_echo ()
15482 eval 'cat <<_LTECHO_EOF
15487 # Quote evaled strings.
15501 deplibs_check_method \
15510 lt_cv_sys_global_symbol_pipe \
15511 lt_cv_sys_global_symbol_to_cdecl \
15512 lt_cv_sys_global_symbol_to_c_name_address \
15513 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15514 lt_prog_compiler_no_builtin_flag \
15515 lt_prog_compiler_wl \
15516 lt_prog_compiler_pic \
15517 lt_prog_compiler_static \
15518 lt_cv_prog_compiler_c_o \
15526 export_dynamic_flag_spec \
15527 whole_archive_flag_spec \
15528 compiler_needs_object \
15530 allow_undefined_flag \
15531 no_undefined_flag \
15532 hardcode_libdir_flag_spec \
15533 hardcode_libdir_flag_spec_ld \
15534 hardcode_libdir_separator \
15539 variables_saved_for_relink \
15541 library_names_spec \
15543 install_override_mode \
15550 lt_prog_compiler_no_builtin_flag_GO \
15551 lt_prog_compiler_wl_GO \
15552 lt_prog_compiler_pic_GO \
15553 lt_prog_compiler_static_GO \
15554 lt_cv_prog_compiler_c_o_GO \
15555 export_dynamic_flag_spec_GO \
15556 whole_archive_flag_spec_GO \
15557 compiler_needs_object_GO \
15559 allow_undefined_flag_GO \
15560 no_undefined_flag_GO \
15561 hardcode_libdir_flag_spec_GO \
15562 hardcode_libdir_flag_spec_ld_GO \
15563 hardcode_libdir_separator_GO \
15564 fix_srcfile_path_GO \
15565 exclude_expsyms_GO \
15566 include_expsyms_GO \
15567 file_list_spec_GO; do
15568 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15569 *[\\\\\\\`\\"\\\$]*)
15570 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15573 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15578 # Double-quote double-evaled strings.
15579 for var in reload_cmds \
15580 old_postinstall_cmds \
15581 old_postuninstall_cmds \
15583 extract_expsyms_cmds \
15584 old_archive_from_new_cmds \
15585 old_archive_from_expsyms_cmds \
15587 archive_expsym_cmds \
15589 module_expsym_cmds \
15590 export_symbols_cmds \
15593 postuninstall_cmds \
15595 sys_lib_search_path_spec \
15596 sys_lib_dlsearch_path_spec \
15598 old_archive_cmds_GO \
15599 old_archive_from_new_cmds_GO \
15600 old_archive_from_expsyms_cmds_GO \
15602 archive_expsym_cmds_GO \
15604 module_expsym_cmds_GO \
15605 export_symbols_cmds_GO \
15606 prelink_cmds_GO; do
15607 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15608 *[\\\\\\\`\\"\\\$]*)
15609 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15612 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15617 ac_aux_dir='$ac_aux_dir'
15618 xsi_shell='$xsi_shell'
15619 lt_shell_append='$lt_shell_append'
15621 # See if we are running on zsh, and set the options which allow our
15622 # commands through without removal of \ escapes INIT.
15623 if test -n "\${ZSH_VERSION+set}" ; then
15624 setopt NO_GLOB_SUBST
15630 TIMESTAMP='$TIMESTAMP'
15639 # Variables needed in config.status (file generation) which aren't already
15640 # passed by autoconf.
15646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15648 # Handling of arguments.
15649 for ac_config_target
in $ac_config_targets
15651 case $ac_config_target in
15652 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15653 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15654 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15655 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15656 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15657 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15658 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15660 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15665 # If the user did not use the arguments to specify the items to instantiate,
15666 # then the envvar interface is used. Set only those that are not.
15667 # We use the long form for the default assignment because of an extremely
15668 # bizarre bug on SunOS 4.1.3.
15669 if $ac_need_defaults; then
15670 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15671 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15672 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15675 # Have a temporary directory for convenience. Make it in the build tree
15676 # simply because there is no reason against having it here, and in addition,
15677 # creating and moving files from /tmp can sometimes cause problems.
15678 # Hook for its removal unless debugging.
15679 # Note that there is a small window in which the directory will not be cleaned:
15680 # after its creation but before its name has been assigned to `$tmp'.
15684 trap 'exit_status=$?
15685 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15687 trap 'as_fn_exit 1' 1 2 13 15
15689 # Create a (secure) tmp directory for tmp files.
15692 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15693 test -n "$tmp" && test -d "$tmp"
15696 tmp
=.
/conf$$
-$RANDOM
15697 (umask 077 && mkdir
"$tmp")
15698 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15700 # Set up the scripts for CONFIG_FILES section.
15701 # No need to generate them if there are no CONFIG_FILES.
15702 # This happens for instance with `./config.status config.h'.
15703 if test -n "$CONFIG_FILES"; then
15706 ac_cr
=`echo X | tr X '\015'`
15707 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15708 # But we know of no other shell where ac_cr would be empty at this
15709 # point, so we can use a bashism as a fallback.
15710 if test "x$ac_cr" = x
; then
15711 eval ac_cr
=\$
\'\\r
\'
15713 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15717 ac_cs_awk_cr
=$ac_cr
15720 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15725 echo "cat >conf$$subs.awk <<_ACEOF" &&
15726 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15728 } >conf$$subs.sh ||
15729 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15730 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15732 for ac_last_try in false false false false false :; do
15733 . ./conf$$subs.sh ||
15734 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15736 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15737 if test $ac_delim_n = $ac_delim_num; then
15739 elif $ac_last_try; then
15740 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15742 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15745 rm -f conf$$subs.sh
15747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15748 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15752 s/^/S["/; s
/!.
*/"]=/
15762 s/\(.\{148\}\).*/\1/
15764 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15769 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15776 s/\(.\{148\}\).*/\1/
15778 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15787 ' <conf$$subs.awk | sed '
15792 ' >>$CONFIG_STATUS || ac_write_fail=1
15793 rm -f conf$$subs.awk
15794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15796 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15797 for (key in S) S_is_set[key] = 1
15803 nfields = split(line, field, "@
")
15805 len = length(field[1])
15806 for (i = 2; i < nfields; i++) {
15808 keylen = length(key)
15809 if (S_is_set[key]) {
15811 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15812 len += length(value) + length(field[++i])
15823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15824 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15825 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15828 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15829 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15832 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15833 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15834 # trailing colons and then remove the whole line if VPATH becomes empty
15835 # (actually we leave an empty line to preserve line numbers).
15836 if test "x
$srcdir" = x.; then
15837 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15838 s/:*\$(srcdir):*/:/
15839 s/:*\${srcdir}:*/:/
15841 s/^\([^=]*=[ ]*\):*/\1/
15847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15848 fi # test -n "$CONFIG_FILES"
15850 # Set up the scripts for CONFIG_HEADERS section.
15851 # No need to generate them if there are no CONFIG_HEADERS.
15852 # This happens for instance with `./config.status Makefile'.
15853 if test -n "$CONFIG_HEADERS"; then
15854 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15858 # Transform confdefs.h into an awk script `defines.awk', embedded as
15859 # here-document in config.status, that substitutes the proper values into
15860 # config.h.in to produce config.h.
15862 # Create a delimiter string that does not exist in confdefs.h, to ease
15863 # handling of long lines.
15865 for ac_last_try in false false :; do
15866 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15867 if test -z "$ac_t"; then
15869 elif $ac_last_try; then
15870 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15872 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15876 # For the awk script, D is an array of macro values keyed by name,
15877 # likewise P contains macro parameters if any. Preserve backslash
15878 # newline sequences.
15880 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15882 s/.\{148\}/&'"$ac_delim"'/g
15885 s/^[ ]*#[ ]*define[ ][ ]*/ /
15892 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15894 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15898 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15899 D["\
1"]=" \
3\\\\\\n
"\\/p
15901 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15906 s/.\{148\}/&'"$ac_delim"'/g
15911 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15914 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15916 ' <confdefs.h | sed '
15917 s/'"$ac_delim"'/"\\\
15918 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15921 for (key in D) D_is_set[key] = 1
15924 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15926 split(line, arg, " ")
15927 if (arg[1] == "#") {
15931 defundef
= substr
(arg
[1], 2)
15934 split(mac1
, mac2
, "(") #)
15936 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15937 if (D_is_set
[macro
]) {
15938 # Preserve the white space surrounding the "#".
15939 print prefix
"define", macro P
[macro
] D
[macro
]
15942 # Replace #undef with comments. This is necessary, for example,
15943 # in the case of _POSIX_SOURCE, which is predefined and required
15944 # on some systems where configure will not decide to define it.
15945 if (defundef
== "undef") {
15946 print
"/*", prefix defundef
, macro
, "*/"
15954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15955 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15956 fi # test -n "$CONFIG_HEADERS"
15959 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15964 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15966 case $ac_mode$ac_tag in
15968 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15969 :[FH
]-) ac_tag
=-:-;;
15970 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15987 -) ac_f
="$tmp/stdin";;
15988 *) # Look for the file first in the build tree, then in the source tree
15989 # (if the path is not absolute). The absolute path cannot be DOS-style,
15990 # because $ac_f cannot contain `:'.
15994 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15996 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15998 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15999 as_fn_append ac_file_inputs
" '$ac_f'"
16002 # Let's still pretend it is `configure' which instantiates (i.e., don't
16003 # use $as_me), people would be surprised to read:
16004 # /* config.h. Generated by config.status. */
16005 configure_input
='Generated from '`
16006 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16008 if test x
"$ac_file" != x-
; then
16009 configure_input
="$ac_file. $configure_input"
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16011 $as_echo "$as_me: creating $ac_file" >&6;}
16013 # Neutralize special characters interpreted by sed in replacement strings.
16014 case $configure_input in #(
16015 *\
&* |
*\|
* |
*\\* )
16016 ac_sed_conf_input
=`$as_echo "$configure_input" |
16017 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16018 *) ac_sed_conf_input
=$configure_input;;
16022 *:-:* |
*:-) cat >"$tmp/stdin" \
16023 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16028 ac_dir
=`$as_dirname -- "$ac_file" ||
16029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16030 X"$ac_file" : 'X\(//\)[^/]' \| \
16031 X"$ac_file" : 'X\(//\)$' \| \
16032 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16033 $as_echo X"$ac_file" |
16034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16038 /^X\(\/\/\)[^/].*/{
16051 as_dir
="$ac_dir"; as_fn_mkdir_p
16055 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16057 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16058 # A ".." for each directory in $ac_dir_suffix.
16059 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16060 case $ac_top_builddir_sub in
16061 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16062 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16065 ac_abs_top_builddir
=$ac_pwd
16066 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16067 # for backward compatibility:
16068 ac_top_builddir
=$ac_top_build_prefix
16071 .
) # We are building in place.
16073 ac_top_srcdir
=$ac_top_builddir_sub
16074 ac_abs_top_srcdir
=$ac_pwd ;;
16075 [\\/]* | ?
:[\\/]* ) # Absolute name.
16076 ac_srcdir
=$srcdir$ac_dir_suffix;
16077 ac_top_srcdir
=$srcdir
16078 ac_abs_top_srcdir
=$srcdir ;;
16079 *) # Relative name.
16080 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16081 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16082 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16084 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16094 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16095 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16097 ac_MKDIR_P
=$MKDIR_P
16099 [\\/$
]* | ?
:[\\/]* ) ;;
16100 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16105 # If the template does not know about datarootdir, expand it.
16106 # FIXME: This hack should be removed a few years after 2.60.
16107 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16118 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16119 *datarootdir
*) ac_datarootdir_seen
=yes;;
16120 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16122 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16125 ac_datarootdir_hack='
16126 s&@datadir@&$datadir&g
16127 s&@docdir@&$docdir&g
16128 s&@infodir@&$infodir&g
16129 s&@localedir@&$localedir&g
16130 s&@mandir@&$mandir&g
16131 s&\\\${datarootdir}&$datarootdir&g' ;;
16135 # Neutralize VPATH when `$srcdir' = `.'.
16136 # Shell code in configure.ac might set extrasub.
16137 # FIXME: do we really want to maintain this feature?
16138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16139 ac_sed_extra="$ac_vpsub
16142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16144 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16145 s|@configure_input@|
$ac_sed_conf_input|
;t t
16146 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16147 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16148 s
&@srcdir@
&$ac_srcdir&;t t
16149 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16150 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16151 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16152 s
&@builddir@
&$ac_builddir&;t t
16153 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16154 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16155 s
&@INSTALL@
&$ac_INSTALL&;t t
16156 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16157 $ac_datarootdir_hack
16159 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16160 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16162 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16163 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16164 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16166 which seems to be undefined. Please make sure it is defined." >&5
16167 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16168 which seems to be undefined. Please make sure it is defined." >&2;}
16172 -) cat "$tmp/out" && rm -f "$tmp/out";;
16173 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16175 || as_fn_error "could not create $ac_file" "$LINENO" 5
16181 if test x"$ac_file" != x-; then
16183 $as_echo "/* $configure_input */" \
16184 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16185 } >"$tmp/config.h" \
16186 || as_fn_error "could not create $ac_file" "$LINENO" 5
16187 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16189 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16192 mv "$tmp/config.h" "$ac_file" \
16193 || as_fn_error "could not create $ac_file" "$LINENO" 5
16196 $as_echo "/* $configure_input */" \
16197 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16198 || as_fn_error "could not create -" "$LINENO" 5
16200 # Compute "$ac_file"'s index
in $config_headers.
16203 for _am_header
in $config_headers :; do
16204 case $_am_header in
16205 $_am_arg |
$_am_arg:* )
16208 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16211 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16212 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16213 X"$_am_arg" : 'X\(//\)[^/]' \| \
16214 X"$_am_arg" : 'X\(//\)$' \| \
16215 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16216 $as_echo X"$_am_arg" |
16217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16221 /^X\(\/\/\)[^/].*/{
16233 s/.*/./; q'`/stamp-h
$_am_stamp_count
16236 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16237 $as_echo "$as_me: executing $ac_file commands" >&6;}
16242 case $ac_file$ac_mode in
16244 # Only add multilib support code if we just rebuilt the top-level
16246 case " $CONFIG_FILES " in
16248 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16251 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16252 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16253 # are listed without --file. Let's play safe and only enable the eval
16254 # if we detect the quoting.
16255 case $CONFIG_FILES in
16256 *\'*) eval set x
"$CONFIG_FILES" ;;
16257 *) set x
$CONFIG_FILES ;;
16262 # Strip MF so we end up with the name of the file.
16263 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16264 # Check whether this is an Automake generated Makefile or not.
16265 # We used to match only the files named `Makefile.in', but
16266 # some people rename them; so instead we look at the file content.
16267 # Grep'ing the first line is not enough: some people post-process
16268 # each Makefile.in and add a new line on top of each file to say so.
16269 # Grep'ing the whole file is not good either: AIX grep has a line
16270 # limit of 2048, but all sed's we know have understand at least 4000.
16271 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16272 dirpart
=`$as_dirname -- "$mf" ||
16273 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16274 X"$mf" : 'X\(//\)[^/]' \| \
16275 X"$mf" : 'X\(//\)$' \| \
16276 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16282 /^X\(\/\/\)[^/].*/{
16298 # Extract the definition of DEPDIR, am__include, and am__quote
16299 # from the Makefile without running `make'.
16300 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16301 test -z "$DEPDIR" && continue
16302 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16303 test -z "am__include" && continue
16304 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16305 # When using ansi2knr, U may be empty or an underscore; expand it
16306 U
=`sed -n 's/^U = //p' < "$mf"`
16307 # Find all dependency output files, they are included files with
16308 # $(DEPDIR) in their names. We invoke sed twice because it is the
16309 # simplest approach to changing $(DEPDIR) to its actual value in the
16311 for file in `sed -n "
16312 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16313 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16314 # Make sure the directory exists.
16315 test -f "$dirpart/$file" && continue
16316 fdir
=`$as_dirname -- "$file" ||
16317 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16318 X"$file" : 'X\(//\)[^/]' \| \
16319 X"$file" : 'X\(//\)$' \| \
16320 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16321 $as_echo X"$file" |
16322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16326 /^X\(\/\/\)[^/].*/{
16339 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16340 # echo "creating $dirpart/$file"
16341 echo '# dummy' > "$dirpart/$file"
16348 # See if we are running on zsh, and set the options which allow our
16349 # commands through without removal of \ escapes.
16350 if test -n "${ZSH_VERSION+set}" ; then
16351 setopt NO_GLOB_SUBST
16354 cfgfile
="${ofile}T"
16355 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16358 cat <<_LT_EOF >> "$cfgfile"
16361 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16362 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16363 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16364 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16366 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16367 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16368 # Written by Gordon Matzigkeit, 1996
16370 # This file is part of GNU Libtool.
16372 # GNU Libtool is free software; you can redistribute it and/or
16373 # modify it under the terms of the GNU General Public License as
16374 # published by the Free Software Foundation; either version 2 of
16375 # the License, or (at your option) any later version.
16377 # As a special exception to the GNU General Public License,
16378 # if you distribute this file as part of a program or library that
16379 # is built using GNU Libtool, you may include this file under the
16380 # same distribution terms that you use for the rest of that program.
16382 # GNU Libtool is distributed in the hope that it will be useful,
16383 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16384 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16385 # GNU General Public License for more details.
16387 # You should have received a copy of the GNU General Public License
16388 # along with GNU Libtool; see the file COPYING. If not, a copy
16389 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16390 # obtained by writing to the Free Software Foundation, Inc.,
16391 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16394 # The names of the tagged configurations supported by this script.
16395 available_tags="GO "
16397 # ### BEGIN LIBTOOL CONFIG
16399 # A sed program that does not truncate output.
16402 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16403 Xsed="\$SED -e 1s/^X//"
16405 # A grep program that handles long lines.
16411 # A literal string matcher.
16414 # Shell to use when invoking shell scripts.
16417 # An echo program that protects backslashes.
16420 # Which release of libtool.m4 was used?
16421 macro_version=$macro_version
16422 macro_revision=$macro_revision
16424 # Whether or not to build shared libraries.
16425 build_libtool_libs=$enable_shared
16427 # Whether or not to build static libraries.
16428 build_old_libs=$enable_static
16430 # What type of objects to build.
16433 # Whether or not to optimize for fast installation.
16434 fast_install=$enable_fast_install
16437 host_alias=$host_alias
16441 # The build system.
16442 build_alias=$build_alias
16446 # A BSD- or MS-compatible name lister.
16449 # Whether we need soft or hard links.
16452 # What is the maximum length of a command?
16453 max_cmd_len=$max_cmd_len
16455 # Object file suffix (normally "o").
16458 # Executable file suffix (normally "").
16461 # whether the shell understands "unset".
16464 # turn spaces into newlines.
16467 # turn newlines into spaces.
16470 # An object symbol dumper.
16471 OBJDUMP=$lt_OBJDUMP
16473 # Method to check whether dependent libraries are shared objects.
16474 deplibs_check_method=$lt_deplibs_check_method
16476 # Command to use when deplibs_check_method == "file_magic".
16477 file_magic_cmd=$lt_file_magic_cmd
16481 AR_FLAGS=$lt_AR_FLAGS
16483 # A symbol stripping program.
16486 # Commands used to install an old-style archive.
16488 old_postinstall_cmds=$lt_old_postinstall_cmds
16489 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16491 # Whether to use a lock for old archive extraction.
16492 lock_old_archive_extraction=$lock_old_archive_extraction
16497 # LTCC compiler flags.
16498 LTCFLAGS=$lt_CFLAGS
16500 # Take the output of nm and produce a listing of raw symbols and C names.
16501 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16503 # Transform the output of nm in a proper C declaration.
16504 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16506 # Transform the output of nm in a C name address pair.
16507 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16509 # Transform the output of nm in a C name address pair when lib prefix is needed.
16510 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16512 # The name of the directory that contains temporary libtool files.
16515 # Used to examine libraries when file_magic_cmd begins with "file".
16516 MAGIC_CMD=$MAGIC_CMD
16518 # Must we lock files when doing compilation?
16519 need_locks=$lt_need_locks
16521 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16522 DSYMUTIL=$lt_DSYMUTIL
16524 # Tool to change global to local symbols on Mac OS X.
16527 # Tool to manipulate fat objects and archives on Mac OS X.
16530 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16533 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16534 OTOOL64=$lt_OTOOL64
16536 # Old archive suffix (normally "a").
16539 # Shared library suffix (normally ".so").
16540 shrext_cmds=$lt_shrext_cmds
16542 # The commands to extract the exported symbol list from a shared archive.
16543 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16545 # Variables whose values should be saved in libtool wrapper scripts and
16546 # restored at link time.
16547 variables_saved_for_relink=$lt_variables_saved_for_relink
16549 # Do we need the "lib" prefix for modules?
16550 need_lib_prefix=$need_lib_prefix
16552 # Do we need a version for libraries?
16553 need_version=$need_version
16555 # Library versioning type.
16556 version_type=$version_type
16558 # Shared library runtime path variable.
16559 runpath_var=$runpath_var
16561 # Shared library path variable.
16562 shlibpath_var=$shlibpath_var
16564 # Is shlibpath searched before the hard-coded library search path?
16565 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16567 # Format of library name prefix.
16568 libname_spec=$lt_libname_spec
16570 # List of archive names. First name is the real one, the rest are links.
16571 # The last name is the one that the linker finds with -lNAME
16572 library_names_spec=$lt_library_names_spec
16574 # The coded name of the library, if different from the real name.
16575 soname_spec=$lt_soname_spec
16577 # Permission mode override for installation of shared libraries.
16578 install_override_mode=$lt_install_override_mode
16580 # Command to use after installation of a shared archive.
16581 postinstall_cmds=$lt_postinstall_cmds
16583 # Command to use after uninstallation of a shared archive.
16584 postuninstall_cmds=$lt_postuninstall_cmds
16586 # Commands used to finish a libtool library installation in a directory.
16587 finish_cmds=$lt_finish_cmds
16589 # As "finish_cmds", except a single script fragment to be evaled but
16591 finish_eval=$lt_finish_eval
16593 # Whether we should hardcode library paths into libraries.
16594 hardcode_into_libs=$hardcode_into_libs
16596 # Compile-time system search path for libraries.
16597 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16599 # Run-time system search path for libraries.
16600 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16602 # Whether dlopen is supported.
16603 dlopen_support=$enable_dlopen
16605 # Whether dlopen of programs is supported.
16606 dlopen_self=$enable_dlopen_self
16608 # Whether dlopen of statically linked programs is supported.
16609 dlopen_self_static=$enable_dlopen_self_static
16611 # Commands to strip libraries.
16612 old_striplib=$lt_old_striplib
16613 striplib=$lt_striplib
16616 # The linker used to build libraries.
16619 # How to create reloadable object files.
16620 reload_flag=$lt_reload_flag
16621 reload_cmds=$lt_reload_cmds
16623 # Commands used to build an old-style archive.
16624 old_archive_cmds=$lt_old_archive_cmds
16626 # A language specific compiler.
16629 # Is the compiler the GNU compiler?
16632 # Compiler flag to turn off builtin functions.
16633 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16635 # How to pass a linker flag through the compiler.
16636 wl=$lt_lt_prog_compiler_wl
16638 # Additional compiler flags for building library objects.
16639 pic_flag=$lt_lt_prog_compiler_pic
16641 # Compiler flag to prevent dynamic linking.
16642 link_static_flag=$lt_lt_prog_compiler_static
16644 # Does compiler simultaneously support -c and -o options?
16645 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16647 # Whether or not to add -lc for building shared libraries.
16648 build_libtool_need_lc=$archive_cmds_need_lc
16650 # Whether or not to disallow shared libs when runtime libs are static.
16651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16653 # Compiler flag to allow reflexive dlopens.
16654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16656 # Compiler flag to generate shared objects directly from archives.
16657 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16659 # Whether the compiler copes with passing no objects directly.
16660 compiler_needs_object=$lt_compiler_needs_object
16662 # Create an old-style archive from a shared archive.
16663 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16665 # Create a temporary old-style archive to link instead of a shared archive.
16666 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16668 # Commands used to build a shared archive.
16669 archive_cmds=$lt_archive_cmds
16670 archive_expsym_cmds=$lt_archive_expsym_cmds
16672 # Commands used to build a loadable module if different from building
16673 # a shared archive.
16674 module_cmds=$lt_module_cmds
16675 module_expsym_cmds=$lt_module_expsym_cmds
16677 # Whether we are building with GNU ld or not.
16678 with_gnu_ld=$lt_with_gnu_ld
16680 # Flag that allows shared libraries with undefined symbols to be built.
16681 allow_undefined_flag=$lt_allow_undefined_flag
16683 # Flag that enforces no undefined symbols.
16684 no_undefined_flag=$lt_no_undefined_flag
16686 # Flag to hardcode \$libdir into a binary during linking.
16687 # This must work even if \$libdir does not exist
16688 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16690 # If ld is used when linking, flag to hardcode \$libdir into a binary
16691 # during linking. This must work even if \$libdir does not exist.
16692 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16694 # Whether we need a single "-rpath" flag with a separated argument.
16695 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16697 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16698 # DIR into the resulting binary.
16699 hardcode_direct=$hardcode_direct
16701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16702 # DIR into the resulting binary and the resulting library dependency is
16703 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16704 # library is relocated.
16705 hardcode_direct_absolute=$hardcode_direct_absolute
16707 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16708 # into the resulting binary.
16709 hardcode_minus_L=$hardcode_minus_L
16711 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16712 # into the resulting binary.
16713 hardcode_shlibpath_var=$hardcode_shlibpath_var
16715 # Set to "yes" if building a shared library automatically hardcodes DIR
16716 # into the library and all subsequent libraries and executables linked
16718 hardcode_automatic=$hardcode_automatic
16720 # Set to yes if linker adds runtime paths of dependent libraries
16721 # to runtime path list.
16722 inherit_rpath=$inherit_rpath
16724 # Whether libtool must link a program against all its dependency libraries.
16725 link_all_deplibs=$link_all_deplibs
16727 # Fix the shell variable \$srcfile for the compiler.
16728 fix_srcfile_path=$lt_fix_srcfile_path
16730 # Set to "yes" if exported symbols are required.
16731 always_export_symbols=$always_export_symbols
16733 # The commands to list exported symbols.
16734 export_symbols_cmds=$lt_export_symbols_cmds
16736 # Symbols that should not be listed in the preloaded symbols.
16737 exclude_expsyms=$lt_exclude_expsyms
16739 # Symbols that must always be exported.
16740 include_expsyms=$lt_include_expsyms
16742 # Commands necessary for linking programs (against libraries) with templates.
16743 prelink_cmds=$lt_prelink_cmds
16745 # Specify filename containing input files.
16746 file_list_spec=$lt_file_list_spec
16748 # How to hardcode a shared library path into an executable.
16749 hardcode_action=$hardcode_action
16751 # ### END LIBTOOL CONFIG
16757 cat <<\_LT_EOF
>> "$cfgfile"
16758 # AIX sometimes has problems with the GCC collect2 program. For some
16759 # reason, if we set the COLLECT_NAMES environment variable, the problems
16760 # vanish in a puff of smoke.
16761 if test "X${COLLECT_NAMES+set}" != Xset
; then
16763 export COLLECT_NAMES
16770 ltmain
="$ac_aux_dir/ltmain.sh"
16773 # We use sed instead of cat because bash on DJGPP gets confused if
16774 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16775 # text mode, it properly converts lines to CR/LF. This bash problem
16776 # is reportedly fixed, but why not run on old versions too?
16777 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16778 ||
(rm -f "$cfgfile"; exit 1)
16782 cat << \_LT_EOF
>> "$cfgfile"
16784 # func_dirname file append nondir_replacement
16785 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16786 # otherwise set result to NONDIR_REPLACEMENT.
16790 */*) func_dirname_result
="${1%/*}${2}" ;;
16791 * ) func_dirname_result
="${3}" ;;
16795 # func_basename file
16798 func_basename_result
="${1##*/}"
16801 # func_dirname_and_basename file append nondir_replacement
16802 # perform func_basename and func_dirname in a single function
16804 # dirname: Compute the dirname of FILE. If nonempty,
16805 # add APPEND to the result, otherwise set result
16806 # to NONDIR_REPLACEMENT.
16807 # value returned in "$func_dirname_result"
16808 # basename: Compute filename of FILE.
16809 # value retuned in "$func_basename_result"
16810 # Implementation must be kept synchronized with func_dirname
16811 # and func_basename. For efficiency, we do not delegate to
16812 # those functions but instead duplicate the functionality here.
16813 func_dirname_and_basename
()
16816 */*) func_dirname_result
="${1%/*}${2}" ;;
16817 * ) func_dirname_result
="${3}" ;;
16819 func_basename_result
="${1##*/}"
16822 # func_stripname prefix suffix name
16823 # strip PREFIX and SUFFIX off of NAME.
16824 # PREFIX and SUFFIX must not contain globbing or regex special
16825 # characters, hashes, percent signs, but SUFFIX may contain a leading
16826 # dot (in which case that matches only a dot).
16829 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16830 # positional parameters, so assign one to ordinary parameter first.
16831 func_stripname_result
=${3}
16832 func_stripname_result
=${func_stripname_result#"${1}"}
16833 func_stripname_result
=${func_stripname_result%"${2}"}
16839 func_opt_split_opt
=${1%%=*}
16840 func_opt_split_arg
=${1#*=}
16847 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16848 *) func_lo2o_result
=${1} ;;
16852 # func_xform libobj-or-source
16855 func_xform_result
=${1%.*}.lo
16858 # func_arith arithmetic-term...
16861 func_arith_result
=$
(( $
* ))
16865 # STRING may not start with a hyphen.
16868 func_len_result
=${#1}
16873 *) # Bourne compatible functions.
16874 cat << \_LT_EOF
>> "$cfgfile"
16876 # func_dirname file append nondir_replacement
16877 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16878 # otherwise set result to NONDIR_REPLACEMENT.
16881 # Extract subdirectory from the argument.
16882 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16883 if test "X$func_dirname_result" = "X${1}"; then
16884 func_dirname_result
="${3}"
16886 func_dirname_result
="$func_dirname_result${2}"
16890 # func_basename file
16893 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16897 # func_stripname prefix suffix name
16898 # strip PREFIX and SUFFIX off of NAME.
16899 # PREFIX and SUFFIX must not contain globbing or regex special
16900 # characters, hashes, percent signs, but SUFFIX may contain a leading
16901 # dot (in which case that matches only a dot).
16902 # func_strip_suffix prefix name
16906 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16907 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16912 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16913 my_sed_long_arg
='1s/^-[^=]*=//'
16918 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16919 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16925 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16928 # func_xform libobj-or-source
16931 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16934 # func_arith arithmetic-term...
16937 func_arith_result
=`expr "$@"`
16941 # STRING may not start with a hyphen.
16944 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16950 case $lt_shell_append in
16952 cat << \_LT_EOF
>> "$cfgfile"
16954 # func_append var value
16955 # Append VALUE to the end of shell variable VAR.
16963 cat << \_LT_EOF
>> "$cfgfile"
16965 # func_append var value
16966 # Append VALUE to the end of shell variable VAR.
16977 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16978 ||
(rm -f "$cfgfile"; exit 1)
16980 mv -f "$cfgfile" "$ofile" ||
16981 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16985 cat <<_LT_EOF >> "$ofile"
16987 # ### BEGIN LIBTOOL TAG CONFIG: GO
16989 # The linker used to build libraries.
16992 # How to create reloadable object files.
16993 reload_flag=$lt_reload_flag_GO
16994 reload_cmds=$lt_reload_cmds_GO
16996 # Commands used to build an old-style archive.
16997 old_archive_cmds=$lt_old_archive_cmds_GO
16999 # A language specific compiler.
17002 # Is the compiler the GNU compiler?
17005 # Compiler flag to turn off builtin functions.
17006 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17008 # How to pass a linker flag through the compiler.
17009 wl=$lt_lt_prog_compiler_wl_GO
17011 # Additional compiler flags for building library objects.
17012 pic_flag=$lt_lt_prog_compiler_pic_GO
17014 # Compiler flag to prevent dynamic linking.
17015 link_static_flag=$lt_lt_prog_compiler_static_GO
17017 # Does compiler simultaneously support -c and -o options?
17018 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17020 # Whether or not to add -lc for building shared libraries.
17021 build_libtool_need_lc=$archive_cmds_need_lc_GO
17023 # Whether or not to disallow shared libs when runtime libs are static.
17024 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17026 # Compiler flag to allow reflexive dlopens.
17027 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17029 # Compiler flag to generate shared objects directly from archives.
17030 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17032 # Whether the compiler copes with passing no objects directly.
17033 compiler_needs_object=$lt_compiler_needs_object_GO
17035 # Create an old-style archive from a shared archive.
17036 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17038 # Create a temporary old-style archive to link instead of a shared archive.
17039 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17041 # Commands used to build a shared archive.
17042 archive_cmds=$lt_archive_cmds_GO
17043 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17045 # Commands used to build a loadable module if different from building
17046 # a shared archive.
17047 module_cmds=$lt_module_cmds_GO
17048 module_expsym_cmds=$lt_module_expsym_cmds_GO
17050 # Whether we are building with GNU ld or not.
17051 with_gnu_ld=$lt_with_gnu_ld_GO
17053 # Flag that allows shared libraries with undefined symbols to be built.
17054 allow_undefined_flag=$lt_allow_undefined_flag_GO
17056 # Flag that enforces no undefined symbols.
17057 no_undefined_flag=$lt_no_undefined_flag_GO
17059 # Flag to hardcode \$libdir into a binary during linking.
17060 # This must work even if \$libdir does not exist
17061 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17063 # If ld is used when linking, flag to hardcode \$libdir into a binary
17064 # during linking. This must work even if \$libdir does not exist.
17065 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17067 # Whether we need a single "-rpath" flag with a separated argument.
17068 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17070 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17071 # DIR into the resulting binary.
17072 hardcode_direct=$hardcode_direct_GO
17074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17075 # DIR into the resulting binary and the resulting library dependency is
17076 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17077 # library is relocated.
17078 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17080 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17081 # into the resulting binary.
17082 hardcode_minus_L=$hardcode_minus_L_GO
17084 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17085 # into the resulting binary.
17086 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17088 # Set to "yes" if building a shared library automatically hardcodes DIR
17089 # into the library and all subsequent libraries and executables linked
17091 hardcode_automatic=$hardcode_automatic_GO
17093 # Set to yes if linker adds runtime paths of dependent libraries
17094 # to runtime path list.
17095 inherit_rpath=$inherit_rpath_GO
17097 # Whether libtool must link a program against all its dependency libraries.
17098 link_all_deplibs=$link_all_deplibs_GO
17100 # Fix the shell variable \$srcfile for the compiler.
17101 fix_srcfile_path=$lt_fix_srcfile_path_GO
17103 # Set to "yes" if exported symbols are required.
17104 always_export_symbols=$always_export_symbols_GO
17106 # The commands to list exported symbols.
17107 export_symbols_cmds=$lt_export_symbols_cmds_GO
17109 # Symbols that should not be listed in the preloaded symbols.
17110 exclude_expsyms=$lt_exclude_expsyms_GO
17112 # Symbols that must always be exported.
17113 include_expsyms=$lt_include_expsyms_GO
17115 # Commands necessary for linking programs (against libraries) with templates.
17116 prelink_cmds=$lt_prelink_cmds_GO
17118 # Specify filename containing input files.
17119 file_list_spec=$lt_file_list_spec_GO
17121 # How to hardcode a shared library path into an executable.
17122 hardcode_action=$hardcode_action_GO
17124 # ### END LIBTOOL TAG CONFIG: GO
17128 "default":C
) if test -n "$CONFIG_FILES"; then
17129 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17130 # that multilib installs will end up installed in the correct place.
17131 # The testsuite needs it for multilib-aware ABI baseline files.
17132 # To work around this not being passed down from config-ml.in ->
17133 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17134 # append it here. Only modify Makefiles that have just been created.
17136 # Also, get rid of this simulated-VPATH thing that automake does.
17137 cat > vpsed
<< \_EOF
17138 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17140 for i
in $SUBDIRS; do
17141 case $CONFIG_FILES in
17143 #echo "Adding MULTISUBDIR to $i/Makefile"
17144 sed -f vpsed
$i/Makefile
> tmp
17145 grep '^MULTISUBDIR =' Makefile
>> tmp
17160 ac_clean_files
=$ac_clean_files_save
17162 test $ac_write_fail = 0 ||
17163 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17166 # configure is writing to config.log, and then calls config.status.
17167 # config.status does its own redirection, appending to config.log.
17168 # Unfortunately, on DOS this fails, as config.log is still kept open
17169 # by configure, so config.status won't be able to write to it; its
17170 # output is simply discarded. So we exec the FD to /dev/null,
17171 # effectively closing config.log, so it can be properly (re)opened and
17172 # appended to by config.status. When coming back to configure, we
17173 # need to make the FD available again.
17174 if test "$no_create" != yes; then
17176 ac_config_status_args
=
17177 test "$silent" = yes &&
17178 ac_config_status_args
="$ac_config_status_args --quiet"
17180 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17182 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17183 # would make configure fail if this is the last instruction.
17184 $ac_cs_success || as_fn_exit $?
17186 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17188 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}