2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='package-unused'
558 PACKAGE_TARNAME
='libgo'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="Makefile.am"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
605 STRUCT_EPOLL_EVENT_FD_OFFSET
606 SIZEOF_STRUCT_EPOLL_EVENT
611 HAVE_STRERROR_R_FALSE
613 HAVE_SYS_MMAN_H_FALSE
619 USING_SPLIT_STACK_FALSE
620 USING_SPLIT_STACK_TRUE
623 GO_SYSCALL_OS_ARCH_FILE
625 GO_LIBCALL_OS_ARCH_FILE
628 LIBGO_IS_X86_64_FALSE
630 LIBGO_IS_SPARC64_FALSE
631 LIBGO_IS_SPARC64_TRUE
638 LIBGO_IS_MIPSO64_FALSE
639 LIBGO_IS_MIPSO64_TRUE
640 LIBGO_IS_MIPSN64_FALSE
641 LIBGO_IS_MIPSN64_TRUE
642 LIBGO_IS_MIPSN32_FALSE
643 LIBGO_IS_MIPSN32_TRUE
644 LIBGO_IS_MIPSO32_FALSE
645 LIBGO_IS_MIPSO32_TRUE
657 LIBGO_IS_SOLARIS_FALSE
658 LIBGO_IS_SOLARIS_TRUE
661 LIBGO_IS_NETBSD_FALSE
667 LIBGO_IS_FREEBSD_FALSE
668 LIBGO_IS_FREEBSD_TRUE
669 LIBGO_IS_DARWIN_FALSE
674 nover_glibgo_toolexeclibdir
675 glibgo_toolexeclibdir
703 MAINTAINER_MODE_FALSE
731 INSTALL_STRIP_PROGRAM
787 program_transform_name
800 enable_option_checking
802 enable_dependency_tracking
803 enable_maintainer_mode
810 enable_version_specific_runtime_libs
812 with_system_libunwind
813 enable_sjlj_exceptions
815 ac_precious_vars
='build_alias
822 # Initialize some variables set by options.
824 ac_init_version
=false
825 ac_unrecognized_opts
=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
928 as_fn_error
"invalid feature name: $ac_useropt"
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 as_fn_error
"invalid feature name: $ac_useropt"
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=\
$ac_optarg ;;
966 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
967 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
968 |
--exec |
--exe |
--ex)
969 ac_prev
=exec_prefix
;;
970 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
971 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
972 |
--exec=* |
--exe=* |
--ex=*)
973 exec_prefix
=$ac_optarg ;;
975 -gas |
--gas |
--ga |
--g)
976 # Obsolete; use --with-gas.
979 -help |
--help |
--hel |
--he |
-h)
981 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
982 ac_init_help
=recursive
;;
983 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
984 ac_init_help
=short
;;
986 -host |
--host |
--hos |
--ho)
987 ac_prev
=host_alias
;;
988 -host=* |
--host=* |
--hos=* |
--ho=*)
989 host_alias
=$ac_optarg ;;
991 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
993 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
995 htmldir
=$ac_optarg ;;
997 -includedir |
--includedir |
--includedi |
--included |
--include \
998 |
--includ |
--inclu |
--incl |
--inc)
999 ac_prev
=includedir
;;
1000 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1001 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1002 includedir
=$ac_optarg ;;
1004 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1006 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1007 infodir
=$ac_optarg ;;
1009 -libdir |
--libdir |
--libdi |
--libd)
1011 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1012 libdir
=$ac_optarg ;;
1014 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1015 |
--libexe |
--libex |
--libe)
1016 ac_prev
=libexecdir
;;
1017 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1018 |
--libexe=* |
--libex=* |
--libe=*)
1019 libexecdir
=$ac_optarg ;;
1021 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1022 ac_prev
=localedir
;;
1023 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1024 localedir
=$ac_optarg ;;
1026 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1027 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1028 ac_prev
=localstatedir
;;
1029 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1030 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1031 localstatedir
=$ac_optarg ;;
1033 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1035 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1036 mandir
=$ac_optarg ;;
1038 -nfp |
--nfp |
--nf)
1039 # Obsolete; use --without-fp.
1042 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1043 |
--no-cr |
--no-c |
-n)
1046 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1047 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1050 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1051 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1052 |
--oldin |
--oldi |
--old |
--ol |
--o)
1053 ac_prev
=oldincludedir
;;
1054 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1055 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1056 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1057 oldincludedir
=$ac_optarg ;;
1059 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1061 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1062 prefix
=$ac_optarg ;;
1064 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1065 |
--program-pre |
--program-pr |
--program-p)
1066 ac_prev
=program_prefix
;;
1067 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1068 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1069 program_prefix
=$ac_optarg ;;
1071 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1072 |
--program-suf |
--program-su |
--program-s)
1073 ac_prev
=program_suffix
;;
1074 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1075 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1076 program_suffix
=$ac_optarg ;;
1078 -program-transform-name |
--program-transform-name \
1079 |
--program-transform-nam |
--program-transform-na \
1080 |
--program-transform-n |
--program-transform- \
1081 |
--program-transform |
--program-transfor \
1082 |
--program-transfo |
--program-transf \
1083 |
--program-trans |
--program-tran \
1084 |
--progr-tra |
--program-tr |
--program-t)
1085 ac_prev
=program_transform_name
;;
1086 -program-transform-name=* |
--program-transform-name=* \
1087 |
--program-transform-nam=* |
--program-transform-na=* \
1088 |
--program-transform-n=* |
--program-transform-=* \
1089 |
--program-transform=* |
--program-transfor=* \
1090 |
--program-transfo=* |
--program-transf=* \
1091 |
--program-trans=* |
--program-tran=* \
1092 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1093 program_transform_name
=$ac_optarg ;;
1095 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1097 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1098 pdfdir
=$ac_optarg ;;
1100 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1102 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1106 |
-silent |
--silent |
--silen |
--sile |
--sil)
1109 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1111 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1113 sbindir
=$ac_optarg ;;
1115 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1116 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1117 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1119 ac_prev
=sharedstatedir
;;
1120 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1121 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1122 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1124 sharedstatedir
=$ac_optarg ;;
1126 -site |
--site |
--sit)
1128 -site=* |
--site=* |
--sit=*)
1131 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1133 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1134 srcdir
=$ac_optarg ;;
1136 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1137 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1138 ac_prev
=sysconfdir
;;
1139 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1140 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1141 sysconfdir
=$ac_optarg ;;
1143 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1144 ac_prev
=target_alias
;;
1145 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1146 target_alias
=$ac_optarg ;;
1148 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1151 -version |
--version |
--versio |
--versi |
--vers |
-V)
1152 ac_init_version
=: ;;
1155 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=\
$ac_optarg ;;
1170 -without-* |
--without-*)
1171 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=no
;;
1187 # Obsolete; use --with-x.
1190 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1191 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1192 ac_prev
=x_includes
;;
1193 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1194 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1195 x_includes
=$ac_optarg ;;
1197 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1198 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1199 ac_prev
=x_libraries
;;
1200 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1201 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1202 x_libraries
=$ac_optarg ;;
1204 -*) as_fn_error
"unrecognized option: \`$ac_option'
1205 Try \`$0 --help' for more information."
1209 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1210 # Reject names that are not valid shell variable names.
1211 case $ac_envvar in #(
1212 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1213 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1215 eval $ac_envvar=\
$ac_optarg
1216 export $ac_envvar ;;
1219 # FIXME: should be removed in autoconf 3.0.
1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1229 if test -n "$ac_prev"; then
1230 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1231 as_fn_error
"missing argument to $ac_option"
1234 if test -n "$ac_unrecognized_opts"; then
1235 case $enable_option_checking in
1237 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242 # Check all directory arguments for consistency.
1243 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1244 datadir sysconfdir sharedstatedir localstatedir includedir \
1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1246 libdir localedir mandir
1248 eval ac_val
=\$
$ac_var
1249 # Remove trailing slashes.
1252 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1253 eval $ac_var=\
$ac_val;;
1255 # Be sure to have absolute directory names.
1257 [\\/$
]* | ?
:[\\/]* ) continue;;
1258 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1260 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1263 # There might be people who depend on the old broken behavior: `$host'
1264 # used to hold the argument of --host etc.
1265 # FIXME: To remove some day.
1268 target
=$target_alias
1270 # FIXME: To remove some day.
1271 if test "x$host_alias" != x
; then
1272 if test "x$build_alias" = x
; then
1273 cross_compiling
=maybe
1274 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1275 If a cross compiler is detected then cross compile mode will be used." >&2
1276 elif test "x$build_alias" != "x$host_alias"; then
1282 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1284 test "$silent" = yes && exec 6>/dev
/null
1287 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1288 ac_ls_di
=`ls -di .` &&
1289 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1290 as_fn_error
"working directory cannot be determined"
1291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292 as_fn_error
"pwd does not report name of working directory"
1295 # Find the source files, if location was not specified.
1296 if test -z "$srcdir"; then
1297 ac_srcdir_defaulted
=yes
1298 # Try the directory containing this script, then the parent directory.
1299 ac_confdir
=`$as_dirname -- "$as_myself" ||
1300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301 X"$as_myself" : 'X\(//\)[^/]' \| \
1302 X"$as_myself" : 'X\(//\)$' \| \
1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304 $as_echo X"$as_myself" |
1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1327 ac_srcdir_defaulted
=no
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1330 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1331 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1333 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1337 # When building in place, set srcdir=.
1338 if test "$ac_abs_confdir" = "$ac_pwd"; then
1341 # Remove unnecessary trailing slashes from srcdir.
1342 # Double slashes in file names in object file debugging info
1343 # mess up M-x gdb in Emacs.
1345 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1347 for ac_var
in $ac_precious_vars; do
1348 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1349 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1350 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1351 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1355 # Report the --help message.
1357 if test "$ac_init_help" = "long"; then
1358 # Omit some internal or obsolete options to make the list less imposing.
1359 # This message is too long to be a string in the A/UX 3.1 sh.
1361 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1363 Usage: $0 [OPTION]... [VAR=VALUE]...
1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1366 VAR=VALUE. See below for descriptions of some of the useful variables.
1368 Defaults for the options are specified in brackets.
1371 -h, --help display this help and exit
1372 --help=short display options specific to this package
1373 --help=recursive display the short help of all the included packages
1374 -V, --version display version information and exit
1375 -q, --quiet, --silent do not print \`checking...' messages
1376 --cache-file=FILE cache test results in FILE [disabled]
1377 -C, --config-cache alias for \`--cache-file=config.cache'
1378 -n, --no-create do not create output files
1379 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1381 Installation directories:
1382 --prefix=PREFIX install architecture-independent files in PREFIX
1383 [$ac_default_prefix]
1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1387 By default, \`make install' will install all the files in
1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1390 for instance \`--prefix=\$HOME'.
1392 For better control, use the options below.
1394 Fine tuning of the installation directories:
1395 --bindir=DIR user executables [EPREFIX/bin]
1396 --sbindir=DIR system admin executables [EPREFIX/sbin]
1397 --libexecdir=DIR program executables [EPREFIX/libexec]
1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1401 --libdir=DIR object code libraries [EPREFIX/lib]
1402 --includedir=DIR C header files [PREFIX/include]
1403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1406 --infodir=DIR info documentation [DATAROOTDIR/info]
1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1408 --mandir=DIR man documentation [DATAROOTDIR/man]
1409 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1410 --htmldir=DIR html documentation [DOCDIR]
1411 --dvidir=DIR dvi documentation [DOCDIR]
1412 --pdfdir=DIR pdf documentation [DOCDIR]
1413 --psdir=DIR ps documentation [DOCDIR]
1419 --program-prefix=PREFIX prepend PREFIX to installed program names
1420 --program-suffix=SUFFIX append SUFFIX to installed program names
1421 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1424 --build=BUILD configure
for building on BUILD
[guessed
]
1425 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1426 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1430 if test -n "$ac_init_help"; then
1431 case $ac_init_help in
1432 short | recursive
) echo "Configuration of package-unused version-unused:";;
1437 --disable-option-checking ignore unrecognized
--enable/--with options
1438 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1439 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1440 --enable-multilib build many library versions
(default
)
1441 --disable-dependency-tracking speeds up one-time build
1442 --enable-dependency-tracking do not reject slow dependency extractors
1443 --enable-maintainer-mode enable make rules and dependencies not useful
1444 (and sometimes confusing
) to the casual installer
1445 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1446 --enable-static[=PKGS
] build static libraries
[default
=yes]
1447 --enable-fast-install[=PKGS
]
1448 optimize
for fast installation
[default
=yes]
1449 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1450 --enable-version-specific-runtime-libs
1451 Specify that runtime libraries should be installed
1452 in a compiler-specific directory
1453 --enable-sjlj-exceptions
1454 force use of builtin_setjmp
for exceptions
1457 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1458 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1459 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1460 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1462 --without-libffi don
't use libffi
1463 --with-system-libunwind use installed libunwind
1465 Some influential environment variables:
1466 CC C compiler command
1467 CFLAGS C compiler flags
1468 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1469 nonstandard directory <lib dir>
1470 LIBS libraries to pass to the linker, e.g. -l<library>
1471 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1472 you have headers in a nonstandard directory <include dir>
1473 GOC Go compiler command
1474 GOCFLAGS Go compiler flags
1477 Use these variables to override the choices made by `configure' or to
help
1478 it to
find libraries and programs with nonstandard names
/locations.
1480 Report bugs to the package provider.
1485 if test "$ac_init_help" = "recursive"; then
1486 # If there are subdirs, report their specific --help.
1487 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1488 test -d "$ac_dir" ||
1489 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1494 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1496 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1497 # A ".." for each directory in $ac_dir_suffix.
1498 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1499 case $ac_top_builddir_sub in
1500 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1501 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1504 ac_abs_top_builddir
=$ac_pwd
1505 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1506 # for backward compatibility:
1507 ac_top_builddir
=$ac_top_build_prefix
1510 .
) # We are building in place.
1512 ac_top_srcdir
=$ac_top_builddir_sub
1513 ac_abs_top_srcdir
=$ac_pwd ;;
1514 [\\/]* | ?
:[\\/]* ) # Absolute name.
1515 ac_srcdir
=$srcdir$ac_dir_suffix;
1516 ac_top_srcdir
=$srcdir
1517 ac_abs_top_srcdir
=$srcdir ;;
1519 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1521 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1523 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1525 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1526 # Check for guested configure.
1527 if test -f "$ac_srcdir/configure.gnu"; then
1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530 elif test -f "$ac_srcdir/configure"; then
1532 $SHELL "$ac_srcdir/configure" --help=recursive
1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1540 test -n "$ac_init_help" && exit $ac_status
1541 if $ac_init_version; then
1543 package-unused configure version-unused
1544 generated by GNU Autoconf
2.64
1546 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1547 This configure
script is free software
; the Free Software Foundation
1548 gives unlimited permission to copy
, distribute and modify it.
1553 ## ------------------------ ##
1554 ## Autoconf initialization. ##
1555 ## ------------------------ ##
1557 # ac_fn_c_try_compile LINENO
1558 # --------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_c_try_compile
()
1562 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1563 rm -f conftest.
$ac_objext
1564 if { { ac_try
="$ac_compile"
1566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.$ac_objext; then :
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593 } # ac_fn_c_try_compile
1595 # ac_fn_c_try_link LINENO
1596 # -----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext conftest$ac_exeext
1602 if { { ac_try="$ac_link"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest
$ac_exeext && {
1621 test "$cross_compiling" = yes ||
1622 $as_test_x conftest
$ac_exeext
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.
$ac_ext >&5
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1639 } # ac_fn_c_try_link
1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists and can be compiled using the include files in
1644 # INCLUDES, setting the cache variable VAR accordingly.
1645 ac_fn_c_check_header_compile
()
1647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1651 $as_echo_n "(cached) " >&6
1653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1658 if ac_fn_c_try_compile
"$LINENO"; then :
1663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1670 } # ac_fn_c_check_header_compile
1672 # ac_fn_c_try_cpp LINENO
1673 # ----------------------
1674 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } >/dev/null && {
1694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1704 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 # ac_fn_c_try_run LINENO
1710 # ----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1712 # that executables *can* be run.
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_link"
1718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1719 *) ac_try_echo
=$ac_try;;
1721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>&5
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1727 { { case "(($ac_try" in
1728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_try") 2>&5
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; }; }; then :
1739 $as_echo "$as_me: program exited with status $ac_status" >&5
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=$ac_status
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1751 # ac_fn_c_check_func LINENO FUNC VAR
1752 # ----------------------------------
1753 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1754 ac_fn_c_check_func ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758 $as_echo_n "checking for $2... " >&6; }
1759 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1760 $as_echo_n "(cached) " >&6
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1766 #define $2 innocuous_$2
1768 /* System header to define __stub macros and hopefully few prototypes,
1769 which can conflict with char $2 (); below.
1770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1771 <limits.h> exists even on freestanding compilers. */
1774 # include <limits.h>
1776 # include <assert.h>
1781 /* Override any GCC internal prototype to avoid an error.
1782 Use char because int might match the return type of a GCC
1783 builtin and then its argument prototype would still apply. */
1788 /* The GNU C library defines this for functions which it implements
1789 to always fail with ENOSYS. Some functions are actually named
1790 something starting with __ and the normal name is an alias. */
1791 #if defined __stub_$2 || defined __stub___$2
1803 if ac_fn_c_try_link "$LINENO"; then :
1808 rm -f core conftest.err conftest.$ac_objext \
1809 conftest$ac_exeext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1816 } # ac_fn_c_check_func
1818 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1819 # -------------------------------------------------------
1820 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1821 # the include files in INCLUDES and setting the cache variable VAR
1823 ac_fn_c_check_header_mongrel ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828 $as_echo_n "checking for $2... " >&6; }
1829 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1830 $as_echo_n "(cached) " >&6
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1836 # Is the header compilable?
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1838 $as_echo_n "checking $2 usability... " >&6; }
1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1844 if ac_fn_c_try_compile "$LINENO"; then :
1845 ac_header_compiler=yes
1847 ac_header_compiler=no
1849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1851 $as_echo "$ac_header_compiler" >&6; }
1853 # Is the header present?
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1855 $as_echo_n "checking $2 presence... " >&6; }
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1860 if ac_fn_c_try_cpp "$LINENO"; then :
1861 ac_header_preproc=yes
1863 ac_header_preproc=no
1865 rm -f conftest.err conftest.$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1867 $as_echo "$ac_header_preproc" >&6; }
1869 # So? What about this header?
1870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1873 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1875 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1879 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1881 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1883 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1885 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1887 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1893 $as_echo_n "(cached) " >&6
1895 eval "$3=\$ac_header_compiler"
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_check_header_mongrel
1905 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1906 # -------------------------------------------
1907 # Tests whether TYPE exists after having included INCLUDES, setting cache
1908 # variable VAR accordingly.
1909 ac_fn_c_check_type ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1930 if ac_fn_c_try_compile "$LINENO"; then :
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1943 if ac_fn_c_try_compile "$LINENO"; then :
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1957 } # ac_fn_c_check_type
1959 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1960 # --------------------------------------------
1961 # Tries to find the compile-time value of EXPR in a program that includes
1962 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1964 ac_fn_c_compute_int ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 if test "$cross_compiling" = yes; then
1968 # Depending upon the size, compute the lo and hi bounds.
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1975 static int test_array [1 - 2 * !(($2) >= 0)];
1982 if ac_fn_c_try_compile "$LINENO"; then :
1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1991 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1998 if ac_fn_c_try_compile "$LINENO"; then :
1999 ac_hi=$ac_mid; break
2001 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2002 if test $ac_lo -le $ac_mid; then
2006 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2017 static int test_array [1 - 2 * !(($2) < 0)];
2024 if ac_fn_c_try_compile "$LINENO"; then :
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2033 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2040 if ac_fn_c_try_compile "$LINENO"; then :
2041 ac_lo=$ac_mid; break
2043 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2044 if test $ac_mid -le $ac_hi; then
2048 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 # Binary search between lo and hi bounds.
2059 while test "x$ac_lo" != "x$ac_hi"; do
2060 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2067 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2074 if ac_fn_c_try_compile "$LINENO"; then :
2077 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2089 static long int longval () { return $2; }
2090 static unsigned long int ulongval () { return $2; }
2097 FILE *f = fopen ("conftest.val", "w");
2102 long int i = longval ();
2105 fprintf (f, "%ld", i);
2109 unsigned long int i = ulongval ();
2112 fprintf (f, "%lu", i);
2114 /* Do not output a trailing newline, as this causes \r\n confusion
2115 on some platforms. */
2116 return ferror (f) || fclose (f) != 0;
2122 if ac_fn_c_try_run "$LINENO"; then :
2123 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2128 conftest.$ac_objext conftest.beam conftest.$ac_ext
2132 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2135 } # ac_fn_c_compute_int
2136 cat >config.log <<_ACEOF
2137 This file contains any messages produced by compilers while
2138 running configure, to aid debugging if configure makes a mistake.
2140 It was created by package-unused $as_me version-unused, which was
2141 generated by GNU Autoconf 2.64. Invocation command line was
2153 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2154 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2155 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2156 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2157 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2159 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2160 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2162 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2163 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2164 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2165 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2166 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2167 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2168 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir=.
2177 $as_echo "PATH: $as_dir"
2193 # Keep a trace of the command line.
2194 # Strip out --no-create and --no-recursion so they do not pile up.
2195 # Strip out --silent because we don't want to record it for future runs.
2196 # Also quote any args containing shell meta-characters.
2197 # Make two passes to allow for proper duplicate-argument suppression.
2201 ac_must_keep_next=false
2207 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2209 | -silent | --silent | --silen | --sile | --sil)
2212 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2215 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2217 as_fn_append ac_configure_args1 " '$ac_arg'"
2218 if test $ac_must_keep_next = true; then
2219 ac_must_keep_next=false # Got value, back to normal.
2222 *=* | --config-cache | -C | -disable-* | --disable-* \
2223 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2224 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2225 | -with-* | --with-* | -without-* | --without-* | --x)
2226 case "$ac_configure_args0 " in
2227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2230 -* ) ac_must_keep_next=true ;;
2233 as_fn_append ac_configure_args " '$ac_arg'"
2238 { ac_configure_args0=; unset ac_configure_args0;}
2239 { ac_configure_args1=; unset ac_configure_args1;}
2241 # When interrupted or exit'd, cleanup temporary files, and complete
2242 # config.log. We remove comments because anyway the quotes in there
2243 # would cause problems or look ugly.
2244 # WARNING: Use '\'' to represent an apostrophe within the trap.
2245 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2246 trap 'exit_status=$?
2247 # Save into config.log some information that might help in debugging.
2252 ## ---------------- ##
2253 ## Cache variables. ##
2254 ## ---------------- ##
2257 # The following way of writing the cache mishandles newlines in values,
2259 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2260 eval ac_val=\$$ac_var
2264 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2265 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2268 _ | IFS | as_nl) ;; #(
2269 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2270 *) { eval $ac_var=; unset $ac_var;} ;;
2275 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2276 *${as_nl}ac_space=\ *)
2278 "s/'\''/'\''\\\\'\'''\''/g;
2279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2282 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2290 ## ----------------- ##
2291 ## Output variables. ##
2292 ## ----------------- ##
2295 for ac_var in $ac_subst_vars
2297 eval ac_val=\$$ac_var
2299 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2301 $as_echo "$ac_var='\''$ac_val'\''"
2305 if test -n "$ac_subst_files"; then
2307 ## ------------------- ##
2308 ## File substitutions. ##
2309 ## ------------------- ##
2312 for ac_var in $ac_subst_files
2314 eval ac_val=\$$ac_var
2316 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2318 $as_echo "$ac_var='\''$ac_val'\''"
2323 if test -s confdefs.h; then
2333 test "$ac_signal" != 0 &&
2334 $as_echo "$as_me: caught signal $ac_signal"
2335 $as_echo "$as_me: exit $exit_status"
2337 rm -f core *.core core.conftest.* &&
2338 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2341 for ac_signal in 1 2 13 15; do
2342 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2346 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2347 rm -f -r conftest* confdefs.h
2349 $as_echo "/* confdefs.h */" > confdefs.h
2351 # Predefined preprocessor variables.
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_NAME "$PACKAGE_NAME"
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2361 cat >>confdefs.h <<_ACEOF
2362 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2365 cat >>confdefs.h <<_ACEOF
2366 #define PACKAGE_STRING "$PACKAGE_STRING"
2369 cat >>confdefs.h <<_ACEOF
2370 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2373 cat >>confdefs.h <<_ACEOF
2374 #define PACKAGE_URL "$PACKAGE_URL"
2378 # Let the site file select an alternate cache file if it wants to.
2379 # Prefer an explicitly selected file to automatically selected ones.
2382 if test -n "$CONFIG_SITE"; then
2383 ac_site_file1=$CONFIG_SITE
2384 elif test "x$prefix" != xNONE; then
2385 ac_site_file1=$prefix/share/config.site
2386 ac_site_file2=$prefix/etc/config.site
2388 ac_site_file1=$ac_default_prefix/share/config.site
2389 ac_site_file2=$ac_default_prefix/etc/config.site
2391 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2393 test "x$ac_site_file" = xNONE && continue
2394 if test -r "$ac_site_file"; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2396 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2397 sed 's/^/| /' "$ac_site_file" >&5
2402 if test -r "$cache_file"; then
2403 # Some versions of bash will fail to source /dev/null (special
2404 # files actually), so we avoid doing that.
2405 if test -f "$cache_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2409 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410 *) . "./$cache_file";;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2419 # Check that the precious variables saved in the cache have kept the same
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424 eval ac_new_set=\$ac_env_${ac_var}_set
2425 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426 eval ac_new_val=\$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2430 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2434 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w=`echo x
$ac_old_val`
2441 ac_new_val_w=`echo x
$ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2445 ac_cache_corrupted=:
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2460 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2461 *) ac_arg=$ac_var=$ac_new_val ;;
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2491 ac_config_headers="$ac_config_headers config.h"
2494 libtool_VERSION=1:0:0
2497 # Default to --enable-multilib
2498 # Check whether --enable-multilib was given.
2499 if test "${enable_multilib+set}" = set; then :
2500 enableval=$enable_multilib; case "$enableval" in
2501 yes) multilib=yes ;;
2503 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2510 # We may get other options which we leave undocumented:
2511 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2512 # See config-ml.in if you want the gory details.
2514 if test "$srcdir" = "."; then
2515 if test "$with_target_subdir" != "."; then
2516 multi_basedir="$srcdir/$with_multisrctop../.."
2518 multi_basedir="$srcdir/$with_multisrctop.."
2521 multi_basedir="$srcdir/.."
2525 # Even if the default multilib is not a cross compilation,
2526 # it may be that some of the other multilibs are.
2527 if test $cross_compiling = no && test $multilib = yes \
2528 && test "x${with_multisubdir}" != x ; then
2529 cross_compiling=maybe
2532 ac_config_commands="$ac_config_commands default-1"
2536 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2537 for ac_t in install-sh install.sh shtool; do
2538 if test -f "$ac_dir/$ac_t"; then
2540 ac_install_sh="$ac_aux_dir/$ac_t -c"
2545 if test -z "$ac_aux_dir"; then
2546 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2549 # These three variables are undocumented and unsupported,
2550 # and are intended to be withdrawn in a future Autoconf release.
2551 # They can cause serious problems if a builder's source tree is in a directory
2552 # whose full name contains unusual characters.
2553 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2554 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2555 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 # Make sure we can run config.sub.
2559 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2560 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2563 $as_echo_n "checking build system type... " >&6; }
2564 if test "${ac_cv_build+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 ac_build_alias=$build_alias
2568 test "x$ac_build_alias" = x &&
2569 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2570 test "x$ac_build_alias" = x &&
2571 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2572 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2573 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2577 $as_echo "$ac_cv_build" >&6; }
2578 case $ac_cv_build in
2580 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2583 ac_save_IFS=$IFS; IFS='-'
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2593 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2597 $as_echo_n "checking host system type... " >&6; }
2598 if test "${ac_cv_host+set}" = set; then :
2599 $as_echo_n "(cached) " >&6
2601 if test "x$host_alias" = x; then
2602 ac_cv_host=$ac_cv_build
2604 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2610 $as_echo "$ac_cv_host" >&6; }
2613 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2616 ac_save_IFS=$IFS; IFS='-'
2622 # Remember, the first character of IFS is used to create $*,
2623 # except with old shells:
2626 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2630 $as_echo_n "checking target system type... " >&6; }
2631 if test "${ac_cv_target+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 if test "x$target_alias" = x; then
2635 ac_cv_target=$ac_cv_host
2637 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2638 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2643 $as_echo "$ac_cv_target" >&6; }
2644 case $ac_cv_target in
2646 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2648 target=$ac_cv_target
2649 ac_save_IFS=$IFS; IFS='-'
2655 # Remember, the first character of IFS is used to create $*,
2656 # except with old shells:
2659 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2662 # The aliases save the names the user supplied, while $host etc.
2663 # will get canonicalized.
2664 test -n "$target_alias" &&
2665 test "$program_prefix$program_suffix$program_transform_name" = \
2667 program_prefix=${target_alias}-
2669 target_alias=${target_alias-$host_alias}
2671 am__api_version='1.11'
2673 # Find a good install program. We prefer a C program (faster),
2674 # so one script is as good as another. But avoid the broken or
2675 # incompatible versions:
2676 # SysV /etc/install, /usr/sbin/install
2677 # SunOS /usr/etc/install
2678 # IRIX /sbin/install
2680 # AmigaOS /C/install, which installs bootblocks on floppy discs
2681 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2682 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2683 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2684 # OS/2's system install, which has a completely different semantic
2685 # ./install, which can be erroneously created by make from ./install.sh.
2686 # Reject install programs that cannot install multiple files.
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2688 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2689 if test -z "$INSTALL"; then
2690 if test "${ac_cv_path_install+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir=.
2698 # Account for people who put trailing slashes in PATH elements.
2699 case $as_dir/ in #((
2700 ./ | .// | /[cC]/* | \
2701 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2702 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2705 # OSF1 and SCO ODT 3.0 have their own names for install.
2706 # Don't use installbsd from OSF since it installs stuff as root
2708 for ac_prog in ginstall scoinst install; do
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2711 if test $ac_prog = install &&
2712 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2713 # AIX install. It has an incompatible calling convention.
2715 elif test $ac_prog = install &&
2716 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2717 # program-specific install script used by HP pwplus--don't use.
2720 rm -rf conftest.one conftest.two conftest.dir
2721 echo one > conftest.one
2722 echo two > conftest.two
2724 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2725 test -s conftest.one && test -s conftest.two &&
2726 test -s conftest.dir/conftest.one &&
2727 test -s conftest.dir/conftest.two
2729 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2742 rm -rf conftest.one conftest.two conftest.dir
2745 if test "${ac_cv_path_install+set}" = set; then
2746 INSTALL=$ac_cv_path_install
2748 # As a last resort, use the slow shell script. Don't cache a
2749 # value for INSTALL within a source directory, because that will
2750 # break other packages using the cache if that directory is
2751 # removed, or if the value is a relative name.
2752 INSTALL=$ac_install_sh
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2756 $as_echo "$INSTALL" >&6; }
2758 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2759 # It thinks the first close brace ends the variable substitution.
2760 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2762 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2764 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2767 $as_echo_n "checking whether build environment is sane... " >&6; }
2770 echo timestamp > conftest.file
2771 # Reject unsafe characters in $srcdir or the absolute working directory
2772 # name. Accept space and tab only in the latter.
2776 *[\\\"\#\$\&\'\`$am_lf]*)
2777 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2780 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2781 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2784 # Do `set' in a subshell so we don't clobber the current shell's
2785 # arguments. Must try -L first in case configure is actually a
2786 # symlink; some systems play weird games with the mod time of symlinks
2787 # (eg FreeBSD returns the mod time of the symlink's containing
2790 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2791 if test "$*" = "X"; then
2793 set X
`ls -t "$srcdir/configure" conftest.file`
2796 if test "$*" != "X $srcdir/configure conftest.file" \
2797 && test "$*" != "X conftest.file $srcdir/configure"; then
2799 # If neither matched, then we have a broken ls. This can happen
2800 # if, for instance, CONFIG_SHELL is bash and it inherits a
2801 # broken ls alias from the environment. This has actually
2802 # happened. Such a system could not be considered "sane".
2803 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2804 alias in your environment" "$LINENO" 5
2807 test "$2" = conftest.
file
2813 as_fn_error
"newly created file is older than distributed files!
2814 Check your system clock" "$LINENO" 5
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2817 $as_echo "yes" >&6; }
2818 test "$program_prefix" != NONE
&&
2819 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2820 # Use a double $ so make ignores it.
2821 test "$program_suffix" != NONE
&&
2822 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2823 # Double any \ or $.
2824 # By default was `s,x,x', remove it if useless.
2825 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2826 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2828 # expand $ac_aux_dir to an absolute path
2829 am_aux_dir
=`cd $ac_aux_dir && pwd`
2831 if test x
"${MISSING+set}" != xset
; then
2834 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2836 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2839 # Use eval to expand $SHELL
2840 if eval "$MISSING --run true"; then
2841 am_missing_run
="$MISSING --run "
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2845 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2848 if test x
"${install_sh}" != xset
; then
2851 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2853 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2857 # Installed binaries are usually stripped using `strip' when the user
2858 # run `make install-strip'. However `strip' might not be the right
2859 # tool to use in cross-compilation environments, therefore Automake
2860 # will honor the `STRIP' environment variable to overrule this program.
2861 if test "$cross_compiling" != no
; then
2862 if test -n "$ac_tool_prefix"; then
2863 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2864 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if test "${ac_cv_prog_STRIP+set}" = set; then :
2868 $as_echo_n "(cached) " >&6
2870 if test -n "$STRIP"; then
2871 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 STRIP
=$ac_cv_prog_STRIP
2891 if test -n "$STRIP"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2893 $as_echo "$STRIP" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2901 if test -z "$ac_cv_prog_STRIP"; then
2903 # Extract the first word of "strip", so it can be a program name with args.
2904 set dummy strip
; ac_word
=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$ac_ct_STRIP"; then
2911 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir
=.
2918 for ac_exec_ext
in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_ac_ct_STRIP
="strip"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2931 if test -n "$ac_ct_STRIP"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2933 $as_echo "$ac_ct_STRIP" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2939 if test "x$ac_ct_STRIP" = x
; then
2942 case $cross_compiling:$ac_tool_warned in
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2946 ac_tool_warned
=yes ;;
2951 STRIP
="$ac_cv_prog_STRIP"
2955 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2958 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2959 if test -z "$MKDIR_P"; then
2960 if test "${ac_cv_path_mkdir+set}" = set; then :
2961 $as_echo_n "(cached) " >&6
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2964 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_prog
in mkdir gmkdir
; do
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2971 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2972 'mkdir (GNU coreutils) '* | \
2973 'mkdir (coreutils) '* | \
2974 'mkdir (fileutils) '4.1*)
2975 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2985 if test "${ac_cv_path_mkdir+set}" = set; then
2986 MKDIR_P
="$ac_cv_path_mkdir -p"
2988 # As a last resort, use the slow shell script. Don't cache a
2989 # value for MKDIR_P within a source directory, because that will
2990 # break other packages using the cache if that directory is
2991 # removed, or if the value is a relative name.
2992 test -d .
/--version && rmdir .
/--version
2993 MKDIR_P
="$ac_install_sh -d"
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2997 $as_echo "$MKDIR_P" >&6; }
3001 [\\/$
]* | ?
:[\\/]*) ;;
3002 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3005 for ac_prog
in gawk mawk nawk
awk
3007 # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy
$ac_prog; ac_word
=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if test "${ac_cv_prog_AWK+set}" = set; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$AWK"; then
3015 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir
=.
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_AWK
="$ac_prog"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 if test -n "$AWK"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3037 $as_echo "$AWK" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3044 test -n "$AWK" && break
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3048 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3050 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3051 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3052 $as_echo_n "(cached) " >&6
3054 cat >conftest.
make <<\_ACEOF
3057 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3059 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3060 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3062 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3064 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3068 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3070 $as_echo "yes" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3075 SET_MAKE
="MAKE=${MAKE-make}"
3078 rm -rf .tst
2>/dev
/null
3079 mkdir .tst
2>/dev
/null
3080 if test -d .tst
; then
3085 rmdir .tst
2>/dev
/null
3087 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3088 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3089 # is not polluted with repeated "-I."
3090 am__isrc
=' -I$(srcdir)'
3091 # test to see if srcdir already configured
3092 if test -f $srcdir/config.status
; then
3093 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3097 # test whether we have cygpath
3098 if test -z "$CYGPATH_W"; then
3099 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3100 CYGPATH_W
='cygpath -w'
3107 # Define the identity of the package.
3109 VERSION
='version-unused'
3112 # Some tools Automake needs.
3114 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3117 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3120 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3123 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3126 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3128 # We need awk for the "check" target. The system "awk" is bad on
3130 # Always define AMTAR for backward compatibility.
3132 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3134 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3146 ac_cpp
='$CPP $CPPFLAGS'
3147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3150 if test -n "$ac_tool_prefix"; then
3151 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3152 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if test "${ac_cv_prog_CC+set}" = set; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$CC"; then
3159 ac_cv_prog_CC
="$CC" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 if test -n "$CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3181 $as_echo "$CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3189 if test -z "$ac_cv_prog_CC"; then
3191 # Extract the first word of "gcc", so it can be a program name with args.
3192 set dummy gcc
; ac_word
=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$ac_ct_CC"; then
3199 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir
=.
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208 ac_cv_prog_ac_ct_CC
="gcc"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3219 if test -n "$ac_ct_CC"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3221 $as_echo "$ac_ct_CC" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3227 if test "x$ac_ct_CC" = x
; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned
=yes ;;
3242 if test -z "$CC"; then
3243 if test -n "$ac_tool_prefix"; then
3244 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3245 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if test "${ac_cv_prog_CC+set}" = set; then :
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$CC"; then
3252 ac_cv_prog_CC
="$CC" # Let the user override the test.
3254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir
=.
3259 for ac_exec_ext
in '' $ac_executable_extensions; do
3260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3261 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 if test -n "$CC"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274 $as_echo "$CC" >&6; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3283 if test -z "$CC"; then
3284 # Extract the first word of "cc", so it can be a program name with args.
3285 set dummy cc
; ac_word
=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_CC+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$CC"; then
3292 ac_cv_prog_CC
="$CC" # Let the user override the test.
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_exec_ext
in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3303 ac_prog_rejected
=yes
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3314 if test $ac_prog_rejected = yes; then
3315 # We found a bogon in the path, so make sure we never use it.
3316 set dummy
$ac_cv_prog_CC
3318 if test $# != 0; then
3319 # We chose a different compiler from the bogus one.
3320 # However, it has the same basename, so the bogon will be chosen
3321 # first if we set CC to just the basename; use the full file name.
3323 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3329 if test -n "$CC"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3331 $as_echo "$CC" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3339 if test -z "$CC"; then
3340 if test -n "$ac_tool_prefix"; then
3341 for ac_prog
in cl.exe
3343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3344 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_CC+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3350 if test -n "$CC"; then
3351 ac_cv_prog_CC
="$CC" # Let the user override the test.
3353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir
=.
3358 for ac_exec_ext
in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 if test -n "$CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3373 $as_echo "$CC" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3380 test -n "$CC" && break
3383 if test -z "$CC"; then
3385 for ac_prog
in cl.exe
3387 # Extract the first word of "$ac_prog", so it can be a program name with args.
3388 set dummy
$ac_prog; ac_word
=$2
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390 $as_echo_n "checking for $ac_word... " >&6; }
3391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3392 $as_echo_n "(cached) " >&6
3394 if test -n "$ac_ct_CC"; then
3395 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3401 test -z "$as_dir" && as_dir
=.
3402 for ac_exec_ext
in '' $ac_executable_extensions; do
3403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3404 ac_cv_prog_ac_ct_CC
="$ac_prog"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3415 if test -n "$ac_ct_CC"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3417 $as_echo "$ac_ct_CC" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3424 test -n "$ac_ct_CC" && break
3427 if test "x$ac_ct_CC" = x
; then
3430 case $cross_compiling:$ac_tool_warned in
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3434 ac_tool_warned
=yes ;;
3443 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error
"no acceptable C compiler found in \$PATH
3446 See \`config.log' for more details." "$LINENO" 5; }
3448 # Provide some information about the compiler.
3449 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3452 for ac_option
in --version -v -V -qversion; do
3453 { { ac_try
="$ac_compiler $ac_option >&5"
3455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3462 if test -s conftest.err; then
3464 ... rest of stderr output deleted ...
3465 10q' conftest.err >conftest.er1
3466 cat conftest.er1 >&5
3467 rm -f conftest.er1 conftest.err
3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470 test $ac_status = 0; }
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 ac_clean_files_save=$ac_clean_files
3485 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3486 # Try to create an executable without -o first, disregard a.out.
3487 # It will help us diagnose broken compilers, and finding out an intuition
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3490 $as_echo_n "checking for C compiler default output file name... " >&6; }
3491 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3493 # The possible output files:
3494 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3497 for ac_file in $ac_files
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3506 if { { ac_try="$ac_link_default"
3508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3509 *) ac_try_echo
=$ac_try;;
3511 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_link_default") 2>&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }; then :
3517 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3518 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3519 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3520 # so that the user can short-circuit this test for compilers unknown to
3522 for ac_file
in $ac_files ''
3524 test -f "$ac_file" ||
continue
3526 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3529 # We found the default executable, but exeext='' is most
3533 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3535 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3537 # We set ac_cv_exeext here because the later test for it is not
3538 # safe: cross compilers may not add the suffix if given an `-o'
3539 # argument, so we may need to know it at that point already.
3540 # Even if this section looks crufty: it has the advantage of
3547 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3553 $as_echo "$ac_file" >&6; }
3554 if test -z "$ac_file"; then :
3555 $as_echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.
$ac_ext >&5
3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 { as_fn_set_status
77
3561 as_fn_error
"C compiler cannot create executables
3562 See \`config.log' for more details." "$LINENO" 5; }; }
3564 ac_exeext
=$ac_cv_exeext
3566 # Check that the compiler produces executables we can run. If not, either
3567 # the compiler is broken, or we cross compile.
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3569 $as_echo_n "checking whether the C compiler works... " >&6; }
3570 # If not cross compiling, check that we can run a simple program.
3571 if test "$cross_compiling" != yes; then
3572 if { ac_try
='./$ac_file'
3573 { { case "(($ac_try" in
3574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_try") 2>&5
3581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }; }; then
3585 if test "$cross_compiling" = maybe; then
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error "cannot run C compiled programs.
3591 If you meant to cross compile
, use \
`--host'.
3592 See \`config.log
' for more details." "$LINENO" 5; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3597 $as_echo "yes" >&6; }
3599 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3600 ac_clean_files=$ac_clean_files_save
3601 # Check that the compiler produces executables we can run. If not, either
3602 # the compiler is broken, or we cross compile.
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3604 $as_echo_n "checking whether we are cross compiling... " >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3606 $as_echo "$cross_compiling" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3609 $as_echo_n "checking for suffix of executables... " >&6; }
3610 if { { ac_try="$ac_link"
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_link") 2>&5
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; }; then :
3621 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3622 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3623 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3625 for ac_file
in conftest.exe conftest conftest.
*; do
3626 test -f "$ac_file" ||
continue
3628 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3629 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3638 See \`config.log' for more details." "$LINENO" 5; }
3640 rm -f conftest
$ac_cv_exeext
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3642 $as_echo "$ac_cv_exeext" >&6; }
3644 rm -f conftest.
$ac_ext
3645 EXEEXT
=$ac_cv_exeext
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3648 $as_echo_n "checking for suffix of object files... " >&6; }
3649 if test "${ac_cv_objext+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3663 rm -f conftest.o conftest.obj
3664 if { { ac_try
="$ac_compile"
3666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670 $as_echo "$ac_try_echo"; } >&5
3671 (eval "$ac_compile") 2>&5
3673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674 test $ac_status = 0; }; then :
3675 for ac_file in conftest.o conftest.obj conftest.*; do
3676 test -f "$ac_file" || continue;
3678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3679 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3684 $as_echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.$ac_ext >&5
3687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3689 as_fn_error "cannot compute suffix of object files
: cannot compile
3690 See \
`config.log' for more details." "$LINENO" 5; }
3692 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3695 $as_echo "$ac_cv_objext" >&6; }
3696 OBJEXT=$ac_cv_objext
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3699 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3700 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3701 $as_echo_n "(cached) " >&6
3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3717 if ac_fn_c_try_compile "$LINENO"; then :
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3727 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3728 if test $ac_compiler_gnu = yes; then
3733 ac_test_CFLAGS=${CFLAGS+set}
3734 ac_save_CFLAGS=$CFLAGS
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3736 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3737 if test "${ac_cv_prog_cc_g+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3740 ac_save_c_werror_flag=$ac_c_werror_flag
3741 ac_c_werror_flag=yes
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3755 if ac_fn_c_try_compile "$LINENO"; then :
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3770 if ac_fn_c_try_compile "$LINENO"; then :
3773 ac_c_werror_flag=$ac_save_c_werror_flag
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3786 if ac_fn_c_try_compile "$LINENO"; then :
3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3794 ac_c_werror_flag=$ac_save_c_werror_flag
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3797 $as_echo "$ac_cv_prog_cc_g" >&6; }
3798 if test "$ac_test_CFLAGS" = set; then
3799 CFLAGS=$ac_save_CFLAGS
3800 elif test $ac_cv_prog_cc_g = yes; then
3801 if test "$GCC" = yes; then
3807 if test "$GCC" = yes; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3814 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3815 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3818 ac_cv_prog_cc_c89=no
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3824 #include <sys/types.h>
3825 #include <sys/stat.h>
3826 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3827 struct buf { int x; };
3828 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3829 static char *e (p, i)
3835 static char *f (char * (*g) (char **, int), char **p, ...)
3840 s = g (p, va_arg (v,int));
3845 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3846 function prototypes and stuff, but not '\xHH' hex character constants.
3847 These don't provoke an error unfortunately, instead are silently treated
3848 as 'x'. The following induces an error, until -std is added to get
3849 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3850 array size at least. It's necessary to write '\x00'==0 to get something
3851 that's true only with -std. */
3852 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3854 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3855 inside strings and character constants. */
3857 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3859 int test (int i, double x);
3860 struct s1 {int (*f) (int a);};
3861 struct s2 {int (*f) (double a);};
3862 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3874 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3876 CC="$ac_save_CC $ac_arg"
3877 if ac_fn_c_try_compile "$LINENO"; then :
3878 ac_cv_prog_cc_c89=$ac_arg
3880 rm -f core conftest.err conftest.$ac_objext
3881 test "x$ac_cv_prog_cc_c89" != "xno" && break
3883 rm -f conftest.$ac_ext
3888 case "x$ac_cv_prog_cc_c89" in
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3891 $as_echo "none needed" >&6; } ;;
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3894 $as_echo "unsupported" >&6; } ;;
3896 CC="$CC $ac_cv_prog_cc_c89"
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3898 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3900 if test "x$ac_cv_prog_cc_c89" != xno; then :
3905 ac_cpp='$CPP $CPPFLAGS'
3906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3909 DEPDIR="${am__leading_dot}deps"
3911 ac_config_commands="$ac_config_commands depfiles"
3914 am_make=${MAKE-make}
3915 cat > confinc << 'END'
3917 @echo this is the am__doit target
3920 # If we don't find an include directive, just comment out the code.
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3922 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3926 # First try GNU make style include.
3927 echo "include confinc" > confmf
3928 # Ignore all kinds of additional output from `make'.
3929 case `$am_make -s -f confmf 2> /dev/null` in #(
3930 *the\ am__doit\ target*)
3936 # Now try BSD make style include.
3937 if test "$am__include" = "#"; then
3938 echo '.include
"confinc"' > confmf
3939 case `$am_make -s -f confmf 2> /dev/null` in #(
3940 *the\ am__doit\ target*)
3941 am__include=.include
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3950 $as_echo "$_am_result" >&6; }
3951 rm -f confinc confmf
3953 # Check whether --enable-dependency-tracking was given.
3954 if test "${enable_dependency_tracking+set}" = set; then :
3955 enableval=$enable_dependency_tracking;
3958 if test "x$enable_dependency_tracking" != xno; then
3959 am_depcomp="$ac_aux_dir/depcomp"
3962 if test "x$enable_dependency_tracking" != xno
; then
3972 depcc
="$CC" am_compiler_list
=
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3975 $as_echo_n "checking dependency style of $depcc... " >&6; }
3976 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3980 # We make a subdir and do the tests there. Otherwise we can end up
3981 # making bogus files that we don't know about and never remove. For
3982 # instance it was reported that on HP-UX the gcc test will end up
3983 # making a dummy file named `D' -- because `-MD' means `put the output
3986 # Copy depcomp to subdir because otherwise we won't find it if we're
3987 # using a relative directory.
3988 cp "$am_depcomp" conftest.dir
3990 # We will build objects and dependencies in a subdirectory because
3991 # it helps to detect inapplicable dependency modes. For instance
3992 # both Tru64's cc and ICC support -MD to output dependencies as a
3993 # side effect of compilation, but ICC will put the dependencies in
3994 # the current directory while Tru64 will put them in the object
3998 am_cv_CC_dependencies_compiler_type
=none
3999 if test "$am_compiler_list" = ""; then
4000 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4003 case " $depcc " in #(
4004 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4007 for depmode
in $am_compiler_list; do
4008 # Setup a source with many dependencies, because some compilers
4009 # like to wrap large dependency lists on column 80 (with \), and
4010 # we should not choose a depcomp mode which is confused by this.
4012 # We need to recreate these files for each test, as the compiler may
4013 # overwrite some of them when testing with obscure command lines.
4014 # This happens at least with the AIX C compiler.
4016 for i
in 1 2 3 4 5 6; do
4017 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4018 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4019 # Solaris 8's {/usr,}/bin/sh.
4020 touch sub
/conftst
$i.h
4022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4024 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4025 # mode. It turns out that the SunPro C++ compiler does not properly
4026 # handle `-M -o', and we need to detect this. Also, some Intel
4027 # versions had trouble with output in subdirs
4028 am__obj
=sub
/conftest.
${OBJEXT-o}
4029 am__minus_obj
="-o $am__obj"
4032 # This depmode causes a compiler race in universal mode.
4033 test "$am__universal" = false ||
continue
4036 # after this tag, mechanisms are not by side-effect, so they'll
4037 # only be used when explicitly requested
4038 if test "x$enable_dependency_tracking" = xyes
; then
4044 msvisualcpp | msvcmsys
)
4045 # This compiler won't grok `-c -o', but also, the minuso test has
4046 # not run yet. These depmodes are late enough in the game, and
4047 # so weak that their functioning should not be impacted.
4048 am__obj
=conftest.
${OBJEXT-o}
4053 if depmode
=$depmode \
4054 source=sub
/conftest.c object
=$am__obj \
4055 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4056 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4057 >/dev
/null
2>conftest.err
&&
4058 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4059 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4060 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4061 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4062 # icc doesn't choke on unknown options, it will just issue warnings
4063 # or remarks (even with -Werror). So we grep stderr for any message
4064 # that says an option was ignored or not supported.
4065 # When given -MP, icc 7.0 and 7.1 complain thusly:
4066 # icc: Command line warning: ignoring option '-M'; no argument required
4067 # The diagnosis changed in icc 8.0:
4068 # icc: Command line remark: option '-MP' not supported
4069 if (grep 'ignoring option' conftest.err ||
4070 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4071 am_cv_CC_dependencies_compiler_type
=$depmode
4080 am_cv_CC_dependencies_compiler_type
=none
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4085 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4086 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4089 test "x$enable_dependency_tracking" != xno \
4090 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4092 am__fastdepCC_FALSE
='#'
4094 am__fastdepCC_TRUE
='#'
4095 am__fastdepCC_FALSE
=
4100 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4101 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103 if test -n "$ac_tool_prefix"; then
4104 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4105 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4107 $as_echo_n "checking for $ac_word... " >&6; }
4108 if test "${ac_cv_prog_GOC+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -n "$GOC"; then
4112 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4118 test -z "$as_dir" && as_dir
=.
4119 for ac_exec_ext
in '' $ac_executable_extensions; do
4120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4121 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 if test -n "$GOC"; then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4134 $as_echo "$GOC" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4142 if test -z "$ac_cv_prog_GOC"; then
4144 # Extract the first word of "gccgo", so it can be a program name with args.
4145 set dummy gccgo
; ac_word
=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 if test -n "$ac_ct_GOC"; then
4152 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_ac_ct_GOC
="gccgo"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4172 if test -n "$ac_ct_GOC"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4174 $as_echo "$ac_ct_GOC" >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4180 if test "x$ac_ct_GOC" = x
; then
4183 case $cross_compiling:$ac_tool_warned in
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4187 ac_tool_warned
=yes ;;
4192 GOC
="$ac_cv_prog_GOC"
4195 if test -z "$GOC"; then
4196 if test -n "$ac_tool_prefix"; then
4197 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4198 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if test "${ac_cv_prog_GOC+set}" = set; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -n "$GOC"; then
4205 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir
=.
4212 for ac_exec_ext
in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 if test -n "$GOC"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4227 $as_echo "$GOC" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4236 if test -z "$GOC"; then
4237 # Extract the first word of "gccgo", so it can be a program name with args.
4238 set dummy gccgo
; ac_word
=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if test "${ac_cv_prog_GOC+set}" = set; then :
4242 $as_echo_n "(cached) " >&6
4244 if test -n "$GOC"; then
4245 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir
=.
4253 for ac_exec_ext
in '' $ac_executable_extensions; do
4254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4255 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4256 ac_prog_rejected
=yes
4259 ac_cv_prog_GOC
="gccgo"
4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 if test $ac_prog_rejected = yes; then
4268 # We found a bogon in the path, so make sure we never use it.
4269 set dummy
$ac_cv_prog_GOC
4271 if test $# != 0; then
4272 # We chose a different compiler from the bogus one.
4273 # However, it has the same basename, so the bogon will be chosen
4274 # first if we set GOC to just the basename; use the full file name.
4276 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4282 if test -n "$GOC"; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4284 $as_echo "$GOC" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4294 # Provide some information about the compiler.
4295 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4298 { { ac_try
="$ac_compiler --version >&5"
4300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4301 *) ac_try_echo=$ac_try;;
4303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4304 $as_echo "$ac_try_echo"; } >&5
4305 (eval "$ac_compiler --version >&5") 2>conftest.err
4307 if test -s conftest.err; then
4309 ... rest of stderr output deleted ...
4310 10q' conftest.err >conftest.er1
4311 cat conftest.er1 >&5
4312 rm -f conftest.er1 conftest.err
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4318 ac_cpp='$CPP $CPPFLAGS'
4319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4329 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4330 # Check whether --enable-maintainer-mode was given.
4331 if test "${enable_maintainer_mode+set}" = set; then :
4332 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4334 USE_MAINTAINER_MODE=no
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4338 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4339 if test $USE_MAINTAINER_MODE = yes; then
4340 MAINTAINER_MODE_TRUE=
4341 MAINTAINER_MODE_FALSE='#'
4343 MAINTAINER_MODE_TRUE='#'
4344 MAINTAINER_MODE_FALSE=
4347 MAINT=$MAINTAINER_MODE_TRUE
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4352 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4353 if test "${ac_cv_path_SED+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4357 for ac_i in 1 2 3 4 5 6 7; do
4358 ac_script="$ac_script$as_nl$ac_script"
4360 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4361 { ac_script=; unset ac_script;}
4362 if test -z "$SED"; then
4363 ac_path_SED_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in sed gsed; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4373 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4374 # Check for GNU ac_path_SED and select it if it is found.
4375 # Check for GNU $ac_path_SED
4376 case `"$ac_path_SED" --version 2>&1` in
4378 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4381 $as_echo_n 0123456789 >"conftest.in"
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 $as_echo '' >> "conftest.nl"
4388 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390 as_fn_arith $ac_count + 1 && ac_count=$as_val
4391 if test $ac_count -gt ${ac_path_SED_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_SED="$ac_path_SED"
4394 ac_path_SED_max=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4402 $ac_path_SED_found && break 3
4407 if test -z "$ac_cv_path_SED"; then
4408 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4416 $as_echo "$ac_cv_path_SED" >&6; }
4417 SED="$ac_cv_path_SED"
4420 test -z "$SED" && SED=sed
4421 Xsed="$SED -e 1s/^X//"
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4434 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4435 if test "${ac_cv_path_GREP+set}" = set; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -z "$GREP"; then
4439 ac_path_GREP_found=false
4440 # Loop through the user's path and test for each of PROGNAME-LIST
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4445 test -z "$as_dir" && as_dir=.
4446 for ac_prog in grep ggrep; do
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4449 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4450 # Check for GNU ac_path_GREP and select it if it is found.
4451 # Check for GNU $ac_path_GREP
4452 case `"$ac_path_GREP" --version 2>&1` in
4454 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4457 $as_echo_n 0123456789 >"conftest.in"
4460 cat "conftest.in" "conftest.in" >"conftest.tmp"
4461 mv "conftest.tmp" "conftest.in"
4462 cp "conftest.in" "conftest.nl"
4463 $as_echo 'GREP' >> "conftest.nl"
4464 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4466 as_fn_arith $ac_count + 1 && ac_count=$as_val
4467 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4468 # Best one so far, save it but keep looking for a better one
4469 ac_cv_path_GREP="$ac_path_GREP"
4470 ac_path_GREP_max=$ac_count
4472 # 10*(2^10) chars as input seems more than enough
4473 test $ac_count -gt 10 && break
4475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 $ac_path_GREP_found && break 3
4483 if test -z "$ac_cv_path_GREP"; then
4484 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4487 ac_cv_path_GREP=$GREP
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4492 $as_echo "$ac_cv_path_GREP" >&6; }
4493 GREP="$ac_cv_path_GREP"
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4497 $as_echo_n "checking for egrep... " >&6; }
4498 if test "${ac_cv_path_EGREP+set}" = set; then :
4499 $as_echo_n "(cached) " >&6
4501 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4502 then ac_cv_path_EGREP="$GREP -E"
4504 if test -z "$EGREP"; then
4505 ac_path_EGREP_found=false
4506 # Loop through the user's path and test for each of PROGNAME-LIST
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4511 test -z "$as_dir" && as_dir=.
4512 for ac_prog in egrep; do
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4515 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4516 # Check for GNU ac_path_EGREP and select it if it is found.
4517 # Check for GNU $ac_path_EGREP
4518 case `"$ac_path_EGREP" --version 2>&1` in
4520 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4523 $as_echo_n 0123456789 >"conftest.in"
4526 cat "conftest.in" "conftest.in" >"conftest.tmp"
4527 mv "conftest.tmp" "conftest.in"
4528 cp "conftest.in" "conftest.nl"
4529 $as_echo 'EGREP' >> "conftest.nl"
4530 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4532 as_fn_arith $ac_count + 1 && ac_count=$as_val
4533 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4534 # Best one so far, save it but keep looking for a better one
4535 ac_cv_path_EGREP="$ac_path_EGREP"
4536 ac_path_EGREP_max=$ac_count
4538 # 10*(2^10) chars as input seems more than enough
4539 test $ac_count -gt 10 && break
4541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4544 $ac_path_EGREP_found && break 3
4549 if test -z "$ac_cv_path_EGREP"; then
4550 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4553 ac_cv_path_EGREP=$EGREP
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4559 $as_echo "$ac_cv_path_EGREP" >&6; }
4560 EGREP="$ac_cv_path_EGREP"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4564 $as_echo_n "checking for fgrep... " >&6; }
4565 if test "${ac_cv_path_FGREP+set}" = set; then :
4566 $as_echo_n "(cached) " >&6
4568 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4569 then ac_cv_path_FGREP="$GREP -F"
4571 if test -z "$FGREP"; then
4572 ac_path_FGREP_found=false
4573 # Loop through the user's path and test for each of PROGNAME-LIST
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4578 test -z "$as_dir" && as_dir=.
4579 for ac_prog in fgrep; do
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4582 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4583 # Check for GNU ac_path_FGREP and select it if it is found.
4584 # Check for GNU $ac_path_FGREP
4585 case `"$ac_path_FGREP" --version 2>&1` in
4587 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4590 $as_echo_n 0123456789 >"conftest.in"
4593 cat "conftest.in" "conftest.in" >"conftest.tmp"
4594 mv "conftest.tmp" "conftest.in"
4595 cp "conftest.in" "conftest.nl"
4596 $as_echo 'FGREP' >> "conftest.nl"
4597 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4598 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4599 as_fn_arith $ac_count + 1 && ac_count=$as_val
4600 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4601 # Best one so far, save it but keep looking for a better one
4602 ac_cv_path_FGREP="$ac_path_FGREP"
4603 ac_path_FGREP_max=$ac_count
4605 # 10*(2^10) chars as input seems more than enough
4606 test $ac_count -gt 10 && break
4608 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4611 $ac_path_FGREP_found && break 3
4616 if test -z "$ac_cv_path_FGREP"; then
4617 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4620 ac_cv_path_FGREP=$FGREP
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4626 $as_echo "$ac_cv_path_FGREP" >&6; }
4627 FGREP="$ac_cv_path_FGREP"
4630 test -z "$GREP" && GREP=grep
4648 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4649 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4650 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4653 $as_echo_n "checking how to print strings... " >&6; }
4654 # Test print first, because it will be a builtin if present.
4655 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4656 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4658 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4661 # Use this function as a fallback that always works.
4662 func_fallback_echo ()
4664 eval 'cat <<_LTECHO_EOF
4668 ECHO='func_fallback_echo'
4671 # func_echo_all arg...
4672 # Invoke $ECHO with all args, space-separated.
4679 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4680 $as_echo "printf" >&6; } ;;
4681 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4682 $as_echo "print -r" >&6; } ;;
4683 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4684 $as_echo "cat" >&6; } ;;
4702 # Check whether --with-gnu-ld was given.
4703 if test "${with_gnu_ld+set}" = set; then :
4704 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4710 if test "$GCC" = yes; then
4711 # Check if gcc -print-prog-name=ld gives a path.
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4713 $as_echo_n "checking for ld used by $CC... " >&6; }
4716 # gcc leaves a trailing carriage return which upsets mingw
4717 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4719 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4722 # Accept absolute paths.
4724 re_direlt='/[^/][^/]*/\.\./'
4725 # Canonicalize the pathname of ld
4726 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4727 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4728 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4730 test -z "$LD" && LD="$ac_prog"
4733 # If it fails, then pretend we aren't using GCC.
4737 # If it is relative, then search for the first ld in PATH.
4741 elif test "$with_gnu_ld" = yes; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4743 $as_echo_n "checking for GNU ld... " >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4746 $as_echo_n "checking for non-GNU ld... " >&6; }
4748 if test "${lt_cv_path_LD+set}" = set; then :
4749 $as_echo_n "(cached) " >&6
4751 if test -z "$LD"; then
4752 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4753 for ac_dir in $PATH; do
4755 test -z "$ac_dir" && ac_dir=.
4756 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4757 lt_cv_path_LD="$ac_dir/$ac_prog"
4758 # Check to see if the program is GNU ld. I'd rather use --version,
4759 # but apparently some variants of GNU ld only accept -v.
4760 # Break only if it was the GNU/non-GNU ld that we prefer.
4761 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4762 *GNU* | *'with BFD'*)
4763 test "$with_gnu_ld" != no && break
4766 test "$with_gnu_ld" != yes && break
4773 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4778 if test -n "$LD"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4780 $as_echo "$LD" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4785 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4787 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4788 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4789 $as_echo_n "(cached) " >&6
4791 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4792 case `$LD -v 2>&1 </dev
/null
` in
4793 *GNU* | *'with BFD'*)
4794 lt_cv_prog_gnu_ld=yes
4797 lt_cv_prog_gnu_ld=no
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4802 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4803 with_gnu_ld=$lt_cv_prog_gnu_ld
4813 if test -n "$ac_tool_prefix"; then
4814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 $as_echo_n "checking for $ac_word... " >&6; }
4818 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4819 $as_echo_n "(cached) " >&6
4821 if test -n "$RANLIB"; then
4822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 RANLIB=$ac_cv_prog_RANLIB
4842 if test -n "$RANLIB"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4844 $as_echo "$RANLIB" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4852 if test -z "$ac_cv_prog_RANLIB"; then
4853 ac_ct_RANLIB=$RANLIB
4854 # Extract the first word of "ranlib", so it can be a program name with args.
4855 set dummy ranlib; ac_word=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 $as_echo_n "checking for $ac_word... " >&6; }
4858 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4861 if test -n "$ac_ct_RANLIB"; then
4862 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871 ac_cv_prog_ac_ct_RANLIB="ranlib"
4872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4882 if test -n "$ac_ct_RANLIB"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4884 $as_echo "$ac_ct_RANLIB" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4890 if test "x$ac_ct_RANLIB" = x; then
4893 case $cross_compiling:$ac_tool_warned in
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4897 ac_tool_warned=yes ;;
4899 RANLIB=$ac_ct_RANLIB
4902 RANLIB="$ac_cv_prog_RANLIB"
4905 if test -n "$ac_tool_prefix"; then
4906 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4907 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4911 $as_echo_n "(cached) " >&6
4913 if test -n "$OBJCOPY"; then
4914 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir=.
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4923 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 OBJCOPY=$ac_cv_prog_OBJCOPY
4934 if test -n "$OBJCOPY"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4936 $as_echo "$OBJCOPY" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4944 if test -z "$ac_cv_prog_OBJCOPY"; then
4945 ac_ct_OBJCOPY=$OBJCOPY
4946 # Extract the first word of "objcopy", so it can be a program name with args.
4947 set dummy objcopy; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$ac_ct_OBJCOPY"; then
4954 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4974 if test -n "$ac_ct_OBJCOPY"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4976 $as_echo "$ac_ct_OBJCOPY" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4982 if test "x$ac_ct_OBJCOPY" = x; then
4983 OBJCOPY="missing-objcopy"
4985 case $cross_compiling:$ac_tool_warned in
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4989 ac_tool_warned=yes ;;
4991 OBJCOPY=$ac_ct_OBJCOPY
4994 OBJCOPY="$ac_cv_prog_OBJCOPY"
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5005 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5010 macro_version='2.2.7a'
5011 macro_revision='1.3134'
5025 ltmain="$ac_aux_dir/ltmain.sh"
5027 # Backslashify metacharacters that are still active within
5028 # double-quoted strings.
5029 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5031 # Same as above, but do not quote variable references.
5032 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5034 # Sed substitution to delay expansion of an escaped shell variable in a
5035 # double_quote_subst'ed string.
5036 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5038 # Sed substitution to delay expansion of an escaped single quote.
5039 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5041 # Sed substitution to avoid accidental globbing in evaled expressions
5042 no_glob_subst='s/\*/\\\*/g'
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5045 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5046 if test "${lt_cv_path_NM+set}" = set; then :
5047 $as_echo_n "(cached
) " >&6
5049 if test -n "$NM"; then
5050 # Let the user override the test.
5053 lt_nm_to_check="${ac_tool_prefix}nm
"
5054 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5055 lt_nm_to_check="$lt_nm_to_check nm
"
5057 for lt_tmp_nm in $lt_nm_to_check; do
5058 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5059 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5061 test -z "$ac_dir" && ac_dir=.
5062 tmp_nm="$ac_dir/$lt_tmp_nm"
5063 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5064 # Check to see if the nm accepts a BSD-compat flag.
5065 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5066 # nm: unknown option "B
" ignored
5067 # Tru64's nm complains that /dev/null is an invalid object file
5068 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5069 */dev/null* | *'Invalid file or object type'*)
5070 lt_cv_path_NM="$tmp_nm -B"
5074 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5076 lt_cv_path_NM="$tmp_nm -p"
5080 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5081 continue # so that we can try to find one that supports BSD flags
5090 : ${lt_cv_path_NM=no}
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5094 $as_echo "$lt_cv_path_NM" >&6; }
5095 if test "$lt_cv_path_NM" != "no
"; then
5098 # Didn't find any BSD compatible name lister, look for dumpbin.
5099 if test -n "$DUMPBIN"; then :
5100 # Let the user override the test.
5102 if test -n "$ac_tool_prefix"; then
5103 for ac_prog in dumpbin "link
-dump"
5105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5106 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5108 $as_echo_n "checking
for $ac_word...
" >&6; }
5109 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5110 $as_echo_n "(cached
) " >&6
5112 if test -n "$DUMPBIN"; then
5113 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5132 DUMPBIN=$ac_cv_prog_DUMPBIN
5133 if test -n "$DUMPBIN"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5135 $as_echo "$DUMPBIN" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5138 $as_echo "no
" >&6; }
5142 test -n "$DUMPBIN" && break
5145 if test -z "$DUMPBIN"; then
5146 ac_ct_DUMPBIN=$DUMPBIN
5147 for ac_prog in dumpbin "link
-dump"
5149 # Extract the first word of "$ac_prog", so it can be a program name with args.
5150 set dummy $ac_prog; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5152 $as_echo_n "checking
for $ac_word...
" >&6; }
5153 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5154 $as_echo_n "(cached
) " >&6
5156 if test -n "$ac_ct_DUMPBIN"; then
5157 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5166 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5176 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5177 if test -n "$ac_ct_DUMPBIN"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5179 $as_echo "$ac_ct_DUMPBIN" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5182 $as_echo "no
" >&6; }
5186 test -n "$ac_ct_DUMPBIN" && break
5189 if test "x
$ac_ct_DUMPBIN" = x; then
5192 case $cross_compiling:$ac_tool_warned in
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5195 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5196 ac_tool_warned=yes ;;
5198 DUMPBIN=$ac_ct_DUMPBIN
5202 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5204 DUMPBIN="$DUMPBIN -symbols"
5212 if test "$DUMPBIN" != ":"; then
5216 test -z "$NM" && NM=nm
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5224 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5225 if test "${lt_cv_nm_interface+set}" = set; then :
5226 $as_echo_n "(cached
) " >&6
5228 lt_cv_nm_interface="BSD nm
"
5229 echo "int some_variable
= 0;" > conftest.$ac_ext
5230 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5231 (eval "$ac_compile" 2>conftest.err)
5232 cat conftest.err >&5
5233 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5234 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5235 cat conftest.err >&5
5236 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5237 cat conftest.out >&5
5238 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5239 lt_cv_nm_interface="MS dumpbin
"
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5244 $as_echo "$lt_cv_nm_interface" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5247 $as_echo_n "checking whether
ln -s works...
" >&6; }
5249 if test "$LN_S" = "ln -s"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5251 $as_echo "yes" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5254 $as_echo "no
, using
$LN_S" >&6; }
5257 # find the maximum length of command line arguments
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5259 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5260 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5261 $as_echo_n "(cached
) " >&6
5268 # On DJGPP, this test can blow up pretty badly due to problems in libc
5269 # (any single argument exceeding 2000 bytes causes a buffer overrun
5270 # during glob expansion). Even if it were fixed, the result of this
5271 # check would be larger than it should be.
5272 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5276 # Under GNU Hurd, this test is not required because there is
5277 # no limit to the length of command line arguments.
5278 # Libtool will interpret -1 as no limit whatsoever
5279 lt_cv_sys_max_cmd_len=-1;
5282 cygwin* | mingw* | cegcc*)
5283 # On Win9x/ME, this test blows up -- it succeeds, but takes
5284 # about 5 minutes as the teststring grows exponentially.
5285 # Worse, since 9x/ME are not pre-emptively multitasking,
5286 # you end up with a "frozen
" computer, even though with patience
5287 # the test eventually succeeds (with a max line length of 256k).
5288 # Instead, let's just punt: use the minimum linelength reported by
5289 # all of the supported platforms: 8192 (on NT/2K/XP).
5290 lt_cv_sys_max_cmd_len=8192;
5294 # On MiNT this can take a long time and run out of memory.
5295 lt_cv_sys_max_cmd_len=8192;
5299 # On AmigaOS with pdksh, this test takes hours, literally.
5300 # So we just punt and use a minimum line length of 8192.
5301 lt_cv_sys_max_cmd_len=8192;
5304 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5305 # This has been around since 386BSD, at least. Likely further.
5306 if test -x /sbin/sysctl; then
5307 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5308 elif test -x /usr/sbin/sysctl; then
5309 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5311 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5313 # And add a safety zone
5314 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5315 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5319 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5320 lt_cv_sys_max_cmd_len=196608
5324 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5325 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5326 # nice to cause kernel panics so lets avoid the loop below.
5327 # First set a reasonable default.
5328 lt_cv_sys_max_cmd_len=16384
5330 if test -x /sbin/sysconfig; then
5331 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5332 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5337 lt_cv_sys_max_cmd_len=102400
5339 sysv5* | sco5v6* | sysv4.2uw2*)
5340 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5341 if test -n "$kargmax"; then
5342 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5344 lt_cv_sys_max_cmd_len=32768
5348 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5349 if test -n "$lt_cv_sys_max_cmd_len"; then
5350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5353 # Make teststring a little bigger before we do anything with it.
5354 # a 1K string should be a reasonable start.
5355 for i in 1 2 3 4 5 6 7 8 ; do
5356 teststring=$teststring$teststring
5358 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5359 # If test is not a shell built-in, we'll probably end up computing a
5360 # maximum length that is only half of the actual maximum length, but
5362 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5363 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5364 test $i != 17 # 1/2 MB should be enough
5367 teststring=$teststring$teststring
5369 # Only check the string length outside the loop.
5370 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5372 # Add a significant safety factor because C++ compilers can tack on
5373 # massive amounts of additional arguments before passing them to the
5374 # linker. It appears as though 1/2 is a usable value.
5375 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5382 if test -n $lt_cv_sys_max_cmd_len ; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5384 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5387 $as_echo "none
" >&6; }
5389 max_cmd_len=$lt_cv_sys_max_cmd_len
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5401 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5402 # Try some XSI features
5405 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5407 && eval 'test $(( 1 + 1 )) -eq 2 \
5408 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5411 $as_echo "$xsi_shell" >&6; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5415 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5417 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5419 && lt_shell_append
=yes
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5421 $as_echo "$lt_shell_append" >&6; }
5424 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5434 # test EBCDIC or ASCII
5435 case `echo X|tr X '\101'` in
5436 A
) # ASCII based system
5437 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5438 lt_SP2NL
='tr \040 \012'
5439 lt_NL2SP
='tr \015\012 \040\040'
5441 *) # EBCDIC based system
5442 lt_SP2NL
='tr \100 \n'
5443 lt_NL2SP
='tr \r\n \100\100'
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5456 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5457 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5458 $as_echo_n "(cached) " >&6
5460 lt_cv_ld_reload_flag
='-r'
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5463 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5464 reload_flag
=$lt_cv_ld_reload_flag
5465 case $reload_flag in
5467 *) reload_flag
=" $reload_flag" ;;
5469 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5472 if test "$GCC" = yes; then
5473 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5475 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5490 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -n "$OBJDUMP"; then
5497 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 OBJDUMP
=$ac_cv_prog_OBJDUMP
5517 if test -n "$OBJDUMP"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5519 $as_echo "$OBJDUMP" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5527 if test -z "$ac_cv_prog_OBJDUMP"; then
5528 ac_ct_OBJDUMP
=$OBJDUMP
5529 # Extract the first word of "objdump", so it can be a program name with args.
5530 set dummy objdump
; ac_word
=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5534 $as_echo_n "(cached) " >&6
5536 if test -n "$ac_ct_OBJDUMP"; then
5537 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5557 if test -n "$ac_ct_OBJDUMP"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5559 $as_echo "$ac_ct_OBJDUMP" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5565 if test "x$ac_ct_OBJDUMP" = x
; then
5568 case $cross_compiling:$ac_tool_warned in
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5572 ac_tool_warned
=yes ;;
5574 OBJDUMP
=$ac_ct_OBJDUMP
5577 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5580 test -z "$OBJDUMP" && OBJDUMP
=objdump
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5591 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5592 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5593 $as_echo_n "(cached) " >&6
5595 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5596 lt_cv_file_magic_test_file
=
5597 lt_cv_deplibs_check_method
='unknown'
5598 # Need to set the preceding variable on all platforms that support
5599 # interlibrary dependencies.
5600 # 'none' -- dependencies not supported.
5601 # `unknown' -- same as none, but documents that we really don't know.
5602 # 'pass_all' -- all dependencies passed with no checks.
5603 # 'test_compile' -- check by making test program.
5604 # 'file_magic [[regex]]' -- check by looking for files in library path
5605 # which responds to the $file_magic_cmd with a given extended regex.
5606 # If you have `file' or equivalent on your system and you're not sure
5607 # whether `pass_all' will *always* work, you probably want this one.
5611 lt_cv_deplibs_check_method
=pass_all
5615 lt_cv_deplibs_check_method
=pass_all
5619 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5620 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5621 lt_cv_file_magic_test_file
=/shlib
/libc.so
5625 # func_win32_libid is a shell function defined in ltmain.sh
5626 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5627 lt_cv_file_magic_cmd
='func_win32_libid'
5631 # Base MSYS/MinGW do not provide the 'file' command needed by
5632 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5633 # unless we find 'file', for example because we are cross-compiling.
5634 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5635 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5636 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5637 lt_cv_file_magic_cmd
='func_win32_libid'
5639 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5640 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5645 # use the weaker test based on 'objdump'. See mingw*.
5646 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5647 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5650 darwin
* | rhapsody
*)
5651 lt_cv_deplibs_check_method
=pass_all
5654 freebsd
* | dragonfly
*)
5655 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5658 # Not sure whether the presence of OpenBSD here was a mistake.
5659 # Let's accept both of them until this is cleared up.
5660 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5661 lt_cv_file_magic_cmd
=/usr
/bin
/file
5662 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5666 lt_cv_deplibs_check_method
=pass_all
5671 lt_cv_deplibs_check_method
=pass_all
5675 lt_cv_deplibs_check_method
=pass_all
5678 hpux10.20
* | hpux11
*)
5679 lt_cv_file_magic_cmd
=/usr
/bin
/file
5682 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5683 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5686 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]'
5687 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5690 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5691 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5697 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5698 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5701 irix5
* | irix6
* | nonstopux
*)
5703 *-32|
*"-32 ") libmagic
=32-bit;;
5704 *-n32|
*"-n32 ") libmagic
=N32
;;
5705 *-64|
*"-64 ") libmagic
=64-bit;;
5706 *) libmagic
=never-match
;;
5708 lt_cv_deplibs_check_method
=pass_all
5711 # This must be Linux ELF.
5712 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5713 lt_cv_deplibs_check_method
=pass_all
5717 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5718 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5720 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5725 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5726 lt_cv_file_magic_cmd
=/usr
/bin
/file
5727 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5731 lt_cv_deplibs_check_method
=pass_all
5735 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5736 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5738 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5742 osf3
* | osf4
* | osf5
*)
5743 lt_cv_deplibs_check_method
=pass_all
5747 lt_cv_deplibs_check_method
=pass_all
5751 lt_cv_deplibs_check_method
=pass_all
5754 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5755 lt_cv_deplibs_check_method
=pass_all
5759 case $host_vendor in
5761 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]'
5762 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5765 lt_cv_deplibs_check_method
=pass_all
5768 lt_cv_file_magic_cmd
='/bin/file'
5769 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5772 lt_cv_file_magic_cmd
='/bin/file'
5773 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5774 lt_cv_file_magic_test_file
=/lib
/libc.so
5777 lt_cv_deplibs_check_method
=pass_all
5780 lt_cv_deplibs_check_method
=pass_all
5786 lt_cv_deplibs_check_method
=pass_all
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5792 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5793 file_magic_cmd
=$lt_cv_file_magic_cmd
5794 deplibs_check_method
=$lt_cv_deplibs_check_method
5795 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5808 if test -n "$ac_tool_prefix"; then
5809 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5810 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_AR+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$AR"; then
5817 ac_cv_prog_AR
="$AR" # Let the user override the test.
5819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir
=.
5824 for ac_exec_ext
in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 if test -n "$AR"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5839 $as_echo "$AR" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5847 if test -z "$ac_cv_prog_AR"; then
5849 # Extract the first word of "ar", so it can be a program name with args.
5850 set dummy
ar; ac_word
=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5856 if test -n "$ac_ct_AR"; then
5857 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir
=.
5864 for ac_exec_ext
in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_ac_ct_AR
="ar"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5877 if test -n "$ac_ct_AR"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5879 $as_echo "$ac_ct_AR" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5885 if test "x$ac_ct_AR" = x
; then
5888 case $cross_compiling:$ac_tool_warned in
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892 ac_tool_warned
=yes ;;
5900 test -z "$AR" && AR
=ar
5901 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5913 if test -n "$ac_tool_prefix"; then
5914 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5915 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if test "${ac_cv_prog_STRIP+set}" = set; then :
5919 $as_echo_n "(cached) " >&6
5921 if test -n "$STRIP"; then
5922 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir
=.
5929 for ac_exec_ext
in '' $ac_executable_extensions; do
5930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5931 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 STRIP
=$ac_cv_prog_STRIP
5942 if test -n "$STRIP"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5944 $as_echo "$STRIP" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5952 if test -z "$ac_cv_prog_STRIP"; then
5954 # Extract the first word of "strip", so it can be a program name with args.
5955 set dummy strip
; ac_word
=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5959 $as_echo_n "(cached) " >&6
5961 if test -n "$ac_ct_STRIP"; then
5962 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5968 test -z "$as_dir" && as_dir
=.
5969 for ac_exec_ext
in '' $ac_executable_extensions; do
5970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5971 ac_cv_prog_ac_ct_STRIP
="strip"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5982 if test -n "$ac_ct_STRIP"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5984 $as_echo "$ac_ct_STRIP" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5990 if test "x$ac_ct_STRIP" = x
; then
5993 case $cross_compiling:$ac_tool_warned in
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5997 ac_tool_warned
=yes ;;
6002 STRIP
="$ac_cv_prog_STRIP"
6005 test -z "$STRIP" && STRIP
=:
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6014 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6018 $as_echo_n "(cached) " >&6
6020 if test -n "$RANLIB"; then
6021 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir
=.
6028 for ac_exec_ext
in '' $ac_executable_extensions; do
6029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 RANLIB
=$ac_cv_prog_RANLIB
6041 if test -n "$RANLIB"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6043 $as_echo "$RANLIB" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6051 if test -z "$ac_cv_prog_RANLIB"; then
6052 ac_ct_RANLIB
=$RANLIB
6053 # Extract the first word of "ranlib", so it can be a program name with args.
6054 set dummy ranlib
; ac_word
=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6058 $as_echo_n "(cached) " >&6
6060 if test -n "$ac_ct_RANLIB"; then
6061 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir
=.
6068 for ac_exec_ext
in '' $ac_executable_extensions; do
6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6081 if test -n "$ac_ct_RANLIB"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6083 $as_echo "$ac_ct_RANLIB" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6089 if test "x$ac_ct_RANLIB" = x
; then
6092 case $cross_compiling:$ac_tool_warned in
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned
=yes ;;
6098 RANLIB
=$ac_ct_RANLIB
6101 RANLIB
="$ac_cv_prog_RANLIB"
6104 test -z "$RANLIB" && RANLIB
=:
6111 # Determine commands to create old-style static archives.
6112 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6113 old_postinstall_cmds
='chmod 644 $oldlib'
6114 old_postuninstall_cmds
=
6116 if test -n "$RANLIB"; then
6119 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6122 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6125 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6130 lock_old_archive_extraction
=yes ;;
6132 lock_old_archive_extraction
=no
;;
6173 # If no C compiler was specified, use CC.
6176 # If no C compiler flags were specified, use CFLAGS.
6177 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6179 # Allow CC to be a program name with arguments.
6183 # Check for command to grab the raw symbol name followed by C symbol from nm.
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6185 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6186 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6190 # These are sane defaults that work on at least a few old systems.
6191 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6193 # Character class describing NM global symbol codes.
6194 symcode
='[BCDEGRST]'
6196 # Regexp to match symbols that can be accessed directly from C.
6197 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6199 # Define system-specific variables.
6204 cygwin
* | mingw
* | pw32
* | cegcc
*)
6205 symcode
='[ABCDGISTW]'
6208 if test "$host_cpu" = ia64
; then
6209 symcode
='[ABCDEGRST]'
6213 symcode
='[BCDEGRST]'
6216 symcode
='[BCDEGQRST]'
6227 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6235 # If we're using GNU nm, then use its standard symbol codes.
6236 case `$NM -V 2>&1` in
6237 *GNU
* |
*'with BFD'*)
6238 symcode
='[ABCDGIRSTW]' ;;
6241 # Transform an extracted symbol line into a proper C declaration.
6242 # Some systems (esp. on ia64) link data and code symbols differently,
6243 # so use this general approach.
6244 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6246 # Transform an extracted symbol line into symbol name and symbol address
6247 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6248 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'"
6250 # Handle CRLF in mingw tool chain
6254 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6258 # Try without a prefix underscore, then with it.
6259 for ac_symprfx
in "" "_"; do
6261 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6262 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6264 # Write the raw and C identifiers.
6265 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6266 # Fake it for dumpbin and say T for any non-static function
6267 # and D for any global variable.
6268 # Also find C++ and __fastcall symbols from MSVC++,
6269 # which start with @ or ?.
6270 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6271 " {last_section=section; section=\$ 3};"\
6272 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6273 " \$ 0!~/External *\|/{next};"\
6274 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6275 " {if(hide[section]) next};"\
6276 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6277 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6278 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6279 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6280 " ' prfx=^$ac_symprfx"
6282 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6285 # Check to see that the pipe works correctly.
6289 cat > conftest.
$ac_ext <<_LT_EOF
6294 void nm_test_func(void);
6295 void nm_test_func(void){}
6299 int main(){nm_test_var='a';nm_test_func();return(0);}
6302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6303 (eval $ac_compile) 2>&5
6305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6306 test $ac_status = 0; }; then
6307 # Now try to grab the symbols.
6309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6310 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6313 test $ac_status = 0; } && test -s "$nlist"; then
6314 # Try sorting and uniquifying the output.
6315 if sort "$nlist" |
uniq > "$nlist"T
; then
6316 mv -f "$nlist"T
"$nlist"
6321 # Make sure that we snagged all the symbols we need.
6322 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6323 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6324 cat <<_LT_EOF > conftest.$ac_ext
6330 # Now generate the symbol file.
6331 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6333 cat <<_LT_EOF >> conftest.$ac_ext
6335 /* The mapping between symbol names and symbols. */
6340 lt__PROGRAM__LTX_preloaded_symbols[] =
6342 { "@PROGRAM@", (void *) 0 },
6344 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6345 cat <<\_LT_EOF
>> conftest.
$ac_ext
6349 /* This works around a problem
in FreeBSD linker
*/
6350 #ifdef FREEBSD_WORKAROUND
6351 static const void
*lt_preloaded_setup
() {
6352 return lt__PROGRAM__LTX_preloaded_symbols
;
6360 # Now try linking the two files.
6361 mv conftest.
$ac_objext conftstm.
$ac_objext
6362 lt_save_LIBS
="$LIBS"
6363 lt_save_CFLAGS
="$CFLAGS"
6364 LIBS
="conftstm.$ac_objext"
6365 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6366 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6367 (eval $ac_link) 2>&5
6369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6370 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6373 LIBS
="$lt_save_LIBS"
6374 CFLAGS
="$lt_save_CFLAGS"
6376 echo "cannot find nm_test_func in $nlist" >&5
6379 echo "cannot find nm_test_var in $nlist" >&5
6382 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6385 echo "$progname: failed program was:" >&5
6386 cat conftest.
$ac_ext >&5
6388 rm -rf conftest
* conftst
*
6390 # Do not use the global_symbol_pipe unless it works.
6391 if test "$pipe_works" = yes; then
6394 lt_cv_sys_global_symbol_pipe
=
6400 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6401 lt_cv_sys_global_symbol_to_cdecl
=
6403 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6405 $as_echo "failed" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6408 $as_echo "ok" >&6; }
6433 # Check whether --enable-libtool-lock was given.
6434 if test "${enable_libtool_lock+set}" = set; then :
6435 enableval
=$enable_libtool_lock;
6438 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6440 # Some flags need to be propagated to the compiler or linker for good
6444 # Find out which ABI we are using.
6445 echo 'int i;' > conftest.
$ac_ext
6446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6447 (eval $ac_compile) 2>&5
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450 test $ac_status = 0; }; then
6451 case `/usr/bin/file conftest.$ac_objext` in
6463 # Find out which ABI we are using.
6464 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6466 (eval $ac_compile) 2>&5
6468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469 test $ac_status = 0; }; then
6470 if test "$lt_cv_prog_gnu_ld" = yes; then
6471 case `/usr/bin/file conftest.$ac_objext` in
6473 LD
="${LD-ld} -melf32bsmip"
6476 LD
="${LD-ld} -melf32bmipn32"
6479 LD
="${LD-ld} -melf64bmip"
6483 case `/usr/bin/file conftest.$ac_objext` in
6499 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6500 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6501 # Find out which ABI we are using.
6502 echo 'int i;' > conftest.
$ac_ext
6503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6504 (eval $ac_compile) 2>&5
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6507 test $ac_status = 0; }; then
6508 case `/usr/bin/file conftest.o` in
6511 x86_64-
*kfreebsd
*-gnu)
6512 LD
="${LD-ld} -m elf_i386_fbsd"
6515 LD
="${LD-ld} -m elf_i386"
6517 ppc64-
*linux
*|powerpc64-
*linux
*)
6518 LD
="${LD-ld} -m elf32ppclinux"
6521 LD
="${LD-ld} -m elf_s390"
6524 LD
="${LD-ld} -m elf32_sparc"
6530 x86_64-
*kfreebsd
*-gnu)
6531 LD
="${LD-ld} -m elf_x86_64_fbsd"
6534 LD
="${LD-ld} -m elf_x86_64"
6536 ppc
*-*linux
*|powerpc
*-*linux
*)
6537 LD
="${LD-ld} -m elf64ppc"
6539 s390
*-*linux
*|s390
*-*tpf
*)
6540 LD
="${LD-ld} -m elf64_s390"
6543 LD
="${LD-ld} -m elf64_sparc"
6553 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6554 SAVE_CFLAGS
="$CFLAGS"
6555 CFLAGS
="$CFLAGS -belf"
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6557 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6558 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6559 $as_echo_n "(cached) " >&6
6562 ac_cpp
='$CPP $CPPFLAGS'
6563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6578 if ac_fn_c_try_link
"$LINENO"; then :
6579 lt_cv_cc_needs_belf
=yes
6581 lt_cv_cc_needs_belf
=no
6583 rm -f core conftest.err conftest.
$ac_objext \
6584 conftest
$ac_exeext conftest.
$ac_ext
6586 ac_cpp
='$CPP $CPPFLAGS'
6587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6593 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6594 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6595 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6596 CFLAGS
="$SAVE_CFLAGS"
6600 # Find out which ABI we are using.
6601 echo 'int i;' > conftest.
$ac_ext
6602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6603 (eval $ac_compile) 2>&5
6605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6606 test $ac_status = 0; }; then
6607 case `/usr/bin/file conftest.o` in
6609 case $lt_cv_prog_gnu_ld in
6612 i?
86-*-solaris* | x86_64-
*-solaris2.1
[0-9]*)
6613 LD
="${LD-ld} -m elf_x86_64"
6616 LD
="${LD-ld} -m elf64_sparc"
6619 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6620 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6625 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6637 need_locks
="$enable_libtool_lock"
6641 rhapsody
* | darwin
*)
6642 if test -n "$ac_tool_prefix"; then
6643 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6644 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$DSYMUTIL"; then
6651 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir
=.
6658 for ac_exec_ext
in '' $ac_executable_extensions; do
6659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6671 if test -n "$DSYMUTIL"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6673 $as_echo "$DSYMUTIL" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6681 if test -z "$ac_cv_prog_DSYMUTIL"; then
6682 ac_ct_DSYMUTIL
=$DSYMUTIL
6683 # Extract the first word of "dsymutil", so it can be a program name with args.
6684 set dummy dsymutil
; ac_word
=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6688 $as_echo_n "(cached) " >&6
6690 if test -n "$ac_ct_DSYMUTIL"; then
6691 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir
=.
6698 for ac_exec_ext
in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6711 if test -n "$ac_ct_DSYMUTIL"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6713 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6719 if test "x$ac_ct_DSYMUTIL" = x
; then
6722 case $cross_compiling:$ac_tool_warned in
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned
=yes ;;
6728 DSYMUTIL
=$ac_ct_DSYMUTIL
6731 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6736 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6740 $as_echo_n "(cached) " >&6
6742 if test -n "$NMEDIT"; then
6743 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir
=.
6750 for ac_exec_ext
in '' $ac_executable_extensions; do
6751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6752 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 NMEDIT
=$ac_cv_prog_NMEDIT
6763 if test -n "$NMEDIT"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6765 $as_echo "$NMEDIT" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6773 if test -z "$ac_cv_prog_NMEDIT"; then
6774 ac_ct_NMEDIT
=$NMEDIT
6775 # Extract the first word of "nmedit", so it can be a program name with args.
6776 set dummy nmedit
; ac_word
=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$ac_ct_NMEDIT"; then
6783 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir
=.
6790 for ac_exec_ext
in '' $ac_executable_extensions; do
6791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6792 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6803 if test -n "$ac_ct_NMEDIT"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6805 $as_echo "$ac_ct_NMEDIT" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6811 if test "x$ac_ct_NMEDIT" = x
; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned
=yes ;;
6820 NMEDIT
=$ac_ct_NMEDIT
6823 NMEDIT
="$ac_cv_prog_NMEDIT"
6826 if test -n "$ac_tool_prefix"; then
6827 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6828 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 $as_echo_n "checking for $ac_word... " >&6; }
6831 if test "${ac_cv_prog_LIPO+set}" = set; then :
6832 $as_echo_n "(cached) " >&6
6834 if test -n "$LIPO"; then
6835 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir
=.
6842 for ac_exec_ext
in '' $ac_executable_extensions; do
6843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6844 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 LIPO
=$ac_cv_prog_LIPO
6855 if test -n "$LIPO"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6857 $as_echo "$LIPO" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 $as_echo "no" >&6; }
6865 if test -z "$ac_cv_prog_LIPO"; then
6867 # Extract the first word of "lipo", so it can be a program name with args.
6868 set dummy lipo
; ac_word
=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$ac_ct_LIPO"; then
6875 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir
=.
6882 for ac_exec_ext
in '' $ac_executable_extensions; do
6883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6884 ac_cv_prog_ac_ct_LIPO
="lipo"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6895 if test -n "$ac_ct_LIPO"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6897 $as_echo "$ac_ct_LIPO" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6903 if test "x$ac_ct_LIPO" = x
; then
6906 case $cross_compiling:$ac_tool_warned in
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910 ac_tool_warned
=yes ;;
6915 LIPO
="$ac_cv_prog_LIPO"
6918 if test -n "$ac_tool_prefix"; then
6919 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6920 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6924 $as_echo_n "(cached) " >&6
6926 if test -n "$OTOOL"; then
6927 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6933 test -z "$as_dir" && as_dir
=.
6934 for ac_exec_ext
in '' $ac_executable_extensions; do
6935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6936 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 OTOOL
=$ac_cv_prog_OTOOL
6947 if test -n "$OTOOL"; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6949 $as_echo "$OTOOL" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6957 if test -z "$ac_cv_prog_OTOOL"; then
6959 # Extract the first word of "otool", so it can be a program name with args.
6960 set dummy otool
; ac_word
=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$ac_ct_OTOOL"; then
6967 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir
=.
6974 for ac_exec_ext
in '' $ac_executable_extensions; do
6975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6976 ac_cv_prog_ac_ct_OTOOL
="otool"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6987 if test -n "$ac_ct_OTOOL"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6989 $as_echo "$ac_ct_OTOOL" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6995 if test "x$ac_ct_OTOOL" = x
; then
6998 case $cross_compiling:$ac_tool_warned in
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned
=yes ;;
7007 OTOOL
="$ac_cv_prog_OTOOL"
7010 if test -n "$ac_tool_prefix"; then
7011 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7012 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7016 $as_echo_n "(cached) " >&6
7018 if test -n "$OTOOL64"; then
7019 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7025 test -z "$as_dir" && as_dir
=.
7026 for ac_exec_ext
in '' $ac_executable_extensions; do
7027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7028 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 OTOOL64
=$ac_cv_prog_OTOOL64
7039 if test -n "$OTOOL64"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7041 $as_echo "$OTOOL64" >&6; }
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7049 if test -z "$ac_cv_prog_OTOOL64"; then
7050 ac_ct_OTOOL64
=$OTOOL64
7051 # Extract the first word of "otool64", so it can be a program name with args.
7052 set dummy otool64
; ac_word
=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$ac_ct_OTOOL64"; then
7059 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir
=.
7066 for ac_exec_ext
in '' $ac_executable_extensions; do
7067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7068 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7079 if test -n "$ac_ct_OTOOL64"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7081 $as_echo "$ac_ct_OTOOL64" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7087 if test "x$ac_ct_OTOOL64" = x
; then
7090 case $cross_compiling:$ac_tool_warned in
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7094 ac_tool_warned
=yes ;;
7096 OTOOL64
=$ac_ct_OTOOL64
7099 OTOOL64
="$ac_cv_prog_OTOOL64"
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7129 $as_echo_n "checking for -single_module linker flag... " >&6; }
7130 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7133 lt_cv_apple_cc_single_mod
=no
7134 if test -z "${LT_MULTI_MODULE}"; then
7135 # By default we will add the -single_module flag. You can override
7136 # by either setting the environment variable LT_MULTI_MODULE
7137 # non-empty at configure time, or by adding -multi_module to the
7139 rm -rf libconftest.dylib
*
7140 echo "int foo(void){return 1;}" > conftest.c
7141 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7142 -dynamiclib -Wl,-single_module conftest.c" >&5
7143 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7144 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7146 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7147 lt_cv_apple_cc_single_mod
=yes
7149 cat conftest.err
>&5
7151 rm -rf libconftest.dylib
*
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7156 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7158 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7159 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7160 $as_echo_n "(cached) " >&6
7162 lt_cv_ld_exported_symbols_list
=no
7163 save_LDFLAGS
=$LDFLAGS
7164 echo "_main" > conftest.sym
7165 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7177 if ac_fn_c_try_link
"$LINENO"; then :
7178 lt_cv_ld_exported_symbols_list
=yes
7180 lt_cv_ld_exported_symbols_list
=no
7182 rm -f core conftest.err conftest.
$ac_objext \
7183 conftest
$ac_exeext conftest.
$ac_ext
7184 LDFLAGS
="$save_LDFLAGS"
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7188 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7190 $as_echo_n "checking for -force_load linker flag... " >&6; }
7191 if test "${lt_cv_ld_force_load+set}" = set; then :
7192 $as_echo_n "(cached) " >&6
7194 lt_cv_ld_force_load
=no
7195 cat > conftest.c
<< _LT_EOF
7196 int forced_loaded() { return 2;}
7198 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7199 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7200 echo "$AR cru libconftest.a conftest.o" >&5
7201 $AR cru libconftest.a conftest.o
2>&5
7202 cat > conftest.c
<< _LT_EOF
7203 int main() { return 0;}
7205 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7206 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7208 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7209 lt_cv_ld_force_load
=yes
7211 cat conftest.err
>&5
7213 rm -f conftest.err libconftest.a conftest conftest.c
7214 rm -rf conftest.dSYM
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7218 $as_echo "$lt_cv_ld_force_load" >&6; }
7220 rhapsody
* | darwin1.
[012])
7221 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7223 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7224 darwin
*) # darwin 5.x on
7225 # if running on 10.5 or later, the deployment target defaults
7226 # to the OS version, if on x86, and 10.4, the deployment
7227 # target defaults to 10.4. Don't you love it?
7228 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7229 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7230 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7232 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7234 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7238 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7239 _lt_dar_single_mod
='$single_module'
7241 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7242 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7244 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7246 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7247 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7255 ac_cpp
='$CPP $CPPFLAGS'
7256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7260 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7261 # On Suns, sometimes $CPP names a directory.
7262 if test -n "$CPP" && test -d "$CPP"; then
7265 if test -z "$CPP"; then
7266 if test "${ac_cv_prog_CPP+set}" = set; then :
7267 $as_echo_n "(cached) " >&6
7269 # Double quotes because CPP needs to be expanded
7270 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7273 for ac_c_preproc_warn_flag
in '' yes
7275 # Use a header file that comes with gcc, so configuring glibc
7276 # with a fresh cross-compiler works.
7277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7278 # <limits.h> exists even on freestanding compilers.
7279 # On the NeXT, cc -E runs the code through the compiler's parser,
7280 # not just through cpp. "Syntax error" is here to catch this case.
7281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7282 /* end confdefs.h. */
7284 # include <limits.h>
7286 # include <assert.h>
7290 if ac_fn_c_try_cpp
"$LINENO"; then :
7293 # Broken: fails on valid input.
7296 rm -f conftest.err conftest.
$ac_ext
7298 # OK, works on sane cases. Now check whether nonexistent headers
7299 # can be detected and how.
7300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7302 #include <ac_nonexistent.h>
7304 if ac_fn_c_try_cpp
"$LINENO"; then :
7305 # Broken: success on invalid input.
7308 # Passes both tests.
7312 rm -f conftest.err conftest.
$ac_ext
7315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7316 rm -f conftest.err conftest.
$ac_ext
7317 if $ac_preproc_ok; then :
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7330 $as_echo "$CPP" >&6; }
7332 for ac_c_preproc_warn_flag
in '' yes
7334 # Use a header file that comes with gcc, so configuring glibc
7335 # with a fresh cross-compiler works.
7336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7337 # <limits.h> exists even on freestanding compilers.
7338 # On the NeXT, cc -E runs the code through the compiler's parser,
7339 # not just through cpp. "Syntax error" is here to catch this case.
7340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7343 # include <limits.h>
7345 # include <assert.h>
7349 if ac_fn_c_try_cpp
"$LINENO"; then :
7352 # Broken: fails on valid input.
7355 rm -f conftest.err conftest.
$ac_ext
7357 # OK, works on sane cases. Now check whether nonexistent headers
7358 # can be detected and how.
7359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7361 #include <ac_nonexistent.h>
7363 if ac_fn_c_try_cpp
"$LINENO"; then :
7364 # Broken: success on invalid input.
7367 # Passes both tests.
7371 rm -f conftest.err conftest.
$ac_ext
7374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7375 rm -f conftest.err conftest.
$ac_ext
7376 if $ac_preproc_ok; then :
7379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7381 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7382 See \`config.log' for more details." "$LINENO" 5; }
7386 ac_cpp
='$CPP $CPPFLAGS'
7387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7393 $as_echo_n "checking for ANSI C header files... " >&6; }
7394 if test "${ac_cv_header_stdc+set}" = set; then :
7395 $as_echo_n "(cached) " >&6
7397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7412 if ac_fn_c_try_compile
"$LINENO"; then :
7413 ac_cv_header_stdc
=yes
7415 ac_cv_header_stdc
=no
7417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7419 if test $ac_cv_header_stdc = yes; then
7420 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7427 $EGREP "memchr" >/dev
/null
2>&1; then :
7430 ac_cv_header_stdc
=no
7436 if test $ac_cv_header_stdc = yes; then
7437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7444 $EGREP "free" >/dev
/null
2>&1; then :
7447 ac_cv_header_stdc
=no
7453 if test $ac_cv_header_stdc = yes; then
7454 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7455 if test "$cross_compiling" = yes; then :
7458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7459 /* end confdefs.h. */
7462 #if ((' ' & 0x0FF) == 0x020)
7463 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7464 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7466 # define ISLOWER(c) \
7467 (('a' <= (c) && (c) <= 'i') \
7468 || ('j' <= (c) && (c) <= 'r') \
7469 || ('s' <= (c) && (c) <= 'z'))
7470 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7473 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7478 for (i = 0; i < 256; i++)
7479 if (XOR (islower (i), ISLOWER (i))
7480 || toupper (i) != TOUPPER (i))
7485 if ac_fn_c_try_run
"$LINENO"; then :
7488 ac_cv_header_stdc
=no
7490 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7491 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7497 $as_echo "$ac_cv_header_stdc" >&6; }
7498 if test $ac_cv_header_stdc = yes; then
7500 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7504 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7505 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7506 inttypes.h stdint.h unistd.h
7508 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7509 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7511 eval as_val
=\$
$as_ac_Header
7512 if test "x$as_val" = x
""yes; then :
7513 cat >>confdefs.h
<<_ACEOF
7514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7522 for ac_header
in dlfcn.h
7524 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7526 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7527 cat >>confdefs.h
<<_ACEOF
7528 #define HAVE_DLFCN_H 1
7535 if test -n "$ac_tool_prefix"; then
7536 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7537 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if test "${ac_cv_prog_GOC+set}" = set; then :
7541 $as_echo_n "(cached) " >&6
7543 if test -n "$GOC"; then
7544 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir
=.
7551 for ac_exec_ext
in '' $ac_executable_extensions; do
7552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 if test -n "$GOC"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7566 $as_echo "$GOC" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7574 if test -z "$ac_cv_prog_GOC"; then
7576 # Extract the first word of "gccgo", so it can be a program name with args.
7577 set dummy gccgo
; ac_word
=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7581 $as_echo_n "(cached) " >&6
7583 if test -n "$ac_ct_GOC"; then
7584 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir
=.
7591 for ac_exec_ext
in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_prog_ac_ct_GOC
="gccgo"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7604 if test -n "$ac_ct_GOC"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7606 $as_echo "$ac_ct_GOC" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7612 if test "x$ac_ct_GOC" = x
; then
7615 case $cross_compiling:$ac_tool_warned in
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7619 ac_tool_warned
=yes ;;
7624 GOC
="$ac_cv_prog_GOC"
7640 # Check whether --enable-shared was given.
7641 if test "${enable_shared+set}" = set; then :
7642 enableval
=$enable_shared; p
=${PACKAGE-default}
7644 yes) enable_shared
=yes ;;
7645 no
) enable_shared
=no
;;
7648 # Look at the argument we got. We use all the common list separators.
7649 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7650 for pkg
in $enableval; do
7652 if test "X$pkg" = "X$p"; then
7671 # Check whether --enable-static was given.
7672 if test "${enable_static+set}" = set; then :
7673 enableval
=$enable_static; p
=${PACKAGE-default}
7675 yes) enable_static
=yes ;;
7676 no
) enable_static
=no
;;
7679 # Look at the argument we got. We use all the common list separators.
7680 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7681 for pkg
in $enableval; do
7683 if test "X$pkg" = "X$p"; then
7703 # Check whether --with-pic was given.
7704 if test "${with_pic+set}" = set; then :
7705 withval
=$with_pic; pic_mode
="$withval"
7711 test -z "$pic_mode" && pic_mode
=default
7719 # Check whether --enable-fast-install was given.
7720 if test "${enable_fast_install+set}" = set; then :
7721 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7723 yes) enable_fast_install
=yes ;;
7724 no
) enable_fast_install
=no
;;
7726 enable_fast_install
=no
7727 # Look at the argument we got. We use all the common list separators.
7728 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7729 for pkg
in $enableval; do
7731 if test "X$pkg" = "X$p"; then
7732 enable_fast_install
=yes
7739 enable_fast_install
=yes
7752 # This can be used to rebuild libtool when needed
7753 LIBTOOL_DEPS
="$ltmain"
7755 # Always use our own libtool.
7756 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7783 test -z "$LN_S" && LN_S
="ln -s"
7798 if test -n "${ZSH_VERSION+set}" ; then
7799 setopt NO_GLOB_SUBST
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7803 $as_echo_n "checking for objdir... " >&6; }
7804 if test "${lt_cv_objdir+set}" = set; then :
7805 $as_echo_n "(cached) " >&6
7807 rm -f .libs
2>/dev
/null
7808 mkdir .libs
2>/dev
/null
7809 if test -d .libs
; then
7812 # MS-DOS does not allow filenames that begin with a dot.
7815 rmdir .libs
2>/dev
/null
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7818 $as_echo "$lt_cv_objdir" >&6; }
7819 objdir
=$lt_cv_objdir
7825 cat >>confdefs.h
<<_ACEOF
7826 #define LT_OBJDIR "$lt_cv_objdir/"
7834 # AIX sometimes has problems with the GCC collect2 program. For some
7835 # reason, if we set the COLLECT_NAMES environment variable, the problems
7836 # vanish in a puff of smoke.
7837 if test "X${COLLECT_NAMES+set}" != Xset
; then
7839 export COLLECT_NAMES
7846 can_build_shared
=yes
7848 # All known linkers require a `.a' archive for static linking (except MSVC,
7849 # which needs '.lib').
7852 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7855 old_CFLAGS
="$CFLAGS"
7857 # Set sane defaults for various variables
7858 test -z "$CC" && CC
=cc
7859 test -z "$LTCC" && LTCC
=$CC
7860 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7861 test -z "$LD" && LD
=ld
7862 test -z "$ac_objext" && ac_objext
=o
7864 for cc_temp
in $compiler""; do
7866 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7867 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7872 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7875 # Only perform the check for file, if the check method requires it
7876 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7877 case $deplibs_check_method in
7879 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7881 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7882 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7883 $as_echo_n "(cached) " >&6
7887 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7890 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7891 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7892 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7893 for ac_dir
in $ac_dummy; do
7895 test -z "$ac_dir" && ac_dir
=.
7896 if test -f $ac_dir/${ac_tool_prefix}file; then
7897 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7898 if test -n "$file_magic_test_file"; then
7899 case $deplibs_check_method in
7901 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7902 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7903 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7904 $EGREP "$file_magic_regex" > /dev
/null
; then
7909 *** Warning: the command libtool uses to detect shared libraries,
7910 *** $file_magic_cmd, produces output that libtool cannot recognize.
7911 *** The result is that libtool may fail to recognize shared libraries
7912 *** as such. This will affect the creation of libtool libraries that
7913 *** depend on shared libraries, but programs linked with such libtool
7914 *** libraries will work regardless of this problem. Nevertheless, you
7915 *** may want to report the problem to your system manager and/or to
7916 *** bug-libtool@gnu.org
7926 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7931 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7932 if test -n "$MAGIC_CMD"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7934 $as_echo "$MAGIC_CMD" >&6; }
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7944 if test -z "$lt_cv_path_MAGIC_CMD"; then
7945 if test -n "$ac_tool_prefix"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7947 $as_echo_n "checking for file... " >&6; }
7948 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7949 $as_echo_n "(cached) " >&6
7953 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7956 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7957 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7958 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7959 for ac_dir
in $ac_dummy; do
7961 test -z "$ac_dir" && ac_dir
=.
7962 if test -f $ac_dir/file; then
7963 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7964 if test -n "$file_magic_test_file"; then
7965 case $deplibs_check_method in
7967 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7968 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7969 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7970 $EGREP "$file_magic_regex" > /dev
/null
; then
7975 *** Warning: the command libtool uses to detect shared libraries,
7976 *** $file_magic_cmd, produces output that libtool cannot recognize.
7977 *** The result is that libtool may fail to recognize shared libraries
7978 *** as such. This will affect the creation of libtool libraries that
7979 *** depend on shared libraries, but programs linked with such libtool
7980 *** libraries will work regardless of this problem. Nevertheless, you
7981 *** may want to report the problem to your system manager and/or to
7982 *** bug-libtool@gnu.org
7992 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7997 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7998 if test -n "$MAGIC_CMD"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8000 $as_echo "$MAGIC_CMD" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8016 # Use C for the default configuration in the libtool script
8020 ac_cpp
='$CPP $CPPFLAGS'
8021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8026 # Source file extension for C test sources.
8029 # Object file extension for compiled C test sources.
8033 # Code to be used in simple compile tests
8034 lt_simple_compile_test_code
="int some_variable = 0;"
8036 # Code to be used in simple link tests
8037 lt_simple_link_test_code
='int main(){return(0);}'
8045 # If no C compiler was specified, use CC.
8048 # If no C compiler flags were specified, use CFLAGS.
8049 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8051 # Allow CC to be a program name with arguments.
8054 # Save the default compiler, since it gets overwritten when the other
8055 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8056 compiler_DEFAULT
=$CC
8058 # save warnings/boilerplate of simple test code
8059 ac_outfile
=conftest.
$ac_objext
8060 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8061 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8062 _lt_compiler_boilerplate
=`cat conftest.err`
8065 ac_outfile
=conftest.
$ac_objext
8066 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8067 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8068 _lt_linker_boilerplate
=`cat conftest.err`
8073 ## There is no encapsulation within the following macros, do not change
8074 ## the running order or otherwise move them around unless you know exactly
8075 ## what you are doing...
8076 if test -n "$compiler"; then
8078 lt_prog_compiler_no_builtin_flag
=
8080 if test "$GCC" = yes; then
8081 case $cc_basename in
8083 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8085 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8089 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8090 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8091 $as_echo_n "(cached) " >&6
8093 lt_cv_prog_compiler_rtti_exceptions
=no
8094 ac_outfile
=conftest.
$ac_objext
8095 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8096 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8097 # Insert the option either (1) after the last *FLAGS variable, or
8098 # (2) before a word containing "conftest.", or (3) at the end.
8099 # Note that $ac_compile itself does not contain backslashes and begins
8100 # with a dollar sign (not a hyphen), so the echo should work correctly.
8101 # The option is referenced via a variable to avoid confusing sed.
8102 lt_compile
=`echo "$ac_compile" | $SED \
8103 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8104 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8105 -e 's:$: $lt_compiler_flag:'`
8106 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8107 (eval "$lt_compile" 2>conftest.err
)
8109 cat conftest.err
>&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 if (exit $ac_status) && test -s "$ac_outfile"; then
8112 # The compiler can only warn and ignore the option if not recognized
8113 # So say no if there are warnings other than the usual output.
8114 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8115 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8116 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8117 lt_cv_prog_compiler_rtti_exceptions
=yes
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8124 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8126 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8127 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8139 lt_prog_compiler_wl
=
8140 lt_prog_compiler_pic
=
8141 lt_prog_compiler_static
=
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8144 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8146 if test "$GCC" = yes; then
8147 lt_prog_compiler_wl
='-Wl,'
8148 lt_prog_compiler_static
='-static'
8152 # All AIX code is PIC.
8153 if test "$host_cpu" = ia64
; then
8154 # AIX 5 now supports IA64 processor
8155 lt_prog_compiler_static
='-Bstatic'
8162 # see comment about AmigaOS4 .so support
8163 lt_prog_compiler_pic
='-fPIC'
8166 # FIXME: we need at least 68020 code to build shared libraries, but
8167 # adding the `-m68020' flag to GCC prevents building anything better,
8169 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8174 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8175 # PIC is the default for these OSes.
8178 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8179 # This hack is so that the source file can tell whether it is being
8180 # built for inclusion in a dll (and should export symbols for example).
8181 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8182 # (--disable-auto-import) libraries
8183 lt_prog_compiler_pic
='-DDLL_EXPORT'
8186 darwin
* | rhapsody
*)
8187 # PIC is the default on this platform
8188 # Common symbols not allowed in MH_DYLIB files
8189 lt_prog_compiler_pic
='-fno-common'
8193 # PIC is the default for Haiku.
8194 # The "-static" flag exists, but is broken.
8195 lt_prog_compiler_static
=
8199 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8200 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8201 # sets the default TLS model and affects inlining.
8207 lt_prog_compiler_pic
='-fPIC'
8213 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8214 # Instead, we relocate shared libraries at runtime.
8218 # Just because we use GCC doesn't mean we suddenly get shared libraries
8219 # on systems that don't support them.
8220 lt_prog_compiler_can_build_shared
=no
8225 # QNX uses GNU C++, but need to define -shared option too, otherwise
8227 lt_prog_compiler_pic
='-fPIC -shared'
8231 if test -d /usr
/nec
; then
8232 lt_prog_compiler_pic
=-Kconform_pic
8237 lt_prog_compiler_pic
='-fPIC'
8241 case $cc_basename in
8242 nvcc
*) # Cuda Compiler Driver 2.2
8243 lt_prog_compiler_wl
='-Xlinker '
8244 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8248 # PORTME Check for flag to pass linker flags through the system compiler.
8251 lt_prog_compiler_wl
='-Wl,'
8252 if test "$host_cpu" = ia64
; then
8253 # AIX 5 now supports IA64 processor
8254 lt_prog_compiler_static
='-Bstatic'
8256 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8260 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8261 # This hack is so that the source file can tell whether it is being
8262 # built for inclusion in a dll (and should export symbols for example).
8263 lt_prog_compiler_pic
='-DDLL_EXPORT'
8266 hpux9
* | hpux10
* | hpux11
*)
8267 lt_prog_compiler_wl
='-Wl,'
8268 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8275 lt_prog_compiler_pic
='+Z'
8278 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8279 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8282 irix5
* | irix6
* | nonstopux
*)
8283 lt_prog_compiler_wl
='-Wl,'
8284 # PIC (with -KPIC) is the default.
8285 lt_prog_compiler_static
='-non_shared'
8288 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8289 case $cc_basename in
8290 # old Intel for x86_64 which still supported -KPIC.
8292 lt_prog_compiler_wl
='-Wl,'
8293 lt_prog_compiler_pic
='-KPIC'
8294 lt_prog_compiler_static
='-static'
8296 # icc used to be incompatible with GCC.
8297 # ICC 10 doesn't accept -KPIC any more.
8299 lt_prog_compiler_wl
='-Wl,'
8300 lt_prog_compiler_pic
='-fPIC'
8301 lt_prog_compiler_static
='-static'
8303 # Lahey Fortran 8.1.
8305 lt_prog_compiler_wl
='-Wl,'
8306 lt_prog_compiler_pic
='--shared'
8307 lt_prog_compiler_static
='--static'
8309 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8310 # Portland Group compilers (*not* the Pentium gcc compiler,
8311 # which looks to be a dead project)
8312 lt_prog_compiler_wl
='-Wl,'
8313 lt_prog_compiler_pic
='-fpic'
8314 lt_prog_compiler_static
='-Bstatic'
8317 lt_prog_compiler_wl
='-Wl,'
8318 # All Alpha code is PIC.
8319 lt_prog_compiler_static
='-non_shared'
8321 xl
* | bgxl
* | bgf
* | mpixl
*)
8322 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8323 lt_prog_compiler_wl
='-Wl,'
8324 lt_prog_compiler_pic
='-qpic'
8325 lt_prog_compiler_static
='-qstaticlink'
8328 case `$CC -V 2>&1 | sed 5q` in
8329 *Sun\ F
* |
*Sun
*Fortran
*)
8330 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8331 lt_prog_compiler_pic
='-KPIC'
8332 lt_prog_compiler_static
='-Bstatic'
8333 lt_prog_compiler_wl
=''
8337 lt_prog_compiler_pic
='-KPIC'
8338 lt_prog_compiler_static
='-Bstatic'
8339 lt_prog_compiler_wl
='-Wl,'
8347 lt_prog_compiler_pic
='-KPIC'
8348 lt_prog_compiler_static
='-Bstatic'
8352 # QNX uses GNU C++, but need to define -shared option too, otherwise
8354 lt_prog_compiler_pic
='-fPIC -shared'
8357 osf3
* | osf4
* | osf5
*)
8358 lt_prog_compiler_wl
='-Wl,'
8359 # All OSF/1 code is PIC.
8360 lt_prog_compiler_static
='-non_shared'
8364 lt_prog_compiler_static
='-non_shared'
8368 lt_prog_compiler_pic
='-KPIC'
8369 lt_prog_compiler_static
='-Bstatic'
8370 case $cc_basename in
8372 lt_prog_compiler_wl
='-Qoption ld ';;
8374 lt_prog_compiler_wl
='-Wl,';;
8379 lt_prog_compiler_wl
='-Qoption ld '
8380 lt_prog_compiler_pic
='-PIC'
8381 lt_prog_compiler_static
='-Bstatic'
8384 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8385 lt_prog_compiler_wl
='-Wl,'
8386 lt_prog_compiler_pic
='-KPIC'
8387 lt_prog_compiler_static
='-Bstatic'
8391 if test -d /usr
/nec
;then
8392 lt_prog_compiler_pic
='-Kconform_pic'
8393 lt_prog_compiler_static
='-Bstatic'
8397 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8398 lt_prog_compiler_wl
='-Wl,'
8399 lt_prog_compiler_pic
='-KPIC'
8400 lt_prog_compiler_static
='-Bstatic'
8404 lt_prog_compiler_wl
='-Wl,'
8405 lt_prog_compiler_can_build_shared
=no
8409 lt_prog_compiler_pic
='-pic'
8410 lt_prog_compiler_static
='-Bstatic'
8414 lt_prog_compiler_can_build_shared
=no
8420 # For platforms which do not support PIC, -DPIC is meaningless:
8422 lt_prog_compiler_pic
=
8425 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8429 $as_echo "$lt_prog_compiler_pic" >&6; }
8437 # Check to make sure the PIC flag actually works.
8439 if test -n "$lt_prog_compiler_pic"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8441 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8442 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8443 $as_echo_n "(cached) " >&6
8445 lt_cv_prog_compiler_pic_works
=no
8446 ac_outfile
=conftest.
$ac_objext
8447 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8448 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8449 # Insert the option either (1) after the last *FLAGS variable, or
8450 # (2) before a word containing "conftest.", or (3) at the end.
8451 # Note that $ac_compile itself does not contain backslashes and begins
8452 # with a dollar sign (not a hyphen), so the echo should work correctly.
8453 # The option is referenced via a variable to avoid confusing sed.
8454 lt_compile
=`echo "$ac_compile" | $SED \
8455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8457 -e 's:$: $lt_compiler_flag:'`
8458 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8459 (eval "$lt_compile" 2>conftest.err
)
8461 cat conftest.err
>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 if (exit $ac_status) && test -s "$ac_outfile"; then
8464 # The compiler can only warn and ignore the option if not recognized
8465 # So say no if there are warnings other than the usual output.
8466 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8468 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8469 lt_cv_prog_compiler_pic_works
=yes
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8476 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8478 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8479 case $lt_prog_compiler_pic in
8481 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8484 lt_prog_compiler_pic
=
8485 lt_prog_compiler_can_build_shared
=no
8496 # Check to make sure the static flag actually works.
8498 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8500 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8501 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8502 $as_echo_n "(cached) " >&6
8504 lt_cv_prog_compiler_static_works
=no
8505 save_LDFLAGS
="$LDFLAGS"
8506 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8507 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8508 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8509 # The linker can only warn and ignore the option if not recognized
8510 # So say no if there are warnings
8511 if test -s conftest.err
; then
8512 # Append any errors to the config.log.
8513 cat conftest.err
1>&5
8514 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8515 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8516 if diff conftest.exp conftest.er2
>/dev
/null
; then
8517 lt_cv_prog_compiler_static_works
=yes
8520 lt_cv_prog_compiler_static_works
=yes
8524 LDFLAGS
="$save_LDFLAGS"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8528 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8530 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8533 lt_prog_compiler_static
=
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8543 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8544 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8545 $as_echo_n "(cached) " >&6
8547 lt_cv_prog_compiler_c_o
=no
8548 $RM -r conftest
2>/dev
/null
8552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8554 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8555 # Insert the option either (1) after the last *FLAGS variable, or
8556 # (2) before a word containing "conftest.", or (3) at the end.
8557 # Note that $ac_compile itself does not contain backslashes and begins
8558 # with a dollar sign (not a hyphen), so the echo should work correctly.
8559 lt_compile
=`echo "$ac_compile" | $SED \
8560 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8562 -e 's:$: $lt_compiler_flag:'`
8563 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8564 (eval "$lt_compile" 2>out
/conftest.err
)
8566 cat out
/conftest.err
>&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8570 # The compiler can only warn and ignore the option if not recognized
8571 # So say no if there are warnings
8572 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8573 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8574 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8575 lt_cv_prog_compiler_c_o
=yes
8580 # SGI C++ compiler will create directory out/ii_files/ for
8581 # template instantiation
8582 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8583 $RM out
/* && rmdir out
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8590 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8598 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8599 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8600 $as_echo_n "(cached) " >&6
8602 lt_cv_prog_compiler_c_o
=no
8603 $RM -r conftest
2>/dev
/null
8607 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8609 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8610 # Insert the option either (1) after the last *FLAGS variable, or
8611 # (2) before a word containing "conftest.", or (3) at the end.
8612 # Note that $ac_compile itself does not contain backslashes and begins
8613 # with a dollar sign (not a hyphen), so the echo should work correctly.
8614 lt_compile
=`echo "$ac_compile" | $SED \
8615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8617 -e 's:$: $lt_compiler_flag:'`
8618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8619 (eval "$lt_compile" 2>out
/conftest.err
)
8621 cat out
/conftest.err
>&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8625 # The compiler can only warn and ignore the option if not recognized
8626 # So say no if there are warnings
8627 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8628 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8629 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8630 lt_cv_prog_compiler_c_o
=yes
8635 # SGI C++ compiler will create directory out/ii_files/ for
8636 # template instantiation
8637 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8638 $RM out
/* && rmdir out
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8645 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8650 hard_links
="nottested"
8651 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8652 # do not overwrite the value of need_locks provided by the user
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8654 $as_echo_n "checking if we can lock with hard links... " >&6; }
8657 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8659 ln conftest.a conftest.b
2>&5 || hard_links
=no
8660 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8662 $as_echo "$hard_links" >&6; }
8663 if test "$hard_links" = no
; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8665 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8678 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8681 allow_undefined_flag
=
8682 always_export_symbols
=no
8684 archive_expsym_cmds
=
8685 compiler_needs_object
=no
8686 enable_shared_with_static_runtimes
=no
8687 export_dynamic_flag_spec
=
8688 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8689 hardcode_automatic
=no
8691 hardcode_direct_absolute
=no
8692 hardcode_libdir_flag_spec
=
8693 hardcode_libdir_flag_spec_ld
=
8694 hardcode_libdir_separator
=
8696 hardcode_shlibpath_var
=unsupported
8698 link_all_deplibs
=unknown
8701 old_archive_from_new_cmds
=
8702 old_archive_from_expsyms_cmds
=
8703 thread_safe_flag_spec
=
8704 whole_archive_flag_spec
=
8705 # include_expsyms should be a list of space-separated symbols to be *always*
8706 # included in the symbol list
8708 # exclude_expsyms can be an extended regexp of symbols to exclude
8709 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8710 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8711 # as well as any symbol that contains `d'.
8712 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8713 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8714 # platforms (ab)use it in PIC code, but their linkers get confused if
8715 # the symbol is explicitly referenced. Since portable code cannot
8716 # rely on this symbol name, it's probably fine to never include it in
8717 # preloaded symbol tables.
8718 # Exclude shared library initialization/finalization symbols.
8719 extract_expsyms_cmds
=
8722 cygwin
* | mingw
* | pw32
* | cegcc
*)
8723 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8724 # When not using gcc, we currently assume that we are using
8725 # Microsoft Visual C++.
8726 if test "$GCC" != yes; then
8731 # we just hope/assume this is gcc and not c89 (= MSVC++)
8741 # On some targets, GNU ld is compatible enough with the native linker
8742 # that we're better off using the native interface for both.
8743 lt_use_gnu_ld_interface
=no
8744 if test "$with_gnu_ld" = yes; then
8747 # The AIX port of GNU ld has always aspired to compatibility
8748 # with the native linker. However, as the warning in the GNU ld
8749 # block says, versions before 2.19.5* couldn't really create working
8750 # shared libraries, regardless of the interface used.
8751 case `$LD -v 2>&1` in
8752 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8753 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8754 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8756 lt_use_gnu_ld_interface
=yes
8761 lt_use_gnu_ld_interface
=yes
8766 if test "$lt_use_gnu_ld_interface" = yes; then
8767 # If archive_cmds runs LD, not CC, wlarc should be empty
8770 # Set some defaults for GNU ld with shared library support. These
8771 # are reset later if shared libraries are not supported. Putting them
8772 # here allows them to be overridden if necessary.
8773 runpath_var
=LD_RUN_PATH
8774 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8775 export_dynamic_flag_spec
='${wl}--export-dynamic'
8776 # ancient GNU ld didn't support --whole-archive et. al.
8777 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8778 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8780 whole_archive_flag_spec
=
8782 supports_anon_versioning
=no
8783 case `$LD -v 2>&1` in
8784 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8785 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8786 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8787 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8788 *\
2.11.
*) ;; # other 2.11 versions
8789 *) supports_anon_versioning
=yes ;;
8792 # See if GNU ld supports shared libraries.
8795 # On AIX/PPC, the GNU linker is very broken
8796 if test "$host_cpu" != ia64
; then
8800 *** Warning: the GNU linker, at least up to release 2.19, is reported
8801 *** to be unable to reliably create shared libraries on AIX.
8802 *** Therefore, libtool is disabling shared libraries support. If you
8803 *** really care for shared libraries, you may want to install binutils
8804 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8805 *** You will then need to restart the configuration process.
8814 # see comment about AmigaOS4 .so support
8815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8816 archive_expsym_cmds
=''
8819 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)'
8820 hardcode_libdir_flag_spec
='-L$libdir'
8821 hardcode_minus_L
=yes
8827 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8828 allow_undefined_flag
=unsupported
8829 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8830 # support --undefined. This deserves some investigation. FIXME
8831 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8837 cygwin
* | mingw
* | pw32
* | cegcc
*)
8838 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8839 # as there is no search path for DLLs.
8840 hardcode_libdir_flag_spec
='-L$libdir'
8841 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8842 allow_undefined_flag
=unsupported
8843 always_export_symbols
=no
8844 enable_shared_with_static_runtimes
=yes
8845 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8847 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8848 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8849 # If the export-symbols file already is a .def file (1st line
8850 # is EXPORTS), use it as is; otherwise, prepend...
8851 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8852 cp $export_symbols $output_objdir/$soname.def;
8854 echo EXPORTS > $output_objdir/$soname.def;
8855 cat $export_symbols >> $output_objdir/$soname.def;
8857 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8864 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8865 link_all_deplibs
=yes
8870 hardcode_shlibpath_var
=no
8871 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8872 export_dynamic_flag_spec
='${wl}-E'
8873 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8874 # Instead, shared libraries are loaded at an image base (0x10000000 by
8875 # default) and relocated if they conflict, which is a slow very memory
8876 # consuming and fragmenting process. To avoid this, we pick a random,
8877 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8878 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8879 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8880 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'
8883 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8885 if test "$host_os" = linux-dietlibc
; then
8886 case $cc_basename in
8887 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8890 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8891 && test "$tmp_diet" = no
8894 tmp_sharedflag
='-shared'
8895 case $cc_basename,$host_cpu in
8896 pgcc
*) # Portland Group C compiler
8897 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'
8898 tmp_addflag
=' $pic_flag'
8900 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8901 # Portland Group f77 and f90 compilers
8902 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'
8903 tmp_addflag
=' $pic_flag -Mnomain' ;;
8904 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8905 tmp_addflag
=' -i_dynamic' ;;
8906 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8907 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8908 ifc
* | ifort
*) # Intel Fortran compiler
8909 tmp_addflag
=' -nofor_main' ;;
8910 lf95
*) # Lahey Fortran 8.1
8911 whole_archive_flag_spec
=
8912 tmp_sharedflag
='--shared' ;;
8913 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8914 tmp_sharedflag
='-qmkshrobj'
8916 nvcc
*) # Cuda Compiler Driver 2.2
8917 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'
8918 compiler_needs_object
=yes
8921 case `$CC -V 2>&1 | sed 5q` in
8922 *Sun\ C
*) # Sun C 5.9
8923 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'
8924 compiler_needs_object
=yes
8925 tmp_sharedflag
='-G' ;;
8926 *Sun\ F
*) # Sun Fortran 8.3
8927 tmp_sharedflag
='-G' ;;
8929 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8931 if test "x$supports_anon_versioning" = xyes
; then
8932 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8933 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8934 echo "local: *; };" >> $output_objdir/$libname.ver~
8935 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8938 case $cc_basename in
8939 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8940 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8941 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8942 hardcode_libdir_flag_spec
=
8943 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8944 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8945 if test "x$supports_anon_versioning" = xyes
; then
8946 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8947 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8948 echo "local: *; };" >> $output_objdir/$libname.ver~
8949 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8959 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8960 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8964 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8969 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8973 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8974 *** create shared libraries on Solaris systems. Therefore, libtool
8975 *** is disabling shared libraries support. We urge you to upgrade GNU
8976 *** binutils to release 2.9.1 or newer. Another option is to modify
8977 *** your PATH or compiler configuration so that the native linker is
8978 *** used, and then restart.
8981 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8982 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8983 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8989 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8990 case `$LD -v 2>&1` in
8991 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8995 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8996 *** reliably create shared libraries on SCO systems. Therefore, libtool
8997 *** is disabling shared libraries support. We urge you to upgrade GNU
8998 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8999 *** your PATH or compiler configuration so that the native linker is
9000 *** used, and then restart.
9005 # For security reasons, it is highly recommended that you always
9006 # use absolute paths for naming shared libraries, and exclude the
9007 # DT_RUNPATH tag from executables and libraries. But doing so
9008 # requires that you compile everything twice, which is a pain.
9009 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9010 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9011 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9021 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9024 hardcode_shlibpath_var
=no
9028 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9029 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9037 if test "$ld_shlibs" = no
; then
9039 hardcode_libdir_flag_spec
=
9040 export_dynamic_flag_spec
=
9041 whole_archive_flag_spec
=
9044 # PORTME fill in a description of your system's linker (not GNU ld)
9047 allow_undefined_flag
=unsupported
9048 always_export_symbols
=yes
9049 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'
9050 # Note: this linker hardcodes the directories in LIBPATH if there
9051 # are no directories specified by -L.
9052 hardcode_minus_L
=yes
9053 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9054 # Neither direct hardcoding nor static linking is supported with a
9056 hardcode_direct
=unsupported
9061 if test "$host_cpu" = ia64
; then
9062 # On IA64, the linker does run time linking by default, so we don't
9063 # have to do anything special.
9064 aix_use_runtimelinking
=no
9065 exp_sym_flag
='-Bexport'
9068 # If we're using GNU nm, then we don't want the "-C" option.
9069 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9070 # Also, AIX nm treats weak defined symbols like other global
9071 # defined symbols, whereas GNU nm marks them as "W".
9072 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9073 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'
9075 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'
9077 aix_use_runtimelinking
=no
9079 # Test if we are trying to use run time linking or normal
9080 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9081 # need to do runtime linking.
9082 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9083 for ld_flag
in $LDFLAGS; do
9084 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9085 aix_use_runtimelinking
=yes
9092 exp_sym_flag
='-bexport'
9093 no_entry_flag
='-bnoentry'
9096 # When large executables or shared objects are built, AIX ld can
9097 # have problems creating the table of contents. If linking a library
9098 # or program results in "error TOC overflow" add -mminimal-toc to
9099 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9100 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9104 hardcode_direct_absolute
=yes
9105 hardcode_libdir_separator
=':'
9106 link_all_deplibs
=yes
9107 file_list_spec
='${wl}-f,'
9109 if test "$GCC" = yes; then
9110 case $host_os in aix4.
[012]|aix4.
[012].
*)
9111 # We only want to do this on AIX 4.2 and lower, the check
9112 # below for broken collect2 doesn't work under 4.3+
9113 collect2name
=`${CC} -print-prog-name=collect2`
9114 if test -f "$collect2name" &&
9115 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9117 # We have reworked collect2
9120 # We have old collect2
9121 hardcode_direct
=unsupported
9122 # It fails to find uninstalled libraries when the uninstalled
9123 # path is not listed in the libpath. Setting hardcode_minus_L
9124 # to unsupported forces relinking
9125 hardcode_minus_L
=yes
9126 hardcode_libdir_flag_spec
='-L$libdir'
9127 hardcode_libdir_separator
=
9131 shared_flag
='-shared'
9132 if test "$aix_use_runtimelinking" = yes; then
9133 shared_flag
="$shared_flag "'${wl}-G'
9137 if test "$host_cpu" = ia64
; then
9138 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9139 # chokes on -Wl,-G. The following line is correct:
9142 if test "$aix_use_runtimelinking" = yes; then
9143 shared_flag
='${wl}-G'
9145 shared_flag
='${wl}-bM:SRE'
9150 export_dynamic_flag_spec
='${wl}-bexpall'
9151 # It seems that -bexpall does not export symbols beginning with
9152 # underscore (_), so it is better to generate a list of symbols to export.
9153 always_export_symbols
=yes
9154 if test "$aix_use_runtimelinking" = yes; then
9155 # Warning - without using the other runtime loading flags (-brtl),
9156 # -berok will link without error, but may produce a broken library.
9157 allow_undefined_flag
='-berok'
9158 # Determine the default libpath from the value encoded in an
9160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9171 if ac_fn_c_try_link
"$LINENO"; then :
9173 lt_aix_libpath_sed
='
9174 /Import File Strings/,/^$/ {
9180 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9181 # Check for a 64-bit object if we didn't find anything.
9182 if test -z "$aix_libpath"; then
9183 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9186 rm -f core conftest.err conftest.
$ac_objext \
9187 conftest
$ac_exeext conftest.
$ac_ext
9188 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9190 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9191 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"
9193 if test "$host_cpu" = ia64
; then
9194 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9195 allow_undefined_flag
="-z nodefs"
9196 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"
9198 # Determine the default libpath from the value encoded in an
9200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9211 if ac_fn_c_try_link
"$LINENO"; then :
9213 lt_aix_libpath_sed
='
9214 /Import File Strings/,/^$/ {
9220 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9221 # Check for a 64-bit object if we didn't find anything.
9222 if test -z "$aix_libpath"; then
9223 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9226 rm -f core conftest.err conftest.
$ac_objext \
9227 conftest
$ac_exeext conftest.
$ac_ext
9228 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9230 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9231 # Warning - without using the other run time loading flags,
9232 # -berok will link without error, but may produce a broken library.
9233 no_undefined_flag
=' ${wl}-bernotok'
9234 allow_undefined_flag
=' ${wl}-berok'
9235 if test "$with_gnu_ld" = yes; then
9236 # We only use this code for GNU lds that support --whole-archive.
9237 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9239 # Exported symbols can be pulled into shared objects from archives
9240 whole_archive_flag_spec
='$convenience'
9242 archive_cmds_need_lc
=yes
9243 # This is similar to how AIX traditionally builds its shared libraries.
9244 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'
9252 # see comment about AmigaOS4 .so support
9253 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9254 archive_expsym_cmds
=''
9257 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)'
9258 hardcode_libdir_flag_spec
='-L$libdir'
9259 hardcode_minus_L
=yes
9265 export_dynamic_flag_spec
=-rdynamic
9268 cygwin
* | mingw
* | pw32
* | cegcc
*)
9269 # When not using gcc, we currently assume that we are using
9270 # Microsoft Visual C++.
9271 # hardcode_libdir_flag_spec is actually meaningless, as there is
9272 # no search path for DLLs.
9273 hardcode_libdir_flag_spec
=' '
9274 allow_undefined_flag
=unsupported
9275 # Tell ltmain to make .lib files, not .a files.
9277 # Tell ltmain to make .dll files, not .so files.
9279 # FIXME: Setting linknames here is a bad hack.
9280 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9281 # The linker will automatically build a .lib file if we build a DLL.
9282 old_archive_from_new_cmds
='true'
9283 # FIXME: Should let the user specify the lib program.
9284 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9285 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9286 enable_shared_with_static_runtimes
=yes
9289 darwin
* | rhapsody
*)
9292 archive_cmds_need_lc
=no
9294 hardcode_automatic
=yes
9295 hardcode_shlibpath_var
=unsupported
9296 if test "$lt_cv_ld_force_load" = "yes"; then
9297 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\"`'
9299 whole_archive_flag_spec
=''
9301 link_all_deplibs
=yes
9302 allow_undefined_flag
="$_lt_dar_allow_undefined"
9303 case $cc_basename in
9304 ifort
*) _lt_dar_can_shared
=yes ;;
9305 *) _lt_dar_can_shared
=$GCC ;;
9307 if test "$_lt_dar_can_shared" = "yes"; then
9308 output_verbose_link_cmd
=func_echo_all
9309 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9310 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9311 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}"
9312 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}"
9321 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9322 hardcode_libdir_flag_spec
='-L$libdir'
9323 hardcode_shlibpath_var
=no
9326 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9327 # support. Future versions do this automatically, but an explicit c++rt0.o
9328 # does not break anything, and helps significantly (at the cost of a little
9331 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9332 hardcode_libdir_flag_spec
='-R$libdir'
9334 hardcode_shlibpath_var
=no
9337 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9339 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9341 hardcode_minus_L
=yes
9342 hardcode_shlibpath_var
=no
9345 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9346 freebsd
* | dragonfly
*)
9347 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9348 hardcode_libdir_flag_spec
='-R$libdir'
9350 hardcode_shlibpath_var
=no
9354 if test "$GCC" = yes; then
9355 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'
9357 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'
9359 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9360 hardcode_libdir_separator
=:
9363 # hardcode_minus_L: Not really in the search PATH,
9364 # but as the default location of the library.
9365 hardcode_minus_L
=yes
9366 export_dynamic_flag_spec
='${wl}-E'
9370 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9371 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9375 if test "$with_gnu_ld" = no
; then
9376 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9377 hardcode_libdir_flag_spec_ld
='+b $libdir'
9378 hardcode_libdir_separator
=:
9380 hardcode_direct_absolute
=yes
9381 export_dynamic_flag_spec
='${wl}-E'
9382 # hardcode_minus_L: Not really in the search PATH,
9383 # but as the default location of the library.
9384 hardcode_minus_L
=yes
9389 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9392 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9395 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9398 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9404 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9407 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9411 # Older versions of the 11.00 compiler do not understand -b yet
9412 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9414 $as_echo_n "checking if $CC understands -b... " >&6; }
9415 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9416 $as_echo_n "(cached) " >&6
9418 lt_cv_prog_compiler__b
=no
9419 save_LDFLAGS
="$LDFLAGS"
9420 LDFLAGS
="$LDFLAGS -b"
9421 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9422 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9423 # The linker can only warn and ignore the option if not recognized
9424 # So say no if there are warnings
9425 if test -s conftest.err
; then
9426 # Append any errors to the config.log.
9427 cat conftest.err
1>&5
9428 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9429 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9430 if diff conftest.exp conftest.er2
>/dev
/null
; then
9431 lt_cv_prog_compiler__b
=yes
9434 lt_cv_prog_compiler__b
=yes
9438 LDFLAGS
="$save_LDFLAGS"
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9442 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9444 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9445 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9453 if test "$with_gnu_ld" = no
; then
9454 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9455 hardcode_libdir_separator
=:
9460 hardcode_shlibpath_var
=no
9464 hardcode_direct_absolute
=yes
9465 export_dynamic_flag_spec
='${wl}-E'
9467 # hardcode_minus_L: Not really in the search PATH,
9468 # but as the default location of the library.
9469 hardcode_minus_L
=yes
9475 irix5
* | irix6
* | nonstopux
*)
9476 if test "$GCC" = yes; then
9477 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'
9478 # Try to use the -exported_symbol ld option, if it does not
9479 # work, assume that -exports_file does not work either and
9480 # implicitly export all symbols.
9481 save_LDFLAGS
="$LDFLAGS"
9482 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9487 if ac_fn_c_try_link
"$LINENO"; then :
9488 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'
9491 rm -f core conftest.err conftest.
$ac_objext \
9492 conftest
$ac_exeext conftest.
$ac_ext
9493 LDFLAGS
="$save_LDFLAGS"
9495 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'
9496 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'
9498 archive_cmds_need_lc
='no'
9499 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9500 hardcode_libdir_separator
=:
9502 link_all_deplibs
=yes
9506 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9507 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9509 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9511 hardcode_libdir_flag_spec
='-R$libdir'
9513 hardcode_shlibpath_var
=no
9517 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9520 hardcode_libdir_separator
=:
9521 hardcode_shlibpath_var
=no
9528 if test -f /usr
/libexec
/ld.so
; then
9530 hardcode_shlibpath_var
=no
9531 hardcode_direct_absolute
=yes
9532 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9533 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9534 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9535 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9536 export_dynamic_flag_spec
='${wl}-E'
9539 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9540 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_libdir_flag_spec
='-R$libdir'
9544 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9545 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9555 hardcode_libdir_flag_spec
='-L$libdir'
9556 hardcode_minus_L
=yes
9557 allow_undefined_flag
=unsupported
9558 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'
9559 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9563 if test "$GCC" = yes; then
9564 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9565 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'
9567 allow_undefined_flag
=' -expect_unresolved \*'
9568 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'
9570 archive_cmds_need_lc
='no'
9571 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9572 hardcode_libdir_separator
=:
9575 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9576 if test "$GCC" = yes; then
9577 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9578 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'
9579 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9581 allow_undefined_flag
=' -expect_unresolved \*'
9582 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'
9583 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~
9584 $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'
9586 # Both c and cxx compiler support -rpath directly
9587 hardcode_libdir_flag_spec
='-rpath $libdir'
9589 archive_cmds_need_lc
='no'
9590 hardcode_libdir_separator
=:
9594 no_undefined_flag
=' -z defs'
9595 if test "$GCC" = yes; then
9597 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9599 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9601 case `$CC -V 2>&1` in
9604 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9606 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9610 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9612 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9616 hardcode_libdir_flag_spec
='-R$libdir'
9617 hardcode_shlibpath_var
=no
9619 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9621 # The compiler driver will combine and reorder linker options,
9622 # but understands `-z linker_flag'. GCC discards it without `$wl',
9623 # but is careful enough not to reorder.
9624 # Supported since Solaris 2.6 (maybe 2.5.1?)
9625 if test "$GCC" = yes; then
9626 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9628 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9632 link_all_deplibs
=yes
9636 if test "x$host_vendor" = xsequent
; then
9637 # Use $CC to link under sequent, because it throws in some extra .o
9638 # files that make .init and .fini sections work.
9639 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9643 hardcode_libdir_flag_spec
='-L$libdir'
9645 hardcode_minus_L
=yes
9646 hardcode_shlibpath_var
=no
9650 case $host_vendor in
9652 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_direct
=yes # is this really true???
9656 ## LD is ld it makes a PLAMLIB
9657 ## CC just makes a GrossModule.
9658 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9659 reload_cmds
='$CC -r -o $output$reload_objs'
9663 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9667 runpath_var
='LD_RUN_PATH'
9668 hardcode_shlibpath_var
=no
9672 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9673 hardcode_shlibpath_var
=no
9674 export_dynamic_flag_spec
='-Bexport'
9678 if test -d /usr
/nec
; then
9679 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9680 hardcode_shlibpath_var
=no
9681 runpath_var
=LD_RUN_PATH
9682 hardcode_runpath_var
=yes
9687 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9688 no_undefined_flag
='${wl}-z,text'
9689 archive_cmds_need_lc
=no
9690 hardcode_shlibpath_var
=no
9691 runpath_var
='LD_RUN_PATH'
9693 if test "$GCC" = yes; then
9694 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 sysv5
* | sco3.2v5
* | sco5v6
*)
9703 # Note: We can NOT use -z defs as we might desire, because we do not
9704 # link with -lc, and that would cause any symbols used from libc to
9705 # always be unresolved, which means just about no library would
9706 # ever link correctly. If we're not using GNU ld we use -z text
9707 # though, which does catch some bad symbols but isn't as heavy-handed
9709 no_undefined_flag
='${wl}-z,text'
9710 allow_undefined_flag
='${wl}-z,nodefs'
9711 archive_cmds_need_lc
=no
9712 hardcode_shlibpath_var
=no
9713 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9714 hardcode_libdir_separator
=':'
9715 link_all_deplibs
=yes
9716 export_dynamic_flag_spec
='${wl}-Bexport'
9717 runpath_var
='LD_RUN_PATH'
9719 if test "$GCC" = yes; then
9720 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9730 hardcode_libdir_flag_spec
='-L$libdir'
9731 hardcode_shlibpath_var
=no
9739 if test x
$host_vendor = xsni
; then
9741 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9742 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9749 $as_echo "$ld_shlibs" >&6; }
9750 test "$ld_shlibs" = no
&& can_build_shared
=no
9752 with_gnu_ld
=$with_gnu_ld
9769 # Do we need to explicitly link libc?
9771 case "x$archive_cmds_need_lc" in
9773 # Assume -lc should be added
9774 archive_cmds_need_lc
=yes
9776 if test "$enable_shared" = yes && test "$GCC" = yes; then
9777 case $archive_cmds in
9779 # FIXME: we may have to deal with multi-command sequences.
9782 # Test whether the compiler implicitly links with -lc since on some
9783 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9784 # to ld, don't add -lc before -lgcc.
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9786 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9787 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9788 $as_echo_n "(cached) " >&6
9791 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9794 (eval $ac_compile) 2>&5
9796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9797 test $ac_status = 0; } 2>conftest.err
; then
9800 libobjs
=conftest.
$ac_objext
9802 wl
=$lt_prog_compiler_wl
9803 pic_flag
=$lt_prog_compiler_pic
9809 lt_save_allow_undefined_flag
=$allow_undefined_flag
9810 allow_undefined_flag
=
9811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9812 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9815 test $ac_status = 0; }
9817 lt_cv_archive_cmds_need_lc
=no
9819 lt_cv_archive_cmds_need_lc
=yes
9821 allow_undefined_flag
=$lt_save_allow_undefined_flag
9823 cat conftest.err
1>&5
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9829 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9830 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9994 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9996 if test "$GCC" = yes; then
9998 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9999 *) lt_awk_arg
="/^libraries:/" ;;
10002 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10003 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10005 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10006 case $lt_search_path_spec in
10008 # if the path contains ";" then we assume it to be the separator
10009 # otherwise default to the standard path separator (i.e. ":") - it is
10010 # assumed that no part of a normal pathname contains ";" but that should
10011 # okay in the real world where ";" in dirpaths is itself problematic.
10012 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10015 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10018 # Ok, now we have the path, separated by spaces, we can step through it
10019 # and add multilib dir if necessary.
10020 lt_tmp_lt_search_path_spec
=
10021 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10022 for lt_sys_path
in $lt_search_path_spec; do
10023 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10024 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10026 test -d "$lt_sys_path" && \
10027 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10030 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10031 BEGIN {RS=" "; FS="/|\n";} {
10034 for (lt_i = NF; lt_i > 0; lt_i--) {
10035 if ($lt_i != "" && $lt_i != ".") {
10036 if ($lt_i == "..") {
10039 if (lt_count == 0) {
10040 lt_foo="/" $lt_i lt_foo;
10047 if (lt_foo != "") { lt_freq[lt_foo]++; }
10048 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10050 # AWK program above erroneously prepends '/' to C:/dos/paths
10053 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10054 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10056 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10058 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10060 library_names_spec
=
10061 libname_spec
='lib$name'
10065 postuninstall_cmds
=
10069 shlibpath_overrides_runpath
=unknown
10071 dynamic_linker
="$host_os ld.so"
10072 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10073 need_lib_prefix
=unknown
10074 hardcode_into_libs
=no
10076 # when you set need_version to no, make sure it does not cause -set_version
10077 # flags to be left without arguments
10078 need_version
=unknown
10083 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10084 shlibpath_var
=LIBPATH
10086 # AIX 3 has no versioning support, so we append a major version to the name.
10087 soname_spec
='${libname}${release}${shared_ext}$major'
10094 hardcode_into_libs
=yes
10095 if test "$host_cpu" = ia64
; then
10096 # AIX 5 supports IA64
10097 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10098 shlibpath_var
=LD_LIBRARY_PATH
10100 # With GCC up to 2.95.x, collect2 would create an import file
10101 # for dependence libraries. The import file would start with
10102 # the line `#! .'. This would cause the generated library to
10103 # depend on `.', always an invalid library. This was fixed in
10104 # development snapshots of GCC prior to 3.0.
10106 aix4 | aix4.
[01] | aix4.
[01].
*)
10107 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10109 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10112 can_build_shared
=no
10116 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10117 # soname into executable. Probably we can add versioning support to
10118 # collect2, so additional links can be useful in future.
10119 if test "$aix_use_runtimelinking" = yes; then
10120 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10121 # instead of lib<name>.a to let people know that these are not
10122 # typical AIX shared libraries.
10123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125 # We preserve .a as extension for shared libraries through AIX4.2
10126 # and later when we are not doing run time linking.
10127 library_names_spec
='${libname}${release}.a $libname.a'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10130 shlibpath_var
=LIBPATH
10137 # Since July 2007 AmigaOS4 officially supports .so libraries.
10138 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142 library_names_spec
='$libname.ixlibrary $libname.a'
10143 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10144 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'
10150 library_names_spec
='${libname}${shared_ext}'
10151 dynamic_linker
="$host_os ld.so"
10152 shlibpath_var
=LIBRARY_PATH
10158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10159 soname_spec
='${libname}${release}${shared_ext}$major'
10160 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10161 shlibpath_var
=LD_LIBRARY_PATH
10162 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10163 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10164 # the default ld.so.conf also contains /usr/contrib/lib and
10165 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10166 # libtool to hard-code these into programs
10169 cygwin
* | mingw
* | pw32
* | cegcc
*)
10170 version_type
=windows
10175 case $GCC,$host_os in
10176 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10177 library_names_spec
='$libname.dll.a'
10178 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10179 postinstall_cmds
='base_file=`basename \${file}`~
10180 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10181 dldir=$destdir/`dirname \$dlpath`~
10182 test -d \$dldir || mkdir -p \$dldir~
10183 $install_prog $dir/$dlname \$dldir/$dlname~
10184 chmod a+x \$dldir/$dlname~
10185 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10186 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10188 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10189 dlpath=$dir/\$dldll~
10191 shlibpath_overrides_runpath
=yes
10195 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10196 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10198 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10201 # MinGW DLLs use traditional 'lib' prefix
10202 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10205 # pw32 DLLs use 'pw' prefix rather than 'lib'
10206 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10212 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10215 dynamic_linker
='Win32 ld.exe'
10216 # FIXME: first we should search . and the directory the executable is in
10220 darwin
* | rhapsody
*)
10221 dynamic_linker
="$host_os dyld"
10222 version_type
=darwin
10225 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10226 soname_spec
='${libname}${release}${major}$shared_ext'
10227 shlibpath_overrides_runpath
=yes
10228 shlibpath_var
=DYLD_LIBRARY_PATH
10229 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10231 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10232 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10240 soname_spec
='${libname}${release}${shared_ext}$major'
10241 shlibpath_var
=LD_LIBRARY_PATH
10244 freebsd
* | dragonfly
*)
10245 # DragonFly does not have aout. When/if they implement a new
10246 # versioning mechanism, adjust this.
10247 if test -x /usr
/bin
/objformat
; then
10248 objformat
=`/usr/bin/objformat`
10251 freebsd
[123]*) objformat
=aout
;;
10252 *) objformat
=elf
;;
10255 version_type
=freebsd-
$objformat
10256 case $version_type in
10258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10263 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10267 shlibpath_var
=LD_LIBRARY_PATH
10270 shlibpath_overrides_runpath
=yes
10272 freebsd3.
[01]* | freebsdelf3.
[01]*)
10273 shlibpath_overrides_runpath
=yes
10274 hardcode_into_libs
=yes
10276 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10277 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10278 shlibpath_overrides_runpath
=no
10279 hardcode_into_libs
=yes
10281 *) # from 4.6 on, and DragonFly
10282 shlibpath_overrides_runpath
=yes
10283 hardcode_into_libs
=yes
10292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10293 soname_spec
='${libname}${release}${shared_ext}$major'
10294 shlibpath_var
=LD_LIBRARY_PATH
10295 hardcode_into_libs
=yes
10302 dynamic_linker
="$host_os runtime_loader"
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 shlibpath_var
=LIBRARY_PATH
10306 shlibpath_overrides_runpath
=yes
10307 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10308 hardcode_into_libs
=yes
10311 hpux9
* | hpux10
* | hpux11
*)
10312 # Give a soname corresponding to the major version so that dld.sl refuses to
10313 # link against other versions.
10320 hardcode_into_libs
=yes
10321 dynamic_linker
="$host_os dld.so"
10322 shlibpath_var
=LD_LIBRARY_PATH
10323 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325 soname_spec
='${libname}${release}${shared_ext}$major'
10326 if test "X$HPUX_IA64_MODE" = X32
; then
10327 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10329 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10331 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10335 hardcode_into_libs
=yes
10336 dynamic_linker
="$host_os dld.sl"
10337 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10338 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10342 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10346 dynamic_linker
="$host_os dld.sl"
10347 shlibpath_var
=SHLIB_PATH
10348 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 soname_spec
='${libname}${release}${shared_ext}$major'
10353 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10354 postinstall_cmds
='chmod 555 $lib'
10355 # or fails outright, so override atomically:
10356 install_override_mode
=555
10363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10364 soname_spec
='${libname}${release}${shared_ext}$major'
10365 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10366 shlibpath_var
=LD_LIBRARY_PATH
10367 shlibpath_overrides_runpath
=no
10368 hardcode_into_libs
=yes
10371 irix5
* | irix6
* | nonstopux
*)
10373 nonstopux
*) version_type
=nonstopux
;;
10375 if test "$lt_cv_prog_gnu_ld" = yes; then
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10386 irix5
* | nonstopux
*)
10387 libsuff
= shlibsuff
=
10390 case $LD in # libtool.m4 will add one of these switches to LD
10391 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10392 libsuff
= shlibsuff
= libmagic
=32-bit;;
10393 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10394 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10395 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10396 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10397 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10401 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10402 shlibpath_overrides_runpath
=no
10403 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10404 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10405 hardcode_into_libs
=yes
10408 # No shared lib support for Linux oldld, aout, or coff.
10409 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10413 # This must be Linux ELF.
10414 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10419 soname_spec
='${libname}${release}${shared_ext}$major'
10420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10421 shlibpath_var
=LD_LIBRARY_PATH
10422 shlibpath_overrides_runpath
=no
10424 # Some binutils ld are patched to set DT_RUNPATH
10425 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10426 $as_echo_n "(cached) " >&6
10428 lt_cv_shlibpath_overrides_runpath
=no
10429 save_LDFLAGS
=$LDFLAGS
10430 save_libdir
=$libdir
10431 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10432 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10444 if ac_fn_c_try_link
"$LINENO"; then :
10445 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10446 lt_cv_shlibpath_overrides_runpath
=yes
10449 rm -f core conftest.err conftest.
$ac_objext \
10450 conftest
$ac_exeext conftest.
$ac_ext
10451 LDFLAGS
=$save_LDFLAGS
10452 libdir
=$save_libdir
10456 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10458 # This implies no fast_install, which is unacceptable.
10459 # Some rework will be needed to allow for fast_install
10460 # before this can be enabled.
10461 hardcode_into_libs
=yes
10463 # Append ld.so.conf contents to the search path
10464 if test -f /etc
/ld.so.conf
; then
10465 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' ' '`
10466 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10469 # We used to test for /lib/ld.so.1 and disable shared libraries on
10470 # powerpc, because MkLinux only supported shared libraries with the
10471 # GNU dynamic linker. Since this was broken with cross compilers,
10472 # most powerpc-linux boxes support dynamic linking these days and
10473 # people can always --disable-shared, the test was removed, and we
10474 # assume the GNU/Linux dynamic linker is in use.
10475 dynamic_linker
='GNU/Linux ld.so'
10482 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10484 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10485 dynamic_linker
='NetBSD (a.out) ld.so'
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10488 soname_spec
='${libname}${release}${shared_ext}$major'
10489 dynamic_linker
='NetBSD ld.elf_so'
10491 shlibpath_var
=LD_LIBRARY_PATH
10492 shlibpath_overrides_runpath
=yes
10493 hardcode_into_libs
=yes
10498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499 shlibpath_var
=LD_LIBRARY_PATH
10500 shlibpath_overrides_runpath
=yes
10507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10508 soname_spec
='${libname}${release}${shared_ext}$major'
10509 shlibpath_var
=LD_LIBRARY_PATH
10510 shlibpath_overrides_runpath
=no
10511 hardcode_into_libs
=yes
10512 dynamic_linker
='ldqnx.so'
10517 sys_lib_dlsearch_path_spec
="/usr/lib"
10519 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10521 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10522 *) need_version
=no
;;
10524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10525 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10526 shlibpath_var
=LD_LIBRARY_PATH
10527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10529 openbsd2.
[89] | openbsd2.
[89].
*)
10530 shlibpath_overrides_runpath
=no
10533 shlibpath_overrides_runpath
=yes
10537 shlibpath_overrides_runpath
=yes
10542 libname_spec
='$name'
10545 library_names_spec
='$libname${shared_ext} $libname.a'
10546 dynamic_linker
='OS/2 ld.exe'
10547 shlibpath_var
=LIBPATH
10550 osf3
* | osf4
* | osf5
*)
10554 soname_spec
='${libname}${release}${shared_ext}$major'
10555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556 shlibpath_var
=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10558 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10570 soname_spec
='${libname}${release}${shared_ext}$major'
10571 shlibpath_var
=LD_LIBRARY_PATH
10572 shlibpath_overrides_runpath
=yes
10573 hardcode_into_libs
=yes
10574 # ldd complains unless libraries are executable
10575 postinstall_cmds
='chmod +x $lib'
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10581 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 shlibpath_overrides_runpath
=yes
10584 if test "$with_gnu_ld" = yes; then
10592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 soname_spec
='${libname}${release}${shared_ext}$major'
10594 shlibpath_var
=LD_LIBRARY_PATH
10595 case $host_vendor in
10597 shlibpath_overrides_runpath
=no
10599 runpath_var
=LD_RUN_PATH
10607 shlibpath_overrides_runpath
=no
10608 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10614 if test -d /usr
/nec
;then
10616 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10617 soname_spec
='$libname${shared_ext}.$major'
10618 shlibpath_var
=LD_LIBRARY_PATH
10622 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10623 version_type
=freebsd-elf
10626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10627 soname_spec
='${libname}${release}${shared_ext}$major'
10628 shlibpath_var
=LD_LIBRARY_PATH
10629 shlibpath_overrides_runpath
=yes
10630 hardcode_into_libs
=yes
10631 if test "$with_gnu_ld" = yes; then
10632 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10634 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10637 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10641 sys_lib_dlsearch_path_spec
='/usr/lib'
10645 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 shlibpath_var
=LD_LIBRARY_PATH
10651 shlibpath_overrides_runpath
=no
10652 hardcode_into_libs
=yes
10657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658 soname_spec
='${libname}${release}${shared_ext}$major'
10659 shlibpath_var
=LD_LIBRARY_PATH
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10667 $as_echo "$dynamic_linker" >&6; }
10668 test "$dynamic_linker" = no
&& can_build_shared
=no
10670 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10671 if test "$GCC" = yes; then
10672 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10675 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10676 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10678 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10679 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10776 if test -n "$hardcode_libdir_flag_spec" ||
10777 test -n "$runpath_var" ||
10778 test "X$hardcode_automatic" = "Xyes" ; then
10780 # We can hardcode non-existent directories.
10781 if test "$hardcode_direct" != no
&&
10782 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10783 # have to relink, otherwise we might link with an installed library
10784 # when we should be linking with a yet-to-be-installed one
10785 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10786 test "$hardcode_minus_L" != no
; then
10787 # Linking always hardcodes the temporary library directory.
10788 hardcode_action
=relink
10790 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10791 hardcode_action
=immediate
10794 # We cannot hardcode anything, or else we can only hardcode existing
10796 hardcode_action
=unsupported
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10799 $as_echo "$hardcode_action" >&6; }
10801 if test "$hardcode_action" = relink ||
10802 test "$inherit_rpath" = yes; then
10803 # Fast installation is not supported
10804 enable_fast_install
=no
10805 elif test "$shlibpath_overrides_runpath" = yes ||
10806 test "$enable_shared" = no
; then
10807 # Fast installation is not necessary
10808 enable_fast_install
=needless
10816 if test "x$enable_dlopen" != xyes
; then
10817 enable_dlopen
=unknown
10818 enable_dlopen_self
=unknown
10819 enable_dlopen_self_static
=unknown
10826 lt_cv_dlopen
="load_add_on"
10828 lt_cv_dlopen_self
=yes
10831 mingw
* | pw32
* | cegcc
*)
10832 lt_cv_dlopen
="LoadLibrary"
10837 lt_cv_dlopen
="dlopen"
10842 # if libdl is installed we need to link against it
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10844 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10845 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10846 $as_echo_n "(cached) " >&6
10848 ac_check_lib_save_LIBS
=$LIBS
10850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10868 if ac_fn_c_try_link
"$LINENO"; then :
10869 ac_cv_lib_dl_dlopen
=yes
10871 ac_cv_lib_dl_dlopen
=no
10873 rm -f core conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10875 LIBS
=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10879 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10880 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10883 lt_cv_dlopen
="dyld"
10885 lt_cv_dlopen_self
=yes
10892 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10893 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10894 lt_cv_dlopen
="shl_load"
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10897 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10898 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10899 $as_echo_n "(cached) " >&6
10901 ac_check_lib_save_LIBS
=$LIBS
10903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10906 /* Override any GCC internal prototype to avoid an error.
10907 Use char because int might match the return type of a GCC
10908 builtin and then its argument prototype would still apply. */
10916 return shl_load ();
10921 if ac_fn_c_try_link
"$LINENO"; then :
10922 ac_cv_lib_dld_shl_load
=yes
10924 ac_cv_lib_dld_shl_load
=no
10926 rm -f core conftest.err conftest.
$ac_objext \
10927 conftest
$ac_exeext conftest.
$ac_ext
10928 LIBS
=$ac_check_lib_save_LIBS
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10931 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10932 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10933 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10935 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10936 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10937 lt_cv_dlopen
="dlopen"
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10942 $as_echo_n "(cached) " >&6
10944 ac_check_lib_save_LIBS
=$LIBS
10946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10964 if ac_fn_c_try_link
"$LINENO"; then :
10965 ac_cv_lib_dl_dlopen
=yes
10967 ac_cv_lib_dl_dlopen
=no
10969 rm -f core conftest.err conftest.
$ac_objext \
10970 conftest
$ac_exeext conftest.
$ac_ext
10971 LIBS
=$ac_check_lib_save_LIBS
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10974 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10975 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10976 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10979 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10980 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10981 $as_echo_n "(cached) " >&6
10983 ac_check_lib_save_LIBS
=$LIBS
10984 LIBS
="-lsvld $LIBS"
10985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
11003 if ac_fn_c_try_link
"$LINENO"; then :
11004 ac_cv_lib_svld_dlopen
=yes
11006 ac_cv_lib_svld_dlopen
=no
11008 rm -f core conftest.err conftest.
$ac_objext \
11009 conftest
$ac_exeext conftest.
$ac_ext
11010 LIBS
=$ac_check_lib_save_LIBS
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11013 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11014 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11015 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11018 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11019 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11020 $as_echo_n "(cached) " >&6
11022 ac_check_lib_save_LIBS
=$LIBS
11024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11037 return dld_link ();
11042 if ac_fn_c_try_link
"$LINENO"; then :
11043 ac_cv_lib_dld_dld_link
=yes
11045 ac_cv_lib_dld_dld_link
=no
11047 rm -f core conftest.err conftest.
$ac_objext \
11048 conftest
$ac_exeext conftest.
$ac_ext
11049 LIBS
=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11052 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11053 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11054 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11075 if test "x$lt_cv_dlopen" != xno
; then
11081 case $lt_cv_dlopen in
11083 save_CPPFLAGS
="$CPPFLAGS"
11084 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11086 save_LDFLAGS
="$LDFLAGS"
11087 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11090 LIBS
="$lt_cv_dlopen_libs $LIBS"
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11093 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11094 if test "${lt_cv_dlopen_self+set}" = set; then :
11095 $as_echo_n "(cached) " >&6
11097 if test "$cross_compiling" = yes; then :
11098 lt_cv_dlopen_self
=cross
11100 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11101 lt_status
=$lt_dlunknown
11102 cat > conftest.
$ac_ext <<_LT_EOF
11103 #line 11103 "configure"
11104 #include "confdefs.h"
11113 # define LT_DLGLOBAL RTLD_GLOBAL
11116 # define LT_DLGLOBAL DL_GLOBAL
11118 # define LT_DLGLOBAL 0
11122 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11123 find out it does not work in some platform. */
11124 #ifndef LT_DLLAZY_OR_NOW
11126 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11129 # define LT_DLLAZY_OR_NOW DL_LAZY
11132 # define LT_DLLAZY_OR_NOW RTLD_NOW
11135 # define LT_DLLAZY_OR_NOW DL_NOW
11137 # define LT_DLLAZY_OR_NOW 0
11144 /* When -fvisbility=hidden is used, assume the code has been annotated
11145 correspondingly for the symbols needed. */
11146 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11147 void fnord () __attribute__((visibility("default")));
11150 void fnord () { int i=42; }
11153 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11154 int status = $lt_dlunknown;
11158 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11161 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11162 else puts (dlerror ());
11164 /* dlclose (self); */
11172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11173 (eval $ac_link) 2>&5
11175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11176 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11177 (.
/conftest
; exit; ) >&5 2>/dev
/null
11179 case x
$lt_status in
11180 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11181 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11182 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11185 # compilation failed
11186 lt_cv_dlopen_self
=no
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11194 $as_echo "$lt_cv_dlopen_self" >&6; }
11196 if test "x$lt_cv_dlopen_self" = xyes
; then
11197 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11199 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11200 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11201 $as_echo_n "(cached) " >&6
11203 if test "$cross_compiling" = yes; then :
11204 lt_cv_dlopen_self_static
=cross
11206 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11207 lt_status
=$lt_dlunknown
11208 cat > conftest.
$ac_ext <<_LT_EOF
11209 #line 11209 "configure"
11210 #include "confdefs.h"
11219 # define LT_DLGLOBAL RTLD_GLOBAL
11222 # define LT_DLGLOBAL DL_GLOBAL
11224 # define LT_DLGLOBAL 0
11228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11229 find out it does not work in some platform. */
11230 #ifndef LT_DLLAZY_OR_NOW
11232 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11235 # define LT_DLLAZY_OR_NOW DL_LAZY
11238 # define LT_DLLAZY_OR_NOW RTLD_NOW
11241 # define LT_DLLAZY_OR_NOW DL_NOW
11243 # define LT_DLLAZY_OR_NOW 0
11250 /* When -fvisbility=hidden is used, assume the code has been annotated
11251 correspondingly for the symbols needed. */
11252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11253 void fnord () __attribute__((visibility("default")));
11256 void fnord () { int i=42; }
11259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11260 int status = $lt_dlunknown;
11264 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11267 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11268 else puts (dlerror ());
11270 /* dlclose (self); */
11278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11279 (eval $ac_link) 2>&5
11281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11282 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11283 (.
/conftest
; exit; ) >&5 2>/dev
/null
11285 case x
$lt_status in
11286 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11287 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11288 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11291 # compilation failed
11292 lt_cv_dlopen_self_static
=no
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11300 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11303 CPPFLAGS
="$save_CPPFLAGS"
11304 LDFLAGS
="$save_LDFLAGS"
11309 case $lt_cv_dlopen_self in
11310 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11311 *) enable_dlopen_self
=unknown
;;
11314 case $lt_cv_dlopen_self_static in
11315 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11316 *) enable_dlopen_self_static
=unknown
;;
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11339 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11340 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11341 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11342 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11344 $as_echo "yes" >&6; }
11346 # FIXME - insert some real tests, host_os isn't really good enough
11349 if test -n "$STRIP" ; then
11350 striplib
="$STRIP -x"
11351 old_striplib
="$STRIP -S"
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11353 $as_echo "yes" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11356 $as_echo "no" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11361 $as_echo "no" >&6; }
11377 # Report which library types will actually be built
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11379 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11381 $as_echo "$can_build_shared" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11384 $as_echo_n "checking whether to build shared libraries... " >&6; }
11385 test "$can_build_shared" = "no" && enable_shared
=no
11387 # On AIX, shared libraries and static libraries use the same namespace, and
11388 # are all built from PIC.
11391 test "$enable_shared" = yes && enable_static
=no
11392 if test -n "$RANLIB"; then
11393 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11394 postinstall_cmds
='$RANLIB $lib'
11399 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11400 test "$enable_shared" = yes && enable_static
=no
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11405 $as_echo "$enable_shared" >&6; }
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11408 $as_echo_n "checking whether to build static libraries... " >&6; }
11409 # Make sure either enable_shared or enable_static is yes.
11410 test "$enable_shared" = yes || enable_static
=yes
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11412 $as_echo "$enable_static" >&6; }
11419 ac_cpp
='$CPP $CPPFLAGS'
11420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11438 # Source file extension for Go test sources.
11441 # Object file extension for compiled Go test sources.
11445 # Code to be used in simple compile tests
11446 lt_simple_compile_test_code
="package main; func main() { }"
11448 # Code to be used in simple link tests
11449 lt_simple_link_test_code
='package main; func main() { }'
11451 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11458 # If no C compiler was specified, use CC.
11461 # If no C compiler flags were specified, use CFLAGS.
11462 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11464 # Allow CC to be a program name with arguments.
11468 # save warnings/boilerplate of simple test code
11469 ac_outfile
=conftest.
$ac_objext
11470 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11471 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11472 _lt_compiler_boilerplate
=`cat conftest.err`
11475 ac_outfile
=conftest.
$ac_objext
11476 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11477 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11478 _lt_linker_boilerplate
=`cat conftest.err`
11482 # Allow CC to be a program name with arguments.
11490 for cc_temp
in $compiler""; do
11492 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11493 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11498 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11501 # Go did not exist at the time GCC didn't implicitly link libc in.
11502 archive_cmds_need_lc_GO
=no
11504 old_archive_cmds_GO
=$old_archive_cmds
11507 ## There is no encapsulation within the following macros, do not change
11508 ## the running order or otherwise move them around unless you know exactly
11509 ## what you are doing...
11510 if test -n "$compiler"; then
11512 lt_prog_compiler_no_builtin_flag_GO
=
11514 if test "$GCC" = yes; then
11515 case $cc_basename in
11517 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11519 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11523 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11524 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11527 lt_cv_prog_compiler_rtti_exceptions
=no
11528 ac_outfile
=conftest.
$ac_objext
11529 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11530 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11531 # Insert the option either (1) after the last *FLAGS variable, or
11532 # (2) before a word containing "conftest.", or (3) at the end.
11533 # Note that $ac_compile itself does not contain backslashes and begins
11534 # with a dollar sign (not a hyphen), so the echo should work correctly.
11535 # The option is referenced via a variable to avoid confusing sed.
11536 lt_compile
=`echo "$ac_compile" | $SED \
11537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11539 -e 's:$: $lt_compiler_flag:'`
11540 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11541 (eval "$lt_compile" 2>conftest.err
)
11543 cat conftest.err
>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 if (exit $ac_status) && test -s "$ac_outfile"; then
11546 # The compiler can only warn and ignore the option if not recognized
11547 # So say no if there are warnings other than the usual output.
11548 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11549 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11550 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11551 lt_cv_prog_compiler_rtti_exceptions
=yes
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11558 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11560 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11561 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11570 lt_prog_compiler_wl_GO
=
11571 lt_prog_compiler_pic_GO
=
11572 lt_prog_compiler_static_GO
=
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11575 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11577 if test "$GCC" = yes; then
11578 lt_prog_compiler_wl_GO
='-Wl,'
11579 lt_prog_compiler_static_GO
='-static'
11583 # All AIX code is PIC.
11584 if test "$host_cpu" = ia64
; then
11585 # AIX 5 now supports IA64 processor
11586 lt_prog_compiler_static_GO
='-Bstatic'
11593 # see comment about AmigaOS4 .so support
11594 lt_prog_compiler_pic_GO
='-fPIC'
11597 # FIXME: we need at least 68020 code to build shared libraries, but
11598 # adding the `-m68020' flag to GCC prevents building anything better,
11600 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11605 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11606 # PIC is the default for these OSes.
11609 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11610 # This hack is so that the source file can tell whether it is being
11611 # built for inclusion in a dll (and should export symbols for example).
11612 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11613 # (--disable-auto-import) libraries
11614 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11617 darwin
* | rhapsody
*)
11618 # PIC is the default on this platform
11619 # Common symbols not allowed in MH_DYLIB files
11620 lt_prog_compiler_pic_GO
='-fno-common'
11624 # PIC is the default for Haiku.
11625 # The "-static" flag exists, but is broken.
11626 lt_prog_compiler_static_GO
=
11630 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11631 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11632 # sets the default TLS model and affects inlining.
11638 lt_prog_compiler_pic_GO
='-fPIC'
11644 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11645 # Instead, we relocate shared libraries at runtime.
11649 # Just because we use GCC doesn't mean we suddenly get shared libraries
11650 # on systems that don't support them.
11651 lt_prog_compiler_can_build_shared_GO
=no
11656 # QNX uses GNU C++, but need to define -shared option too, otherwise
11657 # it will coredump.
11658 lt_prog_compiler_pic_GO
='-fPIC -shared'
11662 if test -d /usr
/nec
; then
11663 lt_prog_compiler_pic_GO
=-Kconform_pic
11668 lt_prog_compiler_pic_GO
='-fPIC'
11672 case $cc_basename in
11673 nvcc
*) # Cuda Compiler Driver 2.2
11674 lt_prog_compiler_wl_GO
='-Xlinker '
11675 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11679 # PORTME Check for flag to pass linker flags through the system compiler.
11682 lt_prog_compiler_wl_GO
='-Wl,'
11683 if test "$host_cpu" = ia64
; then
11684 # AIX 5 now supports IA64 processor
11685 lt_prog_compiler_static_GO
='-Bstatic'
11687 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11691 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11692 # This hack is so that the source file can tell whether it is being
11693 # built for inclusion in a dll (and should export symbols for example).
11694 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11697 hpux9
* | hpux10
* | hpux11
*)
11698 lt_prog_compiler_wl_GO
='-Wl,'
11699 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11700 # not for PA HP-UX.
11706 lt_prog_compiler_pic_GO
='+Z'
11709 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11710 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11713 irix5
* | irix6
* | nonstopux
*)
11714 lt_prog_compiler_wl_GO
='-Wl,'
11715 # PIC (with -KPIC) is the default.
11716 lt_prog_compiler_static_GO
='-non_shared'
11719 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11720 case $cc_basename in
11721 # old Intel for x86_64 which still supported -KPIC.
11723 lt_prog_compiler_wl_GO
='-Wl,'
11724 lt_prog_compiler_pic_GO
='-KPIC'
11725 lt_prog_compiler_static_GO
='-static'
11727 # icc used to be incompatible with GCC.
11728 # ICC 10 doesn't accept -KPIC any more.
11730 lt_prog_compiler_wl_GO
='-Wl,'
11731 lt_prog_compiler_pic_GO
='-fPIC'
11732 lt_prog_compiler_static_GO
='-static'
11734 # Lahey Fortran 8.1.
11736 lt_prog_compiler_wl_GO
='-Wl,'
11737 lt_prog_compiler_pic_GO
='--shared'
11738 lt_prog_compiler_static_GO
='--static'
11740 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11741 # Portland Group compilers (*not* the Pentium gcc compiler,
11742 # which looks to be a dead project)
11743 lt_prog_compiler_wl_GO
='-Wl,'
11744 lt_prog_compiler_pic_GO
='-fpic'
11745 lt_prog_compiler_static_GO
='-Bstatic'
11748 lt_prog_compiler_wl_GO
='-Wl,'
11749 # All Alpha code is PIC.
11750 lt_prog_compiler_static_GO
='-non_shared'
11752 xl
* | bgxl
* | bgf
* | mpixl
*)
11753 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11754 lt_prog_compiler_wl_GO
='-Wl,'
11755 lt_prog_compiler_pic_GO
='-qpic'
11756 lt_prog_compiler_static_GO
='-qstaticlink'
11759 case `$CC -V 2>&1 | sed 5q` in
11760 *Sun\ F
* |
*Sun
*Fortran
*)
11761 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11762 lt_prog_compiler_pic_GO
='-KPIC'
11763 lt_prog_compiler_static_GO
='-Bstatic'
11764 lt_prog_compiler_wl_GO
=''
11768 lt_prog_compiler_pic_GO
='-KPIC'
11769 lt_prog_compiler_static_GO
='-Bstatic'
11770 lt_prog_compiler_wl_GO
='-Wl,'
11778 lt_prog_compiler_pic_GO
='-KPIC'
11779 lt_prog_compiler_static_GO
='-Bstatic'
11783 # QNX uses GNU C++, but need to define -shared option too, otherwise
11784 # it will coredump.
11785 lt_prog_compiler_pic_GO
='-fPIC -shared'
11788 osf3
* | osf4
* | osf5
*)
11789 lt_prog_compiler_wl_GO
='-Wl,'
11790 # All OSF/1 code is PIC.
11791 lt_prog_compiler_static_GO
='-non_shared'
11795 lt_prog_compiler_static_GO
='-non_shared'
11799 lt_prog_compiler_pic_GO
='-KPIC'
11800 lt_prog_compiler_static_GO
='-Bstatic'
11801 case $cc_basename in
11802 f77
* | f90
* | f95
*)
11803 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11805 lt_prog_compiler_wl_GO
='-Wl,';;
11810 lt_prog_compiler_wl_GO
='-Qoption ld '
11811 lt_prog_compiler_pic_GO
='-PIC'
11812 lt_prog_compiler_static_GO
='-Bstatic'
11815 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11816 lt_prog_compiler_wl_GO
='-Wl,'
11817 lt_prog_compiler_pic_GO
='-KPIC'
11818 lt_prog_compiler_static_GO
='-Bstatic'
11822 if test -d /usr
/nec
;then
11823 lt_prog_compiler_pic_GO
='-Kconform_pic'
11824 lt_prog_compiler_static_GO
='-Bstatic'
11828 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11829 lt_prog_compiler_wl_GO
='-Wl,'
11830 lt_prog_compiler_pic_GO
='-KPIC'
11831 lt_prog_compiler_static_GO
='-Bstatic'
11835 lt_prog_compiler_wl_GO
='-Wl,'
11836 lt_prog_compiler_can_build_shared_GO
=no
11840 lt_prog_compiler_pic_GO
='-pic'
11841 lt_prog_compiler_static_GO
='-Bstatic'
11845 lt_prog_compiler_can_build_shared_GO
=no
11851 # For platforms which do not support PIC, -DPIC is meaningless:
11853 lt_prog_compiler_pic_GO
=
11856 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11860 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11865 # Check to make sure the PIC flag actually works.
11867 if test -n "$lt_prog_compiler_pic_GO"; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11869 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11870 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11871 $as_echo_n "(cached) " >&6
11873 lt_cv_prog_compiler_pic_works_GO
=no
11874 ac_outfile
=conftest.
$ac_objext
11875 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11876 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11877 # Insert the option either (1) after the last *FLAGS variable, or
11878 # (2) before a word containing "conftest.", or (3) at the end.
11879 # Note that $ac_compile itself does not contain backslashes and begins
11880 # with a dollar sign (not a hyphen), so the echo should work correctly.
11881 # The option is referenced via a variable to avoid confusing sed.
11882 lt_compile
=`echo "$ac_compile" | $SED \
11883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11885 -e 's:$: $lt_compiler_flag:'`
11886 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11887 (eval "$lt_compile" 2>conftest.err
)
11889 cat conftest.err
>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 if (exit $ac_status) && test -s "$ac_outfile"; then
11892 # The compiler can only warn and ignore the option if not recognized
11893 # So say no if there are warnings other than the usual output.
11894 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11895 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11896 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11897 lt_cv_prog_compiler_pic_works_GO
=yes
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11904 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11906 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11907 case $lt_prog_compiler_pic_GO in
11909 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11912 lt_prog_compiler_pic_GO
=
11913 lt_prog_compiler_can_build_shared_GO
=no
11921 # Check to make sure the static flag actually works.
11923 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11925 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11926 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11927 $as_echo_n "(cached) " >&6
11929 lt_cv_prog_compiler_static_works_GO
=no
11930 save_LDFLAGS
="$LDFLAGS"
11931 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11932 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11933 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11934 # The linker can only warn and ignore the option if not recognized
11935 # So say no if there are warnings
11936 if test -s conftest.err
; then
11937 # Append any errors to the config.log.
11938 cat conftest.err
1>&5
11939 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11940 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11941 if diff conftest.exp conftest.er2
>/dev
/null
; then
11942 lt_cv_prog_compiler_static_works_GO
=yes
11945 lt_cv_prog_compiler_static_works_GO
=yes
11949 LDFLAGS
="$save_LDFLAGS"
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11953 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11955 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11958 lt_prog_compiler_static_GO
=
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11965 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11966 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11967 $as_echo_n "(cached) " >&6
11969 lt_cv_prog_compiler_c_o_GO
=no
11970 $RM -r conftest
2>/dev
/null
11974 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11976 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11977 # Insert the option either (1) after the last *FLAGS variable, or
11978 # (2) before a word containing "conftest.", or (3) at the end.
11979 # Note that $ac_compile itself does not contain backslashes and begins
11980 # with a dollar sign (not a hyphen), so the echo should work correctly.
11981 lt_compile
=`echo "$ac_compile" | $SED \
11982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11984 -e 's:$: $lt_compiler_flag:'`
11985 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11986 (eval "$lt_compile" 2>out
/conftest.err
)
11988 cat out
/conftest.err
>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11992 # The compiler can only warn and ignore the option if not recognized
11993 # So say no if there are warnings
11994 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11995 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11996 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11997 lt_cv_prog_compiler_c_o_GO
=yes
12002 # SGI C++ compiler will create directory out/ii_files/ for
12003 # template instantiation
12004 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12005 $RM out
/* && rmdir out
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12012 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12017 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12018 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12019 $as_echo_n "(cached) " >&6
12021 lt_cv_prog_compiler_c_o_GO
=no
12022 $RM -r conftest
2>/dev
/null
12026 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12028 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12029 # Insert the option either (1) after the last *FLAGS variable, or
12030 # (2) before a word containing "conftest.", or (3) at the end.
12031 # Note that $ac_compile itself does not contain backslashes and begins
12032 # with a dollar sign (not a hyphen), so the echo should work correctly.
12033 lt_compile
=`echo "$ac_compile" | $SED \
12034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12036 -e 's:$: $lt_compiler_flag:'`
12037 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12038 (eval "$lt_compile" 2>out
/conftest.err
)
12040 cat out
/conftest.err
>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12044 # The compiler can only warn and ignore the option if not recognized
12045 # So say no if there are warnings
12046 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12047 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12048 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12049 lt_cv_prog_compiler_c_o_GO
=yes
12054 # SGI C++ compiler will create directory out/ii_files/ for
12055 # template instantiation
12056 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12057 $RM out
/* && rmdir out
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12064 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12069 hard_links
="nottested"
12070 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12071 # do not overwrite the value of need_locks provided by the user
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12073 $as_echo_n "checking if we can lock with hard links... " >&6; }
12076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12078 ln conftest.a conftest.b
2>&5 || hard_links
=no
12079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12081 $as_echo "$hard_links" >&6; }
12082 if test "$hard_links" = no
; then
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12084 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12094 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12097 allow_undefined_flag_GO
=
12098 always_export_symbols_GO
=no
12100 archive_expsym_cmds_GO
=
12101 compiler_needs_object_GO
=no
12102 enable_shared_with_static_runtimes_GO
=no
12103 export_dynamic_flag_spec_GO
=
12104 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12105 hardcode_automatic_GO
=no
12106 hardcode_direct_GO
=no
12107 hardcode_direct_absolute_GO
=no
12108 hardcode_libdir_flag_spec_GO
=
12109 hardcode_libdir_flag_spec_ld_GO
=
12110 hardcode_libdir_separator_GO
=
12111 hardcode_minus_L_GO
=no
12112 hardcode_shlibpath_var_GO
=unsupported
12113 inherit_rpath_GO
=no
12114 link_all_deplibs_GO
=unknown
12116 module_expsym_cmds_GO
=
12117 old_archive_from_new_cmds_GO
=
12118 old_archive_from_expsyms_cmds_GO
=
12119 thread_safe_flag_spec_GO
=
12120 whole_archive_flag_spec_GO
=
12121 # include_expsyms should be a list of space-separated symbols to be *always*
12122 # included in the symbol list
12123 include_expsyms_GO
=
12124 # exclude_expsyms can be an extended regexp of symbols to exclude
12125 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12126 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12127 # as well as any symbol that contains `d'.
12128 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12129 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12130 # platforms (ab)use it in PIC code, but their linkers get confused if
12131 # the symbol is explicitly referenced. Since portable code cannot
12132 # rely on this symbol name, it's probably fine to never include it in
12133 # preloaded symbol tables.
12134 # Exclude shared library initialization/finalization symbols.
12135 extract_expsyms_cmds
=
12138 cygwin
* | mingw
* | pw32
* | cegcc
*)
12139 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12140 # When not using gcc, we currently assume that we are using
12141 # Microsoft Visual C++.
12142 if test "$GCC" != yes; then
12147 # we just hope/assume this is gcc and not c89 (= MSVC++)
12157 # On some targets, GNU ld is compatible enough with the native linker
12158 # that we're better off using the native interface for both.
12159 lt_use_gnu_ld_interface
=no
12160 if test "$with_gnu_ld" = yes; then
12163 # The AIX port of GNU ld has always aspired to compatibility
12164 # with the native linker. However, as the warning in the GNU ld
12165 # block says, versions before 2.19.5* couldn't really create working
12166 # shared libraries, regardless of the interface used.
12167 case `$LD -v 2>&1` in
12168 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12169 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12170 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12172 lt_use_gnu_ld_interface
=yes
12177 lt_use_gnu_ld_interface
=yes
12182 if test "$lt_use_gnu_ld_interface" = yes; then
12183 # If archive_cmds runs LD, not CC, wlarc should be empty
12186 # Set some defaults for GNU ld with shared library support. These
12187 # are reset later if shared libraries are not supported. Putting them
12188 # here allows them to be overridden if necessary.
12189 runpath_var
=LD_RUN_PATH
12190 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12191 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12192 # ancient GNU ld didn't support --whole-archive et. al.
12193 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12194 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12196 whole_archive_flag_spec_GO
=
12198 supports_anon_versioning
=no
12199 case `$LD -v 2>&1` in
12200 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12201 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12202 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12203 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12204 *\
2.11.
*) ;; # other 2.11 versions
12205 *) supports_anon_versioning
=yes ;;
12208 # See if GNU ld supports shared libraries.
12211 # On AIX/PPC, the GNU linker is very broken
12212 if test "$host_cpu" != ia64
; then
12216 *** Warning: the GNU linker, at least up to release 2.19, is reported
12217 *** to be unable to reliably create shared libraries on AIX.
12218 *** Therefore, libtool is disabling shared libraries support. If you
12219 *** really care for shared libraries, you may want to install binutils
12220 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12221 *** You will then need to restart the configuration process.
12230 # see comment about AmigaOS4 .so support
12231 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12232 archive_expsym_cmds_GO
=''
12235 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)'
12236 hardcode_libdir_flag_spec_GO
='-L$libdir'
12237 hardcode_minus_L_GO
=yes
12243 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12244 allow_undefined_flag_GO
=unsupported
12245 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12246 # support --undefined. This deserves some investigation. FIXME
12247 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12253 cygwin
* | mingw
* | pw32
* | cegcc
*)
12254 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12255 # as there is no search path for DLLs.
12256 hardcode_libdir_flag_spec_GO
='-L$libdir'
12257 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12258 allow_undefined_flag_GO
=unsupported
12259 always_export_symbols_GO
=no
12260 enable_shared_with_static_runtimes_GO
=yes
12261 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12263 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12264 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12265 # If the export-symbols file already is a .def file (1st line
12266 # is EXPORTS), use it as is; otherwise, prepend...
12267 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12268 cp $export_symbols $output_objdir/$soname.def;
12270 echo EXPORTS > $output_objdir/$soname.def;
12271 cat $export_symbols >> $output_objdir/$soname.def;
12273 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12280 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12281 link_all_deplibs_GO
=yes
12285 hardcode_direct_GO
=no
12286 hardcode_shlibpath_var_GO
=no
12287 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12288 export_dynamic_flag_spec_GO
='${wl}-E'
12289 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12290 # Instead, shared libraries are loaded at an image base (0x10000000 by
12291 # default) and relocated if they conflict, which is a slow very memory
12292 # consuming and fragmenting process. To avoid this, we pick a random,
12293 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12294 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12295 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'
12296 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'
12299 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12301 if test "$host_os" = linux-dietlibc
; then
12302 case $cc_basename in
12303 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12306 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12307 && test "$tmp_diet" = no
12310 tmp_sharedflag
='-shared'
12311 case $cc_basename,$host_cpu in
12312 pgcc
*) # Portland Group C compiler
12313 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'
12314 tmp_addflag
=' $pic_flag'
12316 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12317 # Portland Group f77 and f90 compilers
12318 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'
12319 tmp_addflag
=' $pic_flag -Mnomain' ;;
12320 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12321 tmp_addflag
=' -i_dynamic' ;;
12322 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12323 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12324 ifc
* | ifort
*) # Intel Fortran compiler
12325 tmp_addflag
=' -nofor_main' ;;
12326 lf95
*) # Lahey Fortran 8.1
12327 whole_archive_flag_spec_GO
=
12328 tmp_sharedflag
='--shared' ;;
12329 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12330 tmp_sharedflag
='-qmkshrobj'
12332 nvcc
*) # Cuda Compiler Driver 2.2
12333 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'
12334 compiler_needs_object_GO
=yes
12337 case `$CC -V 2>&1 | sed 5q` in
12338 *Sun\ C
*) # Sun C 5.9
12339 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'
12340 compiler_needs_object_GO
=yes
12341 tmp_sharedflag
='-G' ;;
12342 *Sun\ F
*) # Sun Fortran 8.3
12343 tmp_sharedflag
='-G' ;;
12345 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12347 if test "x$supports_anon_versioning" = xyes
; then
12348 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12349 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12350 echo "local: *; };" >> $output_objdir/$libname.ver~
12351 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12354 case $cc_basename in
12355 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12356 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12357 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12358 hardcode_libdir_flag_spec_GO
=
12359 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12360 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12361 if test "x$supports_anon_versioning" = xyes
; then
12362 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12363 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12364 echo "local: *; };" >> $output_objdir/$libname.ver~
12365 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12375 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12376 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12379 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12380 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12385 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12389 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12390 *** create shared libraries on Solaris systems. Therefore, libtool
12391 *** is disabling shared libraries support. We urge you to upgrade GNU
12392 *** binutils to release 2.9.1 or newer. Another option is to modify
12393 *** your PATH or compiler configuration so that the native linker is
12394 *** used, and then restart.
12397 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12398 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12399 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12405 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12406 case `$LD -v 2>&1` in
12407 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12411 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12412 *** reliably create shared libraries on SCO systems. Therefore, libtool
12413 *** is disabling shared libraries support. We urge you to upgrade GNU
12414 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12415 *** your PATH or compiler configuration so that the native linker is
12416 *** used, and then restart.
12421 # For security reasons, it is highly recommended that you always
12422 # use absolute paths for naming shared libraries, and exclude the
12423 # DT_RUNPATH tag from executables and libraries. But doing so
12424 # requires that you compile everything twice, which is a pain.
12425 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12426 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12427 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12428 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12437 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12439 hardcode_direct_GO
=yes
12440 hardcode_shlibpath_var_GO
=no
12444 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12445 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12446 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12453 if test "$ld_shlibs_GO" = no
; then
12455 hardcode_libdir_flag_spec_GO
=
12456 export_dynamic_flag_spec_GO
=
12457 whole_archive_flag_spec_GO
=
12460 # PORTME fill in a description of your system's linker (not GNU ld)
12463 allow_undefined_flag_GO
=unsupported
12464 always_export_symbols_GO
=yes
12465 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'
12466 # Note: this linker hardcodes the directories in LIBPATH if there
12467 # are no directories specified by -L.
12468 hardcode_minus_L_GO
=yes
12469 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12470 # Neither direct hardcoding nor static linking is supported with a
12472 hardcode_direct_GO
=unsupported
12477 if test "$host_cpu" = ia64
; then
12478 # On IA64, the linker does run time linking by default, so we don't
12479 # have to do anything special.
12480 aix_use_runtimelinking
=no
12481 exp_sym_flag
='-Bexport'
12484 # If we're using GNU nm, then we don't want the "-C" option.
12485 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12486 # Also, AIX nm treats weak defined symbols like other global
12487 # defined symbols, whereas GNU nm marks them as "W".
12488 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12489 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'
12491 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'
12493 aix_use_runtimelinking
=no
12495 # Test if we are trying to use run time linking or normal
12496 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12497 # need to do runtime linking.
12498 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12499 for ld_flag
in $LDFLAGS; do
12500 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12501 aix_use_runtimelinking
=yes
12508 exp_sym_flag
='-bexport'
12509 no_entry_flag
='-bnoentry'
12512 # When large executables or shared objects are built, AIX ld can
12513 # have problems creating the table of contents. If linking a library
12514 # or program results in "error TOC overflow" add -mminimal-toc to
12515 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12516 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12519 hardcode_direct_GO
=yes
12520 hardcode_direct_absolute_GO
=yes
12521 hardcode_libdir_separator_GO
=':'
12522 link_all_deplibs_GO
=yes
12523 file_list_spec_GO
='${wl}-f,'
12525 if test "$GCC" = yes; then
12526 case $host_os in aix4.
[012]|aix4.
[012].
*)
12527 # We only want to do this on AIX 4.2 and lower, the check
12528 # below for broken collect2 doesn't work under 4.3+
12529 collect2name
=`${CC} -print-prog-name=collect2`
12530 if test -f "$collect2name" &&
12531 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12533 # We have reworked collect2
12536 # We have old collect2
12537 hardcode_direct_GO
=unsupported
12538 # It fails to find uninstalled libraries when the uninstalled
12539 # path is not listed in the libpath. Setting hardcode_minus_L
12540 # to unsupported forces relinking
12541 hardcode_minus_L_GO
=yes
12542 hardcode_libdir_flag_spec_GO
='-L$libdir'
12543 hardcode_libdir_separator_GO
=
12547 shared_flag
='-shared'
12548 if test "$aix_use_runtimelinking" = yes; then
12549 shared_flag
="$shared_flag "'${wl}-G'
12553 if test "$host_cpu" = ia64
; then
12554 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12555 # chokes on -Wl,-G. The following line is correct:
12558 if test "$aix_use_runtimelinking" = yes; then
12559 shared_flag
='${wl}-G'
12561 shared_flag
='${wl}-bM:SRE'
12566 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12567 # It seems that -bexpall does not export symbols beginning with
12568 # underscore (_), so it is better to generate a list of symbols to export.
12569 always_export_symbols_GO
=yes
12570 if test "$aix_use_runtimelinking" = yes; then
12571 # Warning - without using the other runtime loading flags (-brtl),
12572 # -berok will link without error, but may produce a broken library.
12573 allow_undefined_flag_GO
='-berok'
12574 # Determine the default libpath from the value encoded in an
12575 # empty executable.
12576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12587 if ac_fn_c_try_link
"$LINENO"; then :
12589 lt_aix_libpath_sed
='
12590 /Import File Strings/,/^$/ {
12596 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12597 # Check for a 64-bit object if we didn't find anything.
12598 if test -z "$aix_libpath"; then
12599 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12602 rm -f core conftest.err conftest.
$ac_objext \
12603 conftest
$ac_exeext conftest.
$ac_ext
12604 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12606 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12607 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"
12609 if test "$host_cpu" = ia64
; then
12610 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12611 allow_undefined_flag_GO
="-z nodefs"
12612 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"
12614 # Determine the default libpath from the value encoded in an
12615 # empty executable.
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12627 if ac_fn_c_try_link
"$LINENO"; then :
12629 lt_aix_libpath_sed
='
12630 /Import File Strings/,/^$/ {
12636 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12637 # Check for a 64-bit object if we didn't find anything.
12638 if test -z "$aix_libpath"; then
12639 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12642 rm -f core conftest.err conftest.
$ac_objext \
12643 conftest
$ac_exeext conftest.
$ac_ext
12644 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12646 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12647 # Warning - without using the other run time loading flags,
12648 # -berok will link without error, but may produce a broken library.
12649 no_undefined_flag_GO
=' ${wl}-bernotok'
12650 allow_undefined_flag_GO
=' ${wl}-berok'
12651 if test "$with_gnu_ld" = yes; then
12652 # We only use this code for GNU lds that support --whole-archive.
12653 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12655 # Exported symbols can be pulled into shared objects from archives
12656 whole_archive_flag_spec_GO
='$convenience'
12658 archive_cmds_need_lc_GO
=yes
12659 # This is similar to how AIX traditionally builds its shared libraries.
12660 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'
12668 # see comment about AmigaOS4 .so support
12669 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12670 archive_expsym_cmds_GO
=''
12673 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)'
12674 hardcode_libdir_flag_spec_GO
='-L$libdir'
12675 hardcode_minus_L_GO
=yes
12681 export_dynamic_flag_spec_GO
=-rdynamic
12684 cygwin
* | mingw
* | pw32
* | cegcc
*)
12685 # When not using gcc, we currently assume that we are using
12686 # Microsoft Visual C++.
12687 # hardcode_libdir_flag_spec is actually meaningless, as there is
12688 # no search path for DLLs.
12689 hardcode_libdir_flag_spec_GO
=' '
12690 allow_undefined_flag_GO
=unsupported
12691 # Tell ltmain to make .lib files, not .a files.
12693 # Tell ltmain to make .dll files, not .so files.
12695 # FIXME: Setting linknames here is a bad hack.
12696 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12697 # The linker will automatically build a .lib file if we build a DLL.
12698 old_archive_from_new_cmds_GO
='true'
12699 # FIXME: Should let the user specify the lib program.
12700 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12701 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12702 enable_shared_with_static_runtimes_GO
=yes
12705 darwin
* | rhapsody
*)
12708 archive_cmds_need_lc_GO
=no
12709 hardcode_direct_GO
=no
12710 hardcode_automatic_GO
=yes
12711 hardcode_shlibpath_var_GO
=unsupported
12712 if test "$lt_cv_ld_force_load" = "yes"; then
12713 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\"`'
12715 whole_archive_flag_spec_GO
=''
12717 link_all_deplibs_GO
=yes
12718 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12719 case $cc_basename in
12720 ifort
*) _lt_dar_can_shared
=yes ;;
12721 *) _lt_dar_can_shared
=$GCC ;;
12723 if test "$_lt_dar_can_shared" = "yes"; then
12724 output_verbose_link_cmd
=func_echo_all
12725 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}"
12726 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12727 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}"
12728 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}"
12737 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12738 hardcode_libdir_flag_spec_GO
='-L$libdir'
12739 hardcode_shlibpath_var_GO
=no
12742 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12743 # support. Future versions do this automatically, but an explicit c++rt0.o
12744 # does not break anything, and helps significantly (at the cost of a little
12747 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12748 hardcode_libdir_flag_spec_GO
='-R$libdir'
12749 hardcode_direct_GO
=yes
12750 hardcode_shlibpath_var_GO
=no
12753 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12755 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12756 hardcode_direct_GO
=yes
12757 hardcode_minus_L_GO
=yes
12758 hardcode_shlibpath_var_GO
=no
12761 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12762 freebsd
* | dragonfly
*)
12763 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12764 hardcode_libdir_flag_spec_GO
='-R$libdir'
12765 hardcode_direct_GO
=yes
12766 hardcode_shlibpath_var_GO
=no
12770 if test "$GCC" = yes; then
12771 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'
12773 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'
12775 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12776 hardcode_libdir_separator_GO
=:
12777 hardcode_direct_GO
=yes
12779 # hardcode_minus_L: Not really in the search PATH,
12780 # but as the default location of the library.
12781 hardcode_minus_L_GO
=yes
12782 export_dynamic_flag_spec_GO
='${wl}-E'
12786 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12787 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12789 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12791 if test "$with_gnu_ld" = no
; then
12792 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12793 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12794 hardcode_libdir_separator_GO
=:
12795 hardcode_direct_GO
=yes
12796 hardcode_direct_absolute_GO
=yes
12797 export_dynamic_flag_spec_GO
='${wl}-E'
12798 # hardcode_minus_L: Not really in the search PATH,
12799 # but as the default location of the library.
12800 hardcode_minus_L_GO
=yes
12805 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12808 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12811 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12814 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12820 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12823 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12826 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12830 if test "$with_gnu_ld" = no
; then
12831 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12832 hardcode_libdir_separator_GO
=:
12836 hardcode_direct_GO
=no
12837 hardcode_shlibpath_var_GO
=no
12840 hardcode_direct_GO
=yes
12841 hardcode_direct_absolute_GO
=yes
12842 export_dynamic_flag_spec_GO
='${wl}-E'
12844 # hardcode_minus_L: Not really in the search PATH,
12845 # but as the default location of the library.
12846 hardcode_minus_L_GO
=yes
12852 irix5
* | irix6
* | nonstopux
*)
12853 if test "$GCC" = yes; then
12854 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'
12855 # Try to use the -exported_symbol ld option, if it does not
12856 # work, assume that -exports_file does not work either and
12857 # implicitly export all symbols.
12858 save_LDFLAGS
="$LDFLAGS"
12859 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12864 if ac_fn_c_try_link
"$LINENO"; then :
12865 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'
12868 rm -f core conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LDFLAGS
="$save_LDFLAGS"
12872 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'
12873 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'
12875 archive_cmds_need_lc_GO
='no'
12876 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12877 hardcode_libdir_separator_GO
=:
12878 inherit_rpath_GO
=yes
12879 link_all_deplibs_GO
=yes
12883 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12884 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12886 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12888 hardcode_libdir_flag_spec_GO
='-R$libdir'
12889 hardcode_direct_GO
=yes
12890 hardcode_shlibpath_var_GO
=no
12894 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12895 hardcode_direct_GO
=yes
12896 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12897 hardcode_libdir_separator_GO
=:
12898 hardcode_shlibpath_var_GO
=no
12905 if test -f /usr
/libexec
/ld.so
; then
12906 hardcode_direct_GO
=yes
12907 hardcode_shlibpath_var_GO
=no
12908 hardcode_direct_absolute_GO
=yes
12909 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12910 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12911 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12912 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12913 export_dynamic_flag_spec_GO
='${wl}-E'
12916 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12917 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12918 hardcode_libdir_flag_spec_GO
='-R$libdir'
12921 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12922 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12932 hardcode_libdir_flag_spec_GO
='-L$libdir'
12933 hardcode_minus_L_GO
=yes
12934 allow_undefined_flag_GO
=unsupported
12935 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'
12936 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12940 if test "$GCC" = yes; then
12941 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12942 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'
12944 allow_undefined_flag_GO
=' -expect_unresolved \*'
12945 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'
12947 archive_cmds_need_lc_GO
='no'
12948 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12949 hardcode_libdir_separator_GO
=:
12952 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12953 if test "$GCC" = yes; then
12954 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12955 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'
12956 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12958 allow_undefined_flag_GO
=' -expect_unresolved \*'
12959 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'
12960 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~
12961 $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'
12963 # Both c and cxx compiler support -rpath directly
12964 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12966 archive_cmds_need_lc_GO
='no'
12967 hardcode_libdir_separator_GO
=:
12971 no_undefined_flag_GO
=' -z defs'
12972 if test "$GCC" = yes; then
12974 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12975 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12976 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12978 case `$CC -V 2>&1` in
12981 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12982 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12983 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12987 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12988 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12989 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12993 hardcode_libdir_flag_spec_GO
='-R$libdir'
12994 hardcode_shlibpath_var_GO
=no
12996 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12998 # The compiler driver will combine and reorder linker options,
12999 # but understands `-z linker_flag'. GCC discards it without `$wl',
13000 # but is careful enough not to reorder.
13001 # Supported since Solaris 2.6 (maybe 2.5.1?)
13002 if test "$GCC" = yes; then
13003 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13005 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13009 link_all_deplibs_GO
=yes
13013 if test "x$host_vendor" = xsequent
; then
13014 # Use $CC to link under sequent, because it throws in some extra .o
13015 # files that make .init and .fini sections work.
13016 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13018 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13020 hardcode_libdir_flag_spec_GO
='-L$libdir'
13021 hardcode_direct_GO
=yes
13022 hardcode_minus_L_GO
=yes
13023 hardcode_shlibpath_var_GO
=no
13027 case $host_vendor in
13029 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13030 hardcode_direct_GO
=yes # is this really true???
13033 ## LD is ld it makes a PLAMLIB
13034 ## CC just makes a GrossModule.
13035 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13036 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13037 hardcode_direct_GO
=no
13040 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13041 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13044 runpath_var
='LD_RUN_PATH'
13045 hardcode_shlibpath_var_GO
=no
13049 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13050 hardcode_shlibpath_var_GO
=no
13051 export_dynamic_flag_spec_GO
='-Bexport'
13055 if test -d /usr
/nec
; then
13056 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13057 hardcode_shlibpath_var_GO
=no
13058 runpath_var
=LD_RUN_PATH
13059 hardcode_runpath_var
=yes
13064 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13065 no_undefined_flag_GO
='${wl}-z,text'
13066 archive_cmds_need_lc_GO
=no
13067 hardcode_shlibpath_var_GO
=no
13068 runpath_var
='LD_RUN_PATH'
13070 if test "$GCC" = yes; then
13071 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13072 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13074 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13079 sysv5
* | sco3.2v5
* | sco5v6
*)
13080 # Note: We can NOT use -z defs as we might desire, because we do not
13081 # link with -lc, and that would cause any symbols used from libc to
13082 # always be unresolved, which means just about no library would
13083 # ever link correctly. If we're not using GNU ld we use -z text
13084 # though, which does catch some bad symbols but isn't as heavy-handed
13086 no_undefined_flag_GO
='${wl}-z,text'
13087 allow_undefined_flag_GO
='${wl}-z,nodefs'
13088 archive_cmds_need_lc_GO
=no
13089 hardcode_shlibpath_var_GO
=no
13090 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13091 hardcode_libdir_separator_GO
=':'
13092 link_all_deplibs_GO
=yes
13093 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13094 runpath_var
='LD_RUN_PATH'
13096 if test "$GCC" = yes; then
13097 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13098 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13100 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13101 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13107 hardcode_libdir_flag_spec_GO
='-L$libdir'
13108 hardcode_shlibpath_var_GO
=no
13116 if test x
$host_vendor = xsni
; then
13118 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13119 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13126 $as_echo "$ld_shlibs_GO" >&6; }
13127 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13129 with_gnu_ld_GO
=$with_gnu_ld
13137 # Do we need to explicitly link libc?
13139 case "x$archive_cmds_need_lc_GO" in
13141 # Assume -lc should be added
13142 archive_cmds_need_lc_GO
=yes
13144 if test "$enable_shared" = yes && test "$GCC" = yes; then
13145 case $archive_cmds_GO in
13147 # FIXME: we may have to deal with multi-command sequences.
13150 # Test whether the compiler implicitly links with -lc since on some
13151 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13152 # to ld, don't add -lc before -lgcc.
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13155 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13156 $as_echo_n "(cached) " >&6
13159 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13162 (eval $ac_compile) 2>&5
13164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13165 test $ac_status = 0; } 2>conftest.err
; then
13168 libobjs
=conftest.
$ac_objext
13170 wl
=$lt_prog_compiler_wl_GO
13171 pic_flag
=$lt_prog_compiler_pic_GO
13177 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13178 allow_undefined_flag_GO
=
13179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13180 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13183 test $ac_status = 0; }
13185 lt_cv_archive_cmds_need_lc_GO
=no
13187 lt_cv_archive_cmds_need_lc_GO
=yes
13189 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13191 cat conftest.err
1>&5
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13197 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13198 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13269 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13270 hardcode_action_GO
=
13271 if test -n "$hardcode_libdir_flag_spec_GO" ||
13272 test -n "$runpath_var_GO" ||
13273 test "X$hardcode_automatic_GO" = "Xyes" ; then
13275 # We can hardcode non-existent directories.
13276 if test "$hardcode_direct_GO" != no
&&
13277 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13278 # have to relink, otherwise we might link with an installed library
13279 # when we should be linking with a yet-to-be-installed one
13280 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13281 test "$hardcode_minus_L_GO" != no
; then
13282 # Linking always hardcodes the temporary library directory.
13283 hardcode_action_GO
=relink
13285 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13286 hardcode_action_GO
=immediate
13289 # We cannot hardcode anything, or else we can only hardcode existing
13291 hardcode_action_GO
=unsupported
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13294 $as_echo "$hardcode_action_GO" >&6; }
13296 if test "$hardcode_action_GO" = relink ||
13297 test "$inherit_rpath_GO" = yes; then
13298 # Fast installation is not supported
13299 enable_fast_install
=no
13300 elif test "$shlibpath_overrides_runpath" = yes ||
13301 test "$enable_shared" = no
; then
13302 # Fast installation is not necessary
13303 enable_fast_install
=needless
13315 ac_cpp
='$CPP $CPPFLAGS'
13316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13327 ac_config_commands
="$ac_config_commands libtool"
13332 # Only expand once:
13338 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13341 for ac_prog
in gawk mawk nawk
awk
13343 # Extract the first word of "$ac_prog", so it can be a program name with args.
13344 set dummy
$ac_prog; ac_word
=$2
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13346 $as_echo_n "checking for $ac_word... " >&6; }
13347 if test "${ac_cv_prog_AWK+set}" = set; then :
13348 $as_echo_n "(cached) " >&6
13350 if test -n "$AWK"; then
13351 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13354 for as_dir
in $PATH
13357 test -z "$as_dir" && as_dir
=.
13358 for ac_exec_ext
in '' $ac_executable_extensions; do
13359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13360 ac_cv_prog_AWK
="$ac_prog"
13361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13370 AWK
=$ac_cv_prog_AWK
13371 if test -n "$AWK"; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13373 $as_echo "$AWK" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13380 test -n "$AWK" && break
13384 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13390 glibgo_toolexecdir
=no
13391 glibgo_toolexeclibdir
=no
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13394 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13395 # Check whether --enable-version-specific-runtime-libs was given.
13396 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13397 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13398 yes) version_specific_libs
=yes ;;
13399 no
) version_specific_libs
=no
;;
13400 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13403 version_specific_libs
=no
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13407 $as_echo "$version_specific_libs" >&6; }
13409 # Version-specific runtime libs processing.
13410 if test $version_specific_libs = yes; then
13411 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13412 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13415 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13416 # Install a library built with a cross compiler in tooldir, not libdir.
13417 if test -n "$with_cross_host" &&
13418 test x
"$with_cross_host" != x
"no"; then
13419 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13420 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13422 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13423 nover_glibgo_toolexeclibdir
='${libdir}'
13425 multi_os_directory
=`$CC -print-multi-os-directory`
13426 case $multi_os_directory in
13427 .
) ;; # Avoid trailing /.
13428 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13431 if test x
"$glibgo_toolexecdir" = x
"no"; then
13432 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13433 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13440 # See if the user wants to configure without libffi. Some
13441 # architectures don't support it. FIXME: We should set a default
13442 # based on the host.
13444 # Check whether --with-libffi was given.
13445 if test "${with_libffi+set}" = set; then :
13446 withval
=$with_libffi; :
13448 with_libffi
=${with_libffi_default-yes}
13454 if test "$with_libffi" != no
; then
13456 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13458 LIBFFI
=..
/libffi
/libffi_convenience.la
13459 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13464 # Used to tell GNU make to include a file without telling automake to
13466 go_include
="-include"
13478 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13479 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13480 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13481 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13482 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13483 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13484 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13486 if test $is_darwin = yes; then
13487 LIBGO_IS_DARWIN_TRUE
=
13488 LIBGO_IS_DARWIN_FALSE
='#'
13490 LIBGO_IS_DARWIN_TRUE
='#'
13491 LIBGO_IS_DARWIN_FALSE
=
13494 if test $is_freebsd = yes; then
13495 LIBGO_IS_FREEBSD_TRUE
=
13496 LIBGO_IS_FREEBSD_FALSE
='#'
13498 LIBGO_IS_FREEBSD_TRUE
='#'
13499 LIBGO_IS_FREEBSD_FALSE
=
13502 if test $is_irix = yes; then
13503 LIBGO_IS_IRIX_TRUE
=
13504 LIBGO_IS_IRIX_FALSE
='#'
13506 LIBGO_IS_IRIX_TRUE
='#'
13507 LIBGO_IS_IRIX_FALSE
=
13510 if test $is_linux = yes; then
13511 LIBGO_IS_LINUX_TRUE
=
13512 LIBGO_IS_LINUX_FALSE
='#'
13514 LIBGO_IS_LINUX_TRUE
='#'
13515 LIBGO_IS_LINUX_FALSE
=
13518 if test $is_netbsd = yes; then
13519 LIBGO_IS_NETBSD_TRUE
=
13520 LIBGO_IS_NETBSD_FALSE
='#'
13522 LIBGO_IS_NETBSD_TRUE
='#'
13523 LIBGO_IS_NETBSD_FALSE
=
13526 if test $is_rtems = yes; then
13527 LIBGO_IS_RTEMS_TRUE
=
13528 LIBGO_IS_RTEMS_FALSE
='#'
13530 LIBGO_IS_RTEMS_TRUE
='#'
13531 LIBGO_IS_RTEMS_FALSE
=
13534 if test $is_solaris = yes; then
13535 LIBGO_IS_SOLARIS_TRUE
=
13536 LIBGO_IS_SOLARIS_FALSE
='#'
13538 LIBGO_IS_SOLARIS_TRUE
='#'
13539 LIBGO_IS_SOLARIS_FALSE
=
13560 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13564 i
[34567]86-*-* | x86_64-
*-*)
13565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13572 if ac_fn_c_try_compile
"$LINENO"; then :
13577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 if test "$is_386" = "yes"; then
13589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13592 #if _MIPS_SIM != _ABIO32
13596 if ac_fn_c_try_compile
"$LINENO"; then :
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13602 #if _MIPS_SIM != _ABIN32
13606 if ac_fn_c_try_compile
"$LINENO"; then :
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13612 #if _MIPS_SIM != _ABI64
13616 if ac_fn_c_try_compile
"$LINENO"; then :
13619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13622 #if _MIPS_SIM != _ABIO64
13626 if ac_fn_c_try_compile
"$LINENO"; then :
13629 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13639 case "$mips_abi" in
13640 "o32") GOARCH
=mipso32
;;
13641 "n32") GOARCH
=mipsn32
;;
13642 "n64") GOARCH
=mipsn64
;;
13643 "o64") GOARCH
=mipso64
;;
13646 rs6000
*-*-* | powerpc
*-*-*)
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13654 if ac_fn_c_try_compile
"$LINENO"; then :
13659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 if test "$is_ppc" = "yes"; then
13667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13670 #if defined(__sparcv9) || defined(__arch64__)
13674 if ac_fn_c_try_compile
"$LINENO"; then :
13679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13680 if test "$is_sparc" = "yes"; then
13687 if test $is_386 = yes; then
13689 LIBGO_IS_386_FALSE
='#'
13691 LIBGO_IS_386_TRUE
='#'
13692 LIBGO_IS_386_FALSE
=
13695 if test $is_alpha = yes; then
13696 LIBGO_IS_ALPHA_TRUE
=
13697 LIBGO_IS_ALPHA_FALSE
='#'
13699 LIBGO_IS_ALPHA_TRUE
='#'
13700 LIBGO_IS_ALPHA_FALSE
=
13703 if test $is_arm = yes; then
13705 LIBGO_IS_ARM_FALSE
='#'
13707 LIBGO_IS_ARM_TRUE
='#'
13708 LIBGO_IS_ARM_FALSE
=
13711 if test $is_m68k = yes; then
13712 LIBGO_IS_M68K_TRUE
=
13713 LIBGO_IS_M68K_FALSE
='#'
13715 LIBGO_IS_M68K_TRUE
='#'
13716 LIBGO_IS_M68K_FALSE
=
13719 if test $mips_abi != unknown
; then
13720 LIBGO_IS_MIPS_TRUE
=
13721 LIBGO_IS_MIPS_FALSE
='#'
13723 LIBGO_IS_MIPS_TRUE
='#'
13724 LIBGO_IS_MIPS_FALSE
=
13727 if test $mips_abi = o32
; then
13728 LIBGO_IS_MIPSO32_TRUE
=
13729 LIBGO_IS_MIPSO32_FALSE
='#'
13731 LIBGO_IS_MIPSO32_TRUE
='#'
13732 LIBGO_IS_MIPSO32_FALSE
=
13735 if test $mips_abi = n32
; then
13736 LIBGO_IS_MIPSN32_TRUE
=
13737 LIBGO_IS_MIPSN32_FALSE
='#'
13739 LIBGO_IS_MIPSN32_TRUE
='#'
13740 LIBGO_IS_MIPSN32_FALSE
=
13743 if test $mips_abi = n64
; then
13744 LIBGO_IS_MIPSN64_TRUE
=
13745 LIBGO_IS_MIPSN64_FALSE
='#'
13747 LIBGO_IS_MIPSN64_TRUE
='#'
13748 LIBGO_IS_MIPSN64_FALSE
=
13751 if test $mips_abi = o64
; then
13752 LIBGO_IS_MIPSO64_TRUE
=
13753 LIBGO_IS_MIPSO64_FALSE
='#'
13755 LIBGO_IS_MIPSO64_TRUE
='#'
13756 LIBGO_IS_MIPSO64_FALSE
=
13759 if test $is_ppc = yes; then
13761 LIBGO_IS_PPC_FALSE
='#'
13763 LIBGO_IS_PPC_TRUE
='#'
13764 LIBGO_IS_PPC_FALSE
=
13767 if test $is_ppc64 = yes; then
13768 LIBGO_IS_PPC64_TRUE
=
13769 LIBGO_IS_PPC64_FALSE
='#'
13771 LIBGO_IS_PPC64_TRUE
='#'
13772 LIBGO_IS_PPC64_FALSE
=
13775 if test $is_sparc = yes; then
13776 LIBGO_IS_SPARC_TRUE
=
13777 LIBGO_IS_SPARC_FALSE
='#'
13779 LIBGO_IS_SPARC_TRUE
='#'
13780 LIBGO_IS_SPARC_FALSE
=
13783 if test $is_sparc64 = yes; then
13784 LIBGO_IS_SPARC64_TRUE
=
13785 LIBGO_IS_SPARC64_FALSE
='#'
13787 LIBGO_IS_SPARC64_TRUE
='#'
13788 LIBGO_IS_SPARC64_FALSE
=
13791 if test $is_x86_64 = yes; then
13792 LIBGO_IS_X86_64_TRUE
=
13793 LIBGO_IS_X86_64_FALSE
='#'
13795 LIBGO_IS_X86_64_TRUE
='#'
13796 LIBGO_IS_X86_64_FALSE
=
13801 GO_LIBCALL_OS_FILE
=
13802 GO_LIBCALL_OS_ARCH_FILE
=
13803 GO_SYSCALL_OS_FILE
=
13804 GO_SYSCALL_OS_ARCH_FILE
=
13805 if test -f ${srcdir}/go
/syscall
/libcall_
${GOOS}.go
; then
13806 GO_LIBCALL_OS_FILE
=go
/syscall
/libcall_
${GOOS}.go
13808 if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go
; then
13809 GO_LIBCALL_OS_ARCH_FILE
=go
/syscall
/libcall_
${GOOS}_
${GOARCH}.go
13811 if test -f ${srcdir}/go
/syscall
/syscall_
${GOOS}.go
; then
13812 GO_SYSCALL_OS_FILE
=go
/syscall
/syscall_
${GOOS}.go
13814 if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go
; then
13815 GO_SYSCALL_OS_ARCH_FILE
=go
/syscall
/syscall_
${GOOS}_
${GOARCH}.go
13822 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13825 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13826 # msghdr in <sys/socket.h>.
13827 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13830 # Solaris 8/9 need this so struct msghdr gets the msg_control
13831 # etc. fields in <sys/socket.h> (_XPG4_2).
13832 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__"
13834 *-*-solaris2.1
[01])
13835 # Solaris 10+ needs this so struct msghdr gets the msg_control
13836 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13837 # above doesn't work with C99.
13838 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13844 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13845 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13846 $as_echo_n "(cached) " >&6
13848 CFLAGS_hold
=$CFLAGS
13849 CFLAGS
="$CFLAGS -fsplit-stack"
13850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13854 if ac_fn_c_try_compile
"$LINENO"; then :
13855 libgo_cv_c_split_stack_supported
=yes
13857 libgo_cv_c_split_stack_supported
=no
13859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13860 CFLAGS
=$CFLAGS_hold
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13863 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13864 if test "$libgo_cv_c_split_stack_supported" = yes; then
13865 SPLIT_STACK
=-fsplit-stack
13867 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13873 if test "$libgo_cv_c_split_stack_supported" = yes; then
13874 USING_SPLIT_STACK_TRUE
=
13875 USING_SPLIT_STACK_FALSE
='#'
13877 USING_SPLIT_STACK_TRUE
='#'
13878 USING_SPLIT_STACK_FALSE
=
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13883 $as_echo_n "checking whether linker supports split stack... " >&6; }
13884 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13885 $as_echo_n "(cached) " >&6
13887 libgo_cv_c_linker_supports_split_stack
=no
13888 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13889 libgo_cv_c_linker_supports_split_stack
=yes
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13893 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13894 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13896 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13902 $as_echo_n "checking for sqrt in -lm... " >&6; }
13903 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13904 $as_echo_n "(cached) " >&6
13906 ac_check_lib_save_LIBS
=$LIBS
13908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13911 /* Override any GCC internal prototype to avoid an error.
13912 Use char because int might match the return type of a GCC
13913 builtin and then its argument prototype would still apply. */
13926 if ac_fn_c_try_link
"$LINENO"; then :
13927 ac_cv_lib_m_sqrt
=yes
13929 ac_cv_lib_m_sqrt
=no
13931 rm -f core conftest.err conftest.
$ac_objext \
13932 conftest
$ac_exeext conftest.
$ac_ext
13933 LIBS
=$ac_check_lib_save_LIBS
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13936 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13937 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13944 $as_echo_n "checking for socket libraries... " >&6; }
13945 if test "${libgo_cv_lib_sockets+set}" = set; then :
13946 $as_echo_n "(cached) " >&6
13948 libgo_cv_lib_sockets
=
13949 libgo_check_both
=no
13950 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13951 if test "x$ac_cv_func_connect" = x
""yes; then :
13952 libgo_check_socket
=no
13954 libgo_check_socket
=yes
13957 if test "$libgo_check_socket" = "yes"; then
13958 unset ac_cv_func_connect
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13960 $as_echo_n "checking for main in -lsocket... " >&6; }
13961 if test "${ac_cv_lib_socket_main+set}" = set; then :
13962 $as_echo_n "(cached) " >&6
13964 ac_check_lib_save_LIBS
=$LIBS
13965 LIBS
="-lsocket $LIBS"
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 ac_cv_lib_socket_main
=yes
13981 ac_cv_lib_socket_main
=no
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 LIBS
=$ac_check_lib_save_LIBS
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
13988 $as_echo "$ac_cv_lib_socket_main" >&6; }
13989 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
13990 libgo_cv_lib_sockets
="-lsocket"
13992 libgo_check_both
=yes
13996 if test "$libgo_check_both" = "yes"; then
13997 libgo_old_libs
=$LIBS
13998 LIBS
="$LIBS -lsocket -lnsl"
13999 unset ac_cv_func_accept
14000 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14001 if test "x$ac_cv_func_accept" = x
""yes; then :
14003 libgo_cv_lib_sockets
="-lsocket -lnsl"
14006 unset ac_cv_func_accept
14007 LIBS
=$libgo_old_libs
14009 unset ac_cv_func_gethostbyname
14010 libgo_old_libs
="$LIBS"
14011 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14012 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14016 $as_echo_n "checking for main in -lnsl... " >&6; }
14017 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14018 $as_echo_n "(cached) " >&6
14020 ac_check_lib_save_LIBS
=$LIBS
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14034 if ac_fn_c_try_link
"$LINENO"; then :
14035 ac_cv_lib_nsl_main
=yes
14037 ac_cv_lib_nsl_main
=no
14039 rm -f core conftest.err conftest.
$ac_objext \
14040 conftest
$ac_exeext conftest.
$ac_ext
14041 LIBS
=$ac_check_lib_save_LIBS
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14044 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14045 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14046 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14051 unset ac_cv_func_gethostbyname
14052 LIBS
=$libgo_old_libs
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14056 $as_echo "$libgo_cv_lib_sockets" >&6; }
14057 NET_LIBS
="$libgo_cv_lib_sockets"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14061 $as_echo_n "checking whether -pthread is supported... " >&6; }
14062 if test "${libgo_cv_lib_pthread+set}" = set; then :
14063 $as_echo_n "(cached) " >&6
14065 CFLAGS_hold
=$CFLAGS
14066 CFLAGS
="$CFLAGS -pthread"
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14071 if ac_fn_c_try_compile
"$LINENO"; then :
14072 libgo_cv_lib_pthread
=yes
14074 libgo_cv_lib_pthread
=no
14076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14077 CFLAGS
=$CFLAGS_hold
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14080 $as_echo "$libgo_cv_lib_pthread" >&6; }
14082 if test "$libgo_cv_lib_pthread" = yes; then
14083 PTHREAD_CFLAGS
=-pthread
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14089 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14090 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14091 $as_echo_n "(cached) " >&6
14093 ac_check_lib_save_LIBS
=$LIBS
14094 LIBS
="-lpthread $LIBS"
14095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14098 /* Override any GCC internal prototype to avoid an error.
14099 Use char because int might match the return type of a GCC
14100 builtin and then its argument prototype would still apply. */
14104 char pthread_create ();
14108 return pthread_create ();
14113 if ac_fn_c_try_link
"$LINENO"; then :
14114 ac_cv_lib_pthread_pthread_create
=yes
14116 ac_cv_lib_pthread_pthread_create
=no
14118 rm -f core conftest.err conftest.
$ac_objext \
14119 conftest
$ac_exeext conftest.
$ac_ext
14120 LIBS
=$ac_check_lib_save_LIBS
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14123 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14124 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14125 PTHREAD_LIBS
=-lpthread
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14131 $as_echo_n "checking for library containing sched_yield... " >&6; }
14132 if test "${ac_cv_search_sched_yield+set}" = set; then :
14133 $as_echo_n "(cached) " >&6
14135 ac_func_search_save_LIBS
=$LIBS
14136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14139 /* Override any GCC internal prototype to avoid an error.
14140 Use char because int might match the return type of a GCC
14141 builtin and then its argument prototype would still apply. */
14145 char sched_yield ();
14149 return sched_yield ();
14154 for ac_lib
in '' rt
; do
14155 if test -z "$ac_lib"; then
14156 ac_res
="none required"
14159 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14161 if ac_fn_c_try_link
"$LINENO"; then :
14162 ac_cv_search_sched_yield
=$ac_res
14164 rm -f core conftest.err conftest.
$ac_objext \
14166 if test "${ac_cv_search_sched_yield+set}" = set; then :
14170 if test "${ac_cv_search_sched_yield+set}" = set; then :
14173 ac_cv_search_sched_yield
=no
14175 rm conftest.
$ac_ext
14176 LIBS
=$ac_func_search_save_LIBS
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14179 $as_echo "$ac_cv_search_sched_yield" >&6; }
14180 ac_res
=$ac_cv_search_sched_yield
14181 if test "$ac_res" != no
; then :
14182 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14188 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14189 if test "${ac_cv_c_bigendian+set}" = set; then :
14190 $as_echo_n "(cached) " >&6
14192 ac_cv_c_bigendian
=unknown
14193 # See if we're dealing with a universal compiler.
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 #ifndef __APPLE_CC__
14197 not a universal capable compiler
14202 if ac_fn_c_try_compile
"$LINENO"; then :
14204 # Check for potential -arch flags. It is not universal unless
14205 # there are at least two -arch flags with different values.
14208 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14209 if test -n "$ac_prev"; then
14211 i?
86 | x86_64 | ppc | ppc64
)
14212 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14215 ac_cv_c_bigendian
=universal
14221 elif test "x$ac_word" = "x-arch"; then
14226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14227 if test $ac_cv_c_bigendian = unknown
; then
14228 # See if sys/param.h defines the BYTE_ORDER macro.
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 #include <sys/types.h>
14232 #include <sys/param.h>
14237 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14238 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14240 bogus endian macros
14247 if ac_fn_c_try_compile
"$LINENO"; then :
14248 # It does; now see whether it defined to BIG_ENDIAN or not.
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14251 #include <sys/types.h>
14252 #include <sys/param.h>
14257 #if BYTE_ORDER != BIG_ENDIAN
14265 if ac_fn_c_try_compile
"$LINENO"; then :
14266 ac_cv_c_bigendian
=yes
14268 ac_cv_c_bigendian
=no
14270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14274 if test $ac_cv_c_bigendian = unknown
; then
14275 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14278 #include <limits.h>
14283 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14284 bogus endian macros
14291 if ac_fn_c_try_compile
"$LINENO"; then :
14292 # It does; now see whether it defined to _BIG_ENDIAN or not.
14293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 #include <limits.h>
14300 #ifndef _BIG_ENDIAN
14308 if ac_fn_c_try_compile
"$LINENO"; then :
14309 ac_cv_c_bigendian
=yes
14311 ac_cv_c_bigendian
=no
14313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14317 if test $ac_cv_c_bigendian = unknown
; then
14318 # Compile a test program.
14319 if test "$cross_compiling" = yes; then :
14320 # Try to guess by grepping values from an object file.
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 short int ascii_mm[] =
14324 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14325 short int ascii_ii[] =
14326 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14327 int use_ascii (int i) {
14328 return ascii_mm[i] + ascii_ii[i];
14330 short int ebcdic_ii[] =
14331 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14332 short int ebcdic_mm[] =
14333 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14334 int use_ebcdic (int i) {
14335 return ebcdic_mm[i] + ebcdic_ii[i];
14342 return use_ascii (foo) == use_ebcdic (foo);
14347 if ac_fn_c_try_compile
"$LINENO"; then :
14348 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14349 ac_cv_c_bigendian
=yes
14351 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14352 if test "$ac_cv_c_bigendian" = unknown
; then
14353 ac_cv_c_bigendian
=no
14355 # finding both strings is unlikely to happen, but who knows?
14356 ac_cv_c_bigendian
=unknown
14360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 $ac_includes_default
14369 /* Are we little or big endian? From Harbison&Steele. */
14373 char c[sizeof (long int)];
14376 return u.c[sizeof (long int) - 1] == 1;
14382 if ac_fn_c_try_run
"$LINENO"; then :
14383 ac_cv_c_bigendian
=no
14385 ac_cv_c_bigendian
=yes
14387 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14388 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14394 $as_echo "$ac_cv_c_bigendian" >&6; }
14395 case $ac_cv_c_bigendian in #(
14397 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14403 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14407 as_fn_error
"unknown endianness
14408 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14414 # Check whether --with-system-libunwind was given.
14415 if test "${with_system_libunwind+set}" = set; then :
14416 withval
=$with_system_libunwind;
14419 # If system-libunwind was not specifically set, pick a default setting.
14420 if test x
$with_system_libunwind = x
; then
14422 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14423 *) with_system_libunwind
=no
;;
14426 # Based on system-libunwind and target, do we have ipinfo?
14427 if test x
$with_system_libunwind = xyes
; then
14429 ia64-
*-*) have_unwind_getipinfo
=no
;;
14430 *) have_unwind_getipinfo
=yes ;;
14433 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14436 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14437 *) have_unwind_getipinfo
=yes ;;
14442 if test x
$have_unwind_getipinfo = xyes
; then
14444 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14449 # Check whether --enable-sjlj-exceptions was given.
14450 if test "${enable_sjlj_exceptions+set}" = set; then :
14451 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14453 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14456 enable_sjlj_exceptions
=auto
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14461 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14462 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14463 $as_echo_n "(cached) " >&6
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14469 void clean (int *);
14472 int i __attribute__ ((cleanup (clean)));
14477 CFLAGS_hold
=$CFLAGS
14478 CFLAGS
="--save-temps -fexceptions"
14479 libgo_cv_lib_sjlj_exceptions
=unknown
14480 if ac_fn_c_try_compile
; then :
14481 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14482 libgo_cv_lib_sjlj_exceptions
=yes
14483 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14484 libgo_cv_lib_sjlj_exceptions
=no
14487 CFLAGS
=$CFLAGS_hold
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14492 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14494 if test "$enable_sjlj_exceptions" = "auto"; then
14495 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14498 case $enable_sjlj_exceptions in
14501 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14507 as_fn_error
"unable to detect exception model" "$LINENO" 5
14511 for ac_header
in sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h net
/if_arp.h net
/route.h netpacket
/packet.h sys
/prctl.h sys
/mount.h sys
/vfs.h sys
/statfs.h sys
/timex.h sys
/sysinfo.h utime.h linux
/ether.h linux
/fs.h linux
/reboot.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
14513 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14514 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14515 eval as_val
=\$
$as_ac_Header
14516 if test "x$as_val" = x
""yes; then :
14517 cat >>confdefs.h
<<_ACEOF
14518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14526 for ac_header
in linux
/filter.h linux
/if_addr.h linux
/if_ether.h linux
/if_tun.h linux
/netlink.h linux
/rtnetlink.h
14528 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14529 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14530 #include <sys/socket.h>
14534 eval as_val
=\$
$as_ac_Header
14535 if test "x$as_val" = x
""yes; then :
14536 cat >>confdefs.h
<<_ACEOF
14537 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14546 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14547 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14548 $as_echo_n "(cached) " >&6
14550 CFLAGS_hold
=$CFLAGS
14551 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14555 #include <sys/types.h>
14556 #ifdef HAVE_LINUX_FILTER_H
14557 #include <linux/filter.h>
14562 if ac_fn_c_try_compile
"$LINENO"; then :
14563 libgo_cv_c_ustat_h
=yes
14565 libgo_cv_c_ustat_h
=no
14567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14568 CFLAGS
=$CFLAGS_hold
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14571 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14572 if test $libgo_cv_c_ustat_h = yes; then
14574 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14578 if test "$ac_cv_header_sys_mman_h" = yes; then
14579 HAVE_SYS_MMAN_H_TRUE
=
14580 HAVE_SYS_MMAN_H_FALSE
='#'
14582 HAVE_SYS_MMAN_H_TRUE
='#'
14583 HAVE_SYS_MMAN_H_FALSE
=
14587 for ac_func
in strerror_r strsignal wait4 mincore setenv
14589 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14590 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14591 eval as_val
=\$
$as_ac_var
14592 if test "x$as_val" = x
""yes; then :
14593 cat >>confdefs.h
<<_ACEOF
14594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14600 if test "$ac_cv_func_strerror_r" = yes; then
14601 HAVE_STRERROR_R_TRUE
=
14602 HAVE_STRERROR_R_FALSE
='#'
14604 HAVE_STRERROR_R_TRUE
='#'
14605 HAVE_STRERROR_R_FALSE
=
14608 if test "$ac_cv_func_wait4" = yes; then
14610 HAVE_WAIT4_FALSE
='#'
14612 HAVE_WAIT4_TRUE
='#'
14617 for ac_func
in epoll_create1 faccessat fallocate fchmodat fchownat futimesat inotify_add_watch inotify_init inotify_init1 inotify_rm_watch mkdirat mknodat openat renameat sync_file_range splice
tee unlinkat unshare
14619 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14620 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14621 eval as_val
=\$
$as_ac_var
14622 if test "x$as_val" = x
""yes; then :
14623 cat >>confdefs.h
<<_ACEOF
14624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14630 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14631 if test "x$ac_cv_type_off_t" = x
""yes; then :
14635 cat >>confdefs.h
<<_ACEOF
14636 #define off_t long int
14641 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14642 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14644 cat >>confdefs.h
<<_ACEOF
14645 #define HAVE_LOFF_T 1
14654 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14656 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14657 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14658 eval as_val
=\$
$as_ac_var
14659 if test "x$as_val" = x
""yes; then :
14660 cat >>confdefs.h
<<_ACEOF
14661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14669 CFLAGS_hold
="$CFLAGS"
14670 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14672 LIBS
="$LIBS $PTHREAD_LIBS"
14673 for ac_func
in sem_timedwait
14675 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14676 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14677 cat >>confdefs.h
<<_ACEOF
14678 #define HAVE_SEM_TIMEDWAIT 1
14684 CFLAGS
="$CFLAGS_hold"
14688 LIBS
="$LIBS $MATH_LIBS"
14689 for ac_func
in matherr
14691 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14692 if test "x$ac_cv_func_matherr" = x
""yes; then :
14693 cat >>confdefs.h
<<_ACEOF
14694 #define HAVE_MATHERR 1
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14703 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14704 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14705 $as_echo_n "(cached) " >&6
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14712 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14715 if ac_fn_c_try_link
"$LINENO"; then :
14716 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14718 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14720 rm -f core conftest.err conftest.
$ac_objext \
14721 conftest
$ac_exeext conftest.
$ac_ext
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14724 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14725 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14727 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14732 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14733 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14734 $as_echo_n "(cached) " >&6
14736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14741 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14744 if ac_fn_c_try_link
"$LINENO"; then :
14745 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14747 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14749 rm -f core conftest.err conftest.
$ac_objext \
14750 conftest
$ac_exeext conftest.
$ac_ext
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14753 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14754 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14756 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14761 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14762 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14763 $as_echo_n "(cached) " >&6
14765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14770 int main() { return __sync_fetch_and_add (&i, 1); }
14773 if ac_fn_c_try_link
"$LINENO"; then :
14774 libgo_cv_func___sync_fetch_and_add_4
=yes
14776 libgo_cv_func___sync_fetch_and_add_4
=no
14778 rm -f core conftest.err conftest.
$ac_objext \
14779 conftest
$ac_exeext conftest.
$ac_ext
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14782 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14783 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14785 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14790 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14791 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14792 $as_echo_n "(cached) " >&6
14794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14799 int main() { return __sync_add_and_fetch (&i, 1); }
14802 if ac_fn_c_try_link
"$LINENO"; then :
14803 libgo_cv_func___sync_add_and_fetch_8
=yes
14805 libgo_cv_func___sync_add_and_fetch_8
=no
14807 rm -f core conftest.err conftest.
$ac_objext \
14808 conftest
$ac_exeext conftest.
$ac_ext
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14811 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14812 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
14814 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14819 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14820 if test "${libgo_cv_c_stringops+set}" = set; then :
14821 $as_echo_n "(cached) " >&6
14823 CFLAGS_hold
=$CFLAGS
14824 CFLAGS
="$CFLAGS -minline-all-stringops"
14825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14829 if ac_fn_c_try_compile
"$LINENO"; then :
14830 libgo_cv_c_stringops
=yes
14832 libgo_cv_c_stringops
=no
14834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 CFLAGS
=$CFLAGS_hold
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14838 $as_echo "$libgo_cv_c_stringops" >&6; }
14840 if test "$libgo_cv_c_stringops" = yes; then
14841 STRINGOPS_FLAG
=-minline-all-stringops
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
14846 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
14847 if test "${libgo_cv_c_fancymath+set}" = set; then :
14848 $as_echo_n "(cached) " >&6
14850 CFLAGS_hold
=$CFLAGS
14851 CFLAGS
="$CFLAGS -mfancy-math-387"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14856 if ac_fn_c_try_compile
"$LINENO"; then :
14857 libgo_cv_c_fancymath
=yes
14859 libgo_cv_c_fancymath
=no
14861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14862 CFLAGS
=$CFLAGS_hold
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
14865 $as_echo "$libgo_cv_c_fancymath" >&6; }
14867 if test "$libgo_cv_c_fancymath" = yes; then
14868 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
14872 CFLAGS_hold
=$CFLAGS
14873 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14874 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14875 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14877 cat >>confdefs.h
<<_ACEOF
14878 #define HAVE_OFF64_T 1
14884 CFLAGS
=$CFLAGS_hold
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
14887 $as_echo_n "checking epoll_event size... " >&6; }
14888 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
14889 $as_echo_n "(cached) " >&6
14891 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
14894 libgo_cv_c_epoll_event_size
=0
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
14899 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
14900 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
14904 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
14905 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
14906 $as_echo_n "(cached) " >&6
14908 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
14909 #include <sys/epoll.h>"; then :
14912 libgo_cv_c_epoll_event_fd_offset
=0
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
14917 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
14918 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
14921 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
14923 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
14924 libgo_has_struct_exception
=yes
14926 libgo_has_struct_exception
=no
14929 if test "$libgo_has_struct_exception" = "yes"; then
14931 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
14936 sparc
*-*-solaris2.
[89]*)
14937 libgo_cv_lib_makecontext_stack_top
=yes
14940 libgo_cv_lib_makecontext_stack_top
=no
14943 if test "$libgo_cv_lib_makecontext_stack_top" = "yes"; then
14945 $as_echo "#define MAKECONTEXT_STACK_TOP 1" >>confdefs.h
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
14950 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
14951 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
14952 $as_echo_n "(cached) " >&6
14954 CFLAGS_hold
="$CFLAGS"
14955 CFLAGS
="$PTHREAD_CFLAGS"
14957 LIBS
="$LIBS $PTHREAD_LIBS"
14958 # The cast to long int works around a bug in the HP C Compiler
14959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14961 # This bug is HP SR number 8606223364.
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14963 $as_echo_n "checking size of void *... " >&6; }
14964 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14965 $as_echo_n "(cached) " >&6
14967 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14970 if test "$ac_cv_type_void_p" = yes; then
14971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14973 { as_fn_set_status
77
14974 as_fn_error
"cannot compute sizeof (void *)
14975 See \`config.log' for more details." "$LINENO" 5; }; }
14977 ac_cv_sizeof_void_p
=0
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14983 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14987 cat >>confdefs.h
<<_ACEOF
14988 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14992 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
14993 if test "$cross_compiling" = yes; then :
14994 case "$target:$ptr_type_size" in
14995 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
14996 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
14998 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15005 #include <pthread.h>
15006 #include <stdlib.h>
15007 #include <ucontext.h>
15008 #include <unistd.h>
15012 static char stack[10 * 1024 * 1024];
15013 static ucontext_t c;
15015 /* Called via makecontext/setcontext. */
15023 /* Called via pthread_create. */
15028 /* The thread should still see this value after calling
15034 /* The call to setcontext should not return. */
15043 /* The thread should not see this value. */
15046 if (getcontext (&c) < 0)
15049 c.uc_stack.ss_sp = stack;
15050 #ifdef MAKECONTEXT_STACK_TOP
15051 c.uc_stack.ss_sp += sizeof stack;
15053 c.uc_stack.ss_flags = 0;
15054 c.uc_stack.ss_size = sizeof stack;
15056 makecontext (&c, cfn, 0);
15058 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15061 if (pthread_join (tid, NULL) != 0)
15064 /* The thread should have called exit. */
15069 if ac_fn_c_try_run
"$LINENO"; then :
15070 libgo_cv_lib_setcontext_clobbers_tls
=no
15072 libgo_cv_lib_setcontext_clobbers_tls
=yes
15074 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15075 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15078 CFLAGS
="$CFLAGS_hold"
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15083 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15084 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15086 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15090 cat >confcache
<<\_ACEOF
15091 # This file is a shell script that caches the results of configure
15092 # tests run on this system so they can be shared between configure
15093 # scripts and configure runs, see configure's option --config-cache.
15094 # It is not useful on other systems. If it contains results you don't
15095 # want to keep, you may remove or edit it.
15097 # config.status only pays attention to the cache file if you give it
15098 # the --recheck option to rerun configure.
15100 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15101 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15102 # following values.
15106 # The following way of writing the cache mishandles newlines in values,
15107 # but we know of no workaround that is simple, portable, and efficient.
15108 # So, we kill variables containing newlines.
15109 # Ultrix sh set writes to stderr and can't be redirected directly,
15110 # and sets the high bit in the cache file unless we assign to the vars.
15112 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15113 eval ac_val
=\$
$ac_var
15117 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15118 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15121 _ | IFS | as_nl
) ;; #(
15122 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15123 *) { eval $ac_var=; unset $ac_var;} ;;
15129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15130 *${as_nl}ac_space
=\
*)
15131 # `set' does not quote correctly, so add quotes: double-quote
15132 # substitution turns \\\\ into \\, and sed turns \\ into \.
15135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15138 # `set' quotes correctly as required by POSIX, so do not add quotes.
15139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15152 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15153 if test -w "$cache_file"; then
15154 test "x$cache_file" != "x/dev/null" &&
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15156 $as_echo "$as_me: updating cache $cache_file" >&6;}
15157 cat confcache
>$cache_file
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15160 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15165 if test ${multilib} = yes; then
15166 multilib_arg
="--enable-multilib"
15171 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15174 ac_config_commands
="$ac_config_commands default"
15177 cat >confcache
<<\_ACEOF
15178 # This file is a shell script that caches the results of configure
15179 # tests run on this system so they can be shared between configure
15180 # scripts and configure runs, see configure's option --config-cache.
15181 # It is not useful on other systems. If it contains results you don't
15182 # want to keep, you may remove or edit it.
15184 # config.status only pays attention to the cache file if you give it
15185 # the --recheck option to rerun configure.
15187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15189 # following values.
15193 # The following way of writing the cache mishandles newlines in values,
15194 # but we know of no workaround that is simple, portable, and efficient.
15195 # So, we kill variables containing newlines.
15196 # Ultrix sh set writes to stderr and can't be redirected directly,
15197 # and sets the high bit in the cache file unless we assign to the vars.
15199 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15200 eval ac_val
=\$
$ac_var
15204 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15208 _ | IFS | as_nl
) ;; #(
15209 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15210 *) { eval $ac_var=; unset $ac_var;} ;;
15216 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15217 *${as_nl}ac_space
=\
*)
15218 # `set' does not quote correctly, so add quotes: double-quote
15219 # substitution turns \\\\ into \\, and sed turns \\ into \.
15222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15225 # `set' quotes correctly as required by POSIX, so do not add quotes.
15226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15235 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15237 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15239 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15240 if test -w "$cache_file"; then
15241 test "x$cache_file" != "x/dev/null" &&
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15243 $as_echo "$as_me: updating cache $cache_file" >&6;}
15244 cat confcache
>$cache_file
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15252 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15253 # Let make expand exec_prefix.
15254 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15256 DEFS
=-DHAVE_CONFIG_H
15260 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15261 # 1. Remove the extension, and $U if already installed.
15262 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15263 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15264 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15265 # will be set to the directory where LIBOBJS objects are built.
15266 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15267 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15269 LIBOBJS
=$ac_libobjs
15271 LTLIBOBJS
=$ac_ltlibobjs
15274 if test -n "$EXEEXT"; then
15276 am__EXEEXT_FALSE
='#'
15278 am__EXEEXT_TRUE
='#'
15282 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15283 as_fn_error
"conditional \"AMDEP\" was never defined.
15284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15286 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15287 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15290 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15291 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15294 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15295 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15298 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15299 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15302 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15303 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15306 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15307 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15310 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15311 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15314 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15315 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15318 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15319 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15322 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15323 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15326 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15327 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15330 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15331 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15334 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15335 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15338 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15339 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15342 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15343 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15346 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15347 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15350 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15351 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15354 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15355 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15358 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15359 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15362 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15363 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15366 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15367 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15370 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15371 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15374 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15375 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15378 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15379 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15383 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15384 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15387 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15388 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15391 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15392 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15396 : ${CONFIG_STATUS=./config.status}
15398 ac_clean_files_save
=$ac_clean_files
15399 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15401 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15403 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15405 # Generated by $as_me.
15406 # Run this file to recreate the current configuration.
15407 # Compiler output produced by configure, useful for debugging
15408 # configure, is in config.log if it exists.
15411 ac_cs_recheck=false
15414 SHELL=\${CONFIG_SHELL-$SHELL}
15417 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15418 ## -------------------- ##
15419 ## M4sh Initialization. ##
15420 ## -------------------- ##
15422 # Be more Bourne compatible
15423 DUALCASE
=1; export DUALCASE
# for MKS sh
15424 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15427 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15428 # is contrary to our usage. Disable this feature.
15429 alias -g '${1+"$@"}'='"$@"'
15430 setopt NO_GLOB_SUBST
15432 case `(set -o) 2>/dev/null` in #(
15444 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15445 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15448 # Prefer a ksh shell builtin over an external printf program on Solaris,
15449 # but without wasting forks for bash or zsh.
15450 if test -z "$BASH_VERSION$ZSH_VERSION" \
15451 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15452 as_echo='print
-r --'
15453 as_echo_n='print
-rn --'
15454 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15455 as_echo='printf %s
\n'
15456 as_echo_n='printf %s
'
15458 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15459 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15460 as_echo_n='/usr
/ucb
/echo -n'
15462 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15463 as_echo_n_body='eval
15467 expr "X$arg" : "X\\(.*\\)$as_nl";
15468 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15470 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15472 export as_echo_n_body
15473 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15475 export as_echo_body
15476 as_echo='sh
-c $as_echo_body as_echo
'
15479 # The user is always right.
15480 if test "${PATH_SEPARATOR+set}" != set; then
15482 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15483 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15490 # We need space, tab and new line, in precisely that order. Quoting is
15491 # there to prevent editors from complaining about space-tab.
15492 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15493 # splitting by setting IFS to empty value.)
15496 # Find who we are. Look in the path if we contain no directory separator.
15498 *[\\/]* ) as_myself=$0 ;;
15499 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15500 for as_dir in $PATH
15503 test -z "$as_dir" && as_dir=.
15504 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15510 # We did not find ourselves, most probably we were run as `sh COMMAND'
15511 # in which case we are not to be found in the path.
15512 if test "x$as_myself" = x
; then
15515 if test ! -f "$as_myself"; then
15516 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15520 # Unset variables that we do not need and which cause bugs (e.g. in
15521 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15522 # suppresses any "Segmentation fault" message there. '((' could
15523 # trigger a bug in pdksh 5.2.14.
15524 for as_var
in BASH_ENV ENV MAIL MAILPATH
15525 do eval test x\
${$as_var+set} = xset \
15526 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15539 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15542 # as_fn_error ERROR [LINENO LOG_FD]
15543 # ---------------------------------
15544 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15545 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15546 # script with status $?, using 1 if that was 0.
15549 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15551 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15552 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15554 $as_echo "$as_me: error: $1" >&2
15555 as_fn_exit
$as_status
15559 # as_fn_set_status STATUS
15560 # -----------------------
15561 # Set $? to STATUS, without forking.
15562 as_fn_set_status
()
15565 } # as_fn_set_status
15567 # as_fn_exit STATUS
15568 # -----------------
15569 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15573 as_fn_set_status
$1
15579 # Portably unset VAR.
15582 { eval $1=; unset $1;}
15584 as_unset
=as_fn_unset
15585 # as_fn_append VAR VALUE
15586 # ----------------------
15587 # Append the text in VALUE to the end of the definition contained in VAR. Take
15588 # advantage of any shell optimizations that allow amortized linear growth over
15589 # repeated appends, instead of the typical quadratic growth present in naive
15591 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15592 eval 'as_fn_append ()
15603 # as_fn_arith ARG...
15604 # ------------------
15605 # Perform arithmetic evaluation on the ARGs, and store the result in the
15606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15607 # must be portable across $(()) and expr.
15608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15609 eval 'as_fn_arith ()
15616 as_val
=`expr "$@" || test $? -eq 1`
15621 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15622 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15628 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15629 as_basename
=basename
15634 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15640 as_me
=`$as_basename -- "$0" ||
15641 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15642 X"$0" : 'X\(//\)$' \| \
15643 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15645 sed '/^.*\/\([^/][^/]*\)\/*$/{
15659 # Avoid depending upon Character Ranges.
15660 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15661 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15662 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15663 as_cr_digits
='0123456789'
15664 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15666 ECHO_C
= ECHO_N
= ECHO_T
=
15667 case `echo -n x` in #(((((
15669 case `echo 'xy\c'` in
15670 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15672 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15679 rm -f conf$$ conf$$.exe conf$$.
file
15680 if test -d conf$$.dir
; then
15681 rm -f conf$$.dir
/conf$$.
file
15684 mkdir conf$$.dir
2>/dev
/null
15686 if (echo >conf$$.
file) 2>/dev
/null
; then
15687 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15689 # ... but there are two gotchas:
15690 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15691 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15692 # In both cases, we have to default to `cp -p'.
15693 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15695 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15703 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15704 rmdir conf$$.dir
2>/dev
/null
15709 # Create "$as_dir" as a directory, including parents if necessary.
15714 -*) as_dir
=.
/$as_dir;;
15716 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15720 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15721 *) as_qdir
=$as_dir;;
15723 as_dirs
="'$as_qdir' $as_dirs"
15724 as_dir
=`$as_dirname -- "$as_dir" ||
15725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15726 X"$as_dir" : 'X\(//\)[^/]' \| \
15727 X"$as_dir" : 'X\(//\)$' \| \
15728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15729 $as_echo X"$as_dir" |
15730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15734 /^X\(\/\/\)[^/].*/{
15747 test -d "$as_dir" && break
15749 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15750 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15754 if mkdir
-p .
2>/dev
/null
; then
15755 as_mkdir_p
='mkdir -p "$as_dir"'
15757 test -d .
/-p && rmdir .
/-p
15761 if test -x / >/dev
/null
2>&1; then
15762 as_test_x
='test -x'
15764 if ls -dL / >/dev
/null
2>&1; then
15771 if test -d "$1"; then
15777 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15778 ???[sx]*):;;*)false;;esac;fi
15782 as_executable_p
=$as_test_x
15784 # Sed expression to map a string onto a valid CPP name.
15785 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15787 # Sed expression to map a string onto a valid variable name.
15788 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15792 ## ----------------------------------- ##
15793 ## Main body of $CONFIG_STATUS script. ##
15794 ## ----------------------------------- ##
15796 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15799 # Save the log message, to keep $0 and so on meaningful, and to
15800 # report actual input values of CONFIG_FILES etc. instead of their
15801 # values after options handling.
15803 This file was extended by package-unused $as_me version-unused, which was
15804 generated by GNU Autoconf 2.64. Invocation command line was
15806 CONFIG_FILES = $CONFIG_FILES
15807 CONFIG_HEADERS = $CONFIG_HEADERS
15808 CONFIG_LINKS = $CONFIG_LINKS
15809 CONFIG_COMMANDS = $CONFIG_COMMANDS
15812 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15817 case $ac_config_files in *"
15818 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15821 case $ac_config_headers in *"
15822 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15827 # Files that config.status was made for.
15828 config_files="$ac_config_files"
15829 config_headers="$ac_config_headers"
15830 config_commands="$ac_config_commands"
15834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15836 \`$as_me' instantiates files and other configuration actions
15837 from templates according to the current configuration. Unless the files
15838 and actions are specified as TAGs, all are instantiated by default.
15840 Usage: $0 [OPTION]... [TAG]...
15842 -h, --help print this help, then exit
15843 -V, --version print version number and configuration settings, then exit
15844 -q, --quiet, --silent
15845 do not print progress messages
15846 -d, --debug don't remove temporary files
15847 --recheck update $as_me by reconfiguring in the same conditions
15848 --file=FILE[:TEMPLATE]
15849 instantiate the configuration file FILE
15850 --header=FILE[:TEMPLATE]
15851 instantiate the configuration header FILE
15853 Configuration files:
15856 Configuration headers:
15859 Configuration commands:
15862 Report bugs to the package provider."
15865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15867 package-unused config.status version-unused
15868 configured by $0, generated by GNU Autoconf 2.64,
15869 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15871 Copyright (C) 2009 Free Software Foundation, Inc.
15872 This config.status script is free software; the Free Software Foundation
15873 gives unlimited permission to copy, distribute and modify it."
15880 test -n "\$AWK" || AWK=awk
15883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15884 # The default lists apply if the user does not specify any file.
15890 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15891 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15902 # Handling of the options.
15903 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15905 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15906 $as_echo "$ac_cs_version"; exit ;;
15907 --debug |
--debu |
--deb |
--de |
--d |
-d )
15909 --file |
--fil |
--fi |
--f )
15912 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15914 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15915 ac_need_defaults
=false
;;
15916 --header |
--heade |
--head |
--hea )
15919 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15921 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15922 ac_need_defaults
=false
;;
15924 # Conflict between --help and --header
15925 as_fn_error
"ambiguous option: \`$1'
15926 Try \`$0 --help' for more information.";;
15927 --help |
--hel |
-h )
15928 $as_echo "$ac_cs_usage"; exit ;;
15929 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15930 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15933 # This is an error.
15934 -*) as_fn_error
"unrecognized option: \`$1'
15935 Try \`$0 --help' for more information." ;;
15937 *) as_fn_append ac_config_targets
" $1"
15938 ac_need_defaults
=false
;;
15944 ac_configure_extra_args
=
15946 if $ac_cs_silent; then
15948 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15953 if \$ac_cs_recheck; then
15954 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15956 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15957 CONFIG_SHELL='$SHELL'
15958 export CONFIG_SHELL
15963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15968 ## Running $as_me. ##
15974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15982 with_multisubdir="$with_multisubdir"
15983 with_multisrctop="$with_multisrctop"
15984 with_target_subdir="$with_target_subdir"
15985 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15986 multi_basedir="$multi_basedir"
15987 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15990 GFORTRAN="$GFORTRAN"
15992 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15995 # The HP-UX ksh and POSIX shell print the target directory to stdout
15996 # if CDPATH is set.
15997 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15999 sed_quote_subst='$sed_quote_subst'
16000 double_quote_subst='$double_quote_subst'
16001 delay_variable_subst='$delay_variable_subst'
16002 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16003 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16004 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16005 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16006 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16007 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16008 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16009 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16010 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16011 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16012 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16013 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16014 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16015 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16016 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16017 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16018 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16019 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16020 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16021 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16022 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16023 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16024 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16025 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16026 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16027 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16028 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16029 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16030 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16031 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16032 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16033 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16034 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16035 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16036 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16037 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16038 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16039 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16040 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16041 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16042 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16043 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16044 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16045 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16046 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16047 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16048 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16049 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16050 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"`'
16051 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16052 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16053 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16054 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16055 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16056 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16057 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16058 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16059 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16060 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16061 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16062 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16063 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16064 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16065 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16066 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16067 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16068 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16069 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16070 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16071 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16072 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16073 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16074 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16075 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16076 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16077 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16078 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16079 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16080 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16081 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16082 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16083 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16084 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16085 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16086 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16087 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16088 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16089 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16090 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16091 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16092 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16093 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16094 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16095 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16096 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16097 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16098 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16099 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16100 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16101 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16102 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16103 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16104 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16105 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16106 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16107 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16108 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16109 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16110 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16111 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16112 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16113 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16114 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16115 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16116 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16117 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16118 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16119 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16120 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16121 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16122 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16123 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16124 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16125 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16126 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16127 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16128 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16129 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16130 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16131 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16132 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16133 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16134 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16135 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16136 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16137 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16138 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16139 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16140 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16141 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16142 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16143 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16144 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16145 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16146 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16147 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16148 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16149 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16150 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16151 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16152 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16153 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16154 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16155 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16156 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16157 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16158 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16159 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16160 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16161 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16162 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16163 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16164 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16167 LTCFLAGS='$LTCFLAGS'
16168 compiler='$compiler_DEFAULT'
16170 # A function that is used when there is no print builtin or printf.
16171 func_fallback_echo ()
16173 eval 'cat <<_LTECHO_EOF
16178 # Quote evaled strings.
16192 deplibs_check_method \
16201 lt_cv_sys_global_symbol_pipe \
16202 lt_cv_sys_global_symbol_to_cdecl \
16203 lt_cv_sys_global_symbol_to_c_name_address \
16204 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16205 lt_prog_compiler_no_builtin_flag \
16206 lt_prog_compiler_wl \
16207 lt_prog_compiler_pic \
16208 lt_prog_compiler_static \
16209 lt_cv_prog_compiler_c_o \
16217 export_dynamic_flag_spec \
16218 whole_archive_flag_spec \
16219 compiler_needs_object \
16221 allow_undefined_flag \
16222 no_undefined_flag \
16223 hardcode_libdir_flag_spec \
16224 hardcode_libdir_flag_spec_ld \
16225 hardcode_libdir_separator \
16230 variables_saved_for_relink \
16232 library_names_spec \
16234 install_override_mode \
16241 lt_prog_compiler_no_builtin_flag_GO \
16242 lt_prog_compiler_wl_GO \
16243 lt_prog_compiler_pic_GO \
16244 lt_prog_compiler_static_GO \
16245 lt_cv_prog_compiler_c_o_GO \
16246 export_dynamic_flag_spec_GO \
16247 whole_archive_flag_spec_GO \
16248 compiler_needs_object_GO \
16250 allow_undefined_flag_GO \
16251 no_undefined_flag_GO \
16252 hardcode_libdir_flag_spec_GO \
16253 hardcode_libdir_flag_spec_ld_GO \
16254 hardcode_libdir_separator_GO \
16255 fix_srcfile_path_GO \
16256 exclude_expsyms_GO \
16257 include_expsyms_GO \
16258 file_list_spec_GO; do
16259 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16260 *[\\\\\\\`\\"\\\$]*)
16261 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16264 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16269 # Double-quote double-evaled strings.
16270 for var in reload_cmds \
16271 old_postinstall_cmds \
16272 old_postuninstall_cmds \
16274 extract_expsyms_cmds \
16275 old_archive_from_new_cmds \
16276 old_archive_from_expsyms_cmds \
16278 archive_expsym_cmds \
16280 module_expsym_cmds \
16281 export_symbols_cmds \
16284 postuninstall_cmds \
16286 sys_lib_search_path_spec \
16287 sys_lib_dlsearch_path_spec \
16289 old_archive_cmds_GO \
16290 old_archive_from_new_cmds_GO \
16291 old_archive_from_expsyms_cmds_GO \
16293 archive_expsym_cmds_GO \
16295 module_expsym_cmds_GO \
16296 export_symbols_cmds_GO \
16297 prelink_cmds_GO; do
16298 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16299 *[\\\\\\\`\\"\\\$]*)
16300 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16303 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16308 ac_aux_dir='$ac_aux_dir'
16309 xsi_shell='$xsi_shell'
16310 lt_shell_append='$lt_shell_append'
16312 # See if we are running on zsh, and set the options which allow our
16313 # commands through without removal of \ escapes INIT.
16314 if test -n "\${ZSH_VERSION+set}" ; then
16315 setopt NO_GLOB_SUBST
16321 TIMESTAMP='$TIMESTAMP'
16330 # Variables needed in config.status (file generation) which aren't already
16331 # passed by autoconf.
16337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16339 # Handling of arguments.
16340 for ac_config_target
in $ac_config_targets
16342 case $ac_config_target in
16343 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16344 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16345 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16346 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16347 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16348 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16349 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16351 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16356 # If the user did not use the arguments to specify the items to instantiate,
16357 # then the envvar interface is used. Set only those that are not.
16358 # We use the long form for the default assignment because of an extremely
16359 # bizarre bug on SunOS 4.1.3.
16360 if $ac_need_defaults; then
16361 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16362 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16363 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16366 # Have a temporary directory for convenience. Make it in the build tree
16367 # simply because there is no reason against having it here, and in addition,
16368 # creating and moving files from /tmp can sometimes cause problems.
16369 # Hook for its removal unless debugging.
16370 # Note that there is a small window in which the directory will not be cleaned:
16371 # after its creation but before its name has been assigned to `$tmp'.
16375 trap 'exit_status=$?
16376 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16378 trap 'as_fn_exit 1' 1 2 13 15
16380 # Create a (secure) tmp directory for tmp files.
16383 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16384 test -n "$tmp" && test -d "$tmp"
16387 tmp
=.
/conf$$
-$RANDOM
16388 (umask 077 && mkdir
"$tmp")
16389 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16391 # Set up the scripts for CONFIG_FILES section.
16392 # No need to generate them if there are no CONFIG_FILES.
16393 # This happens for instance with `./config.status config.h'.
16394 if test -n "$CONFIG_FILES"; then
16397 ac_cr
=`echo X | tr X '\015'`
16398 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16399 # But we know of no other shell where ac_cr would be empty at this
16400 # point, so we can use a bashism as a fallback.
16401 if test "x$ac_cr" = x
; then
16402 eval ac_cr
=\$
\'\\r
\'
16404 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16408 ac_cs_awk_cr
=$ac_cr
16411 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16416 echo "cat >conf$$subs.awk <<_ACEOF" &&
16417 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16419 } >conf$$subs.sh ||
16420 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16421 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16423 for ac_last_try in false false false false false :; do
16424 . ./conf$$subs.sh ||
16425 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16427 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16428 if test $ac_delim_n = $ac_delim_num; then
16430 elif $ac_last_try; then
16431 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16433 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16436 rm -f conf$$subs.sh
16438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16439 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16443 s/^/S["/; s
/!.
*/"]=/
16453 s/\(.\{148\}\).*/\1/
16455 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16460 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16467 s/\(.\{148\}\).*/\1/
16469 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16473 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16478 ' <conf$$subs.awk | sed '
16483 ' >>$CONFIG_STATUS || ac_write_fail=1
16484 rm -f conf$$subs.awk
16485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16487 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16488 for (key in S) S_is_set[key] = 1
16494 nfields = split(line, field, "@
")
16496 len = length(field[1])
16497 for (i = 2; i < nfields; i++) {
16499 keylen = length(key)
16500 if (S_is_set[key]) {
16502 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16503 len += length(value) + length(field[++i])
16514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16515 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16516 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16519 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16520 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16523 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16524 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16525 # trailing colons and then remove the whole line if VPATH becomes empty
16526 # (actually we leave an empty line to preserve line numbers).
16527 if test "x
$srcdir" = x.; then
16528 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16529 s/:*\$(srcdir):*/:/
16530 s/:*\${srcdir}:*/:/
16532 s/^\([^=]*=[ ]*\):*/\1/
16538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16539 fi # test -n "$CONFIG_FILES"
16541 # Set up the scripts for CONFIG_HEADERS section.
16542 # No need to generate them if there are no CONFIG_HEADERS.
16543 # This happens for instance with `./config.status Makefile'.
16544 if test -n "$CONFIG_HEADERS"; then
16545 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16549 # Transform confdefs.h into an awk script `defines.awk', embedded as
16550 # here-document in config.status, that substitutes the proper values into
16551 # config.h.in to produce config.h.
16553 # Create a delimiter string that does not exist in confdefs.h, to ease
16554 # handling of long lines.
16556 for ac_last_try in false false :; do
16557 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16558 if test -z "$ac_t"; then
16560 elif $ac_last_try; then
16561 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16563 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16567 # For the awk script, D is an array of macro values keyed by name,
16568 # likewise P contains macro parameters if any. Preserve backslash
16569 # newline sequences.
16571 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16573 s/.\{148\}/&'"$ac_delim"'/g
16576 s/^[ ]*#[ ]*define[ ][ ]*/ /
16583 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16585 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16590 D["\
1"]=" \
3\\\\\\n
"\\/p
16592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16597 s/.\{148\}/&'"$ac_delim"'/g
16602 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16605 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16607 ' <confdefs.h | sed '
16608 s/'"$ac_delim"'/"\\\
16609 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16612 for (key in D) D_is_set[key] = 1
16615 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16617 split(line, arg, " ")
16618 if (arg[1] == "#") {
16622 defundef
= substr
(arg
[1], 2)
16625 split(mac1
, mac2
, "(") #)
16627 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16628 if (D_is_set
[macro
]) {
16629 # Preserve the white space surrounding the "#".
16630 print prefix
"define", macro P
[macro
] D
[macro
]
16633 # Replace #undef with comments. This is necessary, for example,
16634 # in the case of _POSIX_SOURCE, which is predefined and required
16635 # on some systems where configure will not decide to define it.
16636 if (defundef
== "undef") {
16637 print
"/*", prefix defundef
, macro
, "*/"
16645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16646 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16647 fi # test -n "$CONFIG_HEADERS"
16650 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16655 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16657 case $ac_mode$ac_tag in
16659 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16660 :[FH
]-) ac_tag
=-:-;;
16661 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16678 -) ac_f
="$tmp/stdin";;
16679 *) # Look for the file first in the build tree, then in the source tree
16680 # (if the path is not absolute). The absolute path cannot be DOS-style,
16681 # because $ac_f cannot contain `:'.
16685 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16687 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16689 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16690 as_fn_append ac_file_inputs
" '$ac_f'"
16693 # Let's still pretend it is `configure' which instantiates (i.e., don't
16694 # use $as_me), people would be surprised to read:
16695 # /* config.h. Generated by config.status. */
16696 configure_input
='Generated from '`
16697 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16699 if test x
"$ac_file" != x-
; then
16700 configure_input
="$ac_file. $configure_input"
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16702 $as_echo "$as_me: creating $ac_file" >&6;}
16704 # Neutralize special characters interpreted by sed in replacement strings.
16705 case $configure_input in #(
16706 *\
&* |
*\|
* |
*\\* )
16707 ac_sed_conf_input
=`$as_echo "$configure_input" |
16708 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16709 *) ac_sed_conf_input
=$configure_input;;
16713 *:-:* |
*:-) cat >"$tmp/stdin" \
16714 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16719 ac_dir
=`$as_dirname -- "$ac_file" ||
16720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16721 X"$ac_file" : 'X\(//\)[^/]' \| \
16722 X"$ac_file" : 'X\(//\)$' \| \
16723 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16724 $as_echo X"$ac_file" |
16725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16729 /^X\(\/\/\)[^/].*/{
16742 as_dir
="$ac_dir"; as_fn_mkdir_p
16746 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16748 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16749 # A ".." for each directory in $ac_dir_suffix.
16750 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16751 case $ac_top_builddir_sub in
16752 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16753 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16756 ac_abs_top_builddir
=$ac_pwd
16757 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16758 # for backward compatibility:
16759 ac_top_builddir
=$ac_top_build_prefix
16762 .
) # We are building in place.
16764 ac_top_srcdir
=$ac_top_builddir_sub
16765 ac_abs_top_srcdir
=$ac_pwd ;;
16766 [\\/]* | ?
:[\\/]* ) # Absolute name.
16767 ac_srcdir
=$srcdir$ac_dir_suffix;
16768 ac_top_srcdir
=$srcdir
16769 ac_abs_top_srcdir
=$srcdir ;;
16770 *) # Relative name.
16771 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16772 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16773 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16775 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16785 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16786 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16788 ac_MKDIR_P
=$MKDIR_P
16790 [\\/$
]* | ?
:[\\/]* ) ;;
16791 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16796 # If the template does not know about datarootdir, expand it.
16797 # FIXME: This hack should be removed a few years after 2.60.
16798 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16809 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16810 *datarootdir
*) ac_datarootdir_seen
=yes;;
16811 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16813 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16816 ac_datarootdir_hack='
16817 s&@datadir@&$datadir&g
16818 s&@docdir@&$docdir&g
16819 s&@infodir@&$infodir&g
16820 s&@localedir@&$localedir&g
16821 s&@mandir@&$mandir&g
16822 s&\\\${datarootdir}&$datarootdir&g' ;;
16826 # Neutralize VPATH when `$srcdir' = `.'.
16827 # Shell code in configure.ac might set extrasub.
16828 # FIXME: do we really want to maintain this feature?
16829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16830 ac_sed_extra="$ac_vpsub
16833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16835 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16836 s|@configure_input@|
$ac_sed_conf_input|
;t t
16837 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16838 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16839 s
&@srcdir@
&$ac_srcdir&;t t
16840 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16841 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16842 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16843 s
&@builddir@
&$ac_builddir&;t t
16844 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16845 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16846 s
&@INSTALL@
&$ac_INSTALL&;t t
16847 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16848 $ac_datarootdir_hack
16850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16851 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16854 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16857 which seems to be undefined. Please make sure it is defined." >&5
16858 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16859 which seems to be undefined. Please make sure it is defined." >&2;}
16863 -) cat "$tmp/out" && rm -f "$tmp/out";;
16864 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16866 || as_fn_error "could not create $ac_file" "$LINENO" 5
16872 if test x"$ac_file" != x-; then
16874 $as_echo "/* $configure_input */" \
16875 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16876 } >"$tmp/config.h" \
16877 || as_fn_error "could not create $ac_file" "$LINENO" 5
16878 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16880 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16883 mv "$tmp/config.h" "$ac_file" \
16884 || as_fn_error "could not create $ac_file" "$LINENO" 5
16887 $as_echo "/* $configure_input */" \
16888 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16889 || as_fn_error "could not create -" "$LINENO" 5
16891 # Compute "$ac_file"'s index
in $config_headers.
16894 for _am_header
in $config_headers :; do
16895 case $_am_header in
16896 $_am_arg |
$_am_arg:* )
16899 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16902 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16903 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16904 X"$_am_arg" : 'X\(//\)[^/]' \| \
16905 X"$_am_arg" : 'X\(//\)$' \| \
16906 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16907 $as_echo X"$_am_arg" |
16908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16912 /^X\(\/\/\)[^/].*/{
16924 s/.*/./; q'`/stamp-h
$_am_stamp_count
16927 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16928 $as_echo "$as_me: executing $ac_file commands" >&6;}
16933 case $ac_file$ac_mode in
16935 # Only add multilib support code if we just rebuilt the top-level
16937 case " $CONFIG_FILES " in
16939 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16942 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16943 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16944 # are listed without --file. Let's play safe and only enable the eval
16945 # if we detect the quoting.
16946 case $CONFIG_FILES in
16947 *\'*) eval set x
"$CONFIG_FILES" ;;
16948 *) set x
$CONFIG_FILES ;;
16953 # Strip MF so we end up with the name of the file.
16954 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16955 # Check whether this is an Automake generated Makefile or not.
16956 # We used to match only the files named `Makefile.in', but
16957 # some people rename them; so instead we look at the file content.
16958 # Grep'ing the first line is not enough: some people post-process
16959 # each Makefile.in and add a new line on top of each file to say so.
16960 # Grep'ing the whole file is not good either: AIX grep has a line
16961 # limit of 2048, but all sed's we know have understand at least 4000.
16962 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16963 dirpart
=`$as_dirname -- "$mf" ||
16964 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16965 X"$mf" : 'X\(//\)[^/]' \| \
16966 X"$mf" : 'X\(//\)$' \| \
16967 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16973 /^X\(\/\/\)[^/].*/{
16989 # Extract the definition of DEPDIR, am__include, and am__quote
16990 # from the Makefile without running `make'.
16991 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16992 test -z "$DEPDIR" && continue
16993 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16994 test -z "am__include" && continue
16995 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16996 # When using ansi2knr, U may be empty or an underscore; expand it
16997 U
=`sed -n 's/^U = //p' < "$mf"`
16998 # Find all dependency output files, they are included files with
16999 # $(DEPDIR) in their names. We invoke sed twice because it is the
17000 # simplest approach to changing $(DEPDIR) to its actual value in the
17002 for file in `sed -n "
17003 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17004 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17005 # Make sure the directory exists.
17006 test -f "$dirpart/$file" && continue
17007 fdir
=`$as_dirname -- "$file" ||
17008 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17009 X"$file" : 'X\(//\)[^/]' \| \
17010 X"$file" : 'X\(//\)$' \| \
17011 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17012 $as_echo X"$file" |
17013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17017 /^X\(\/\/\)[^/].*/{
17030 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17031 # echo "creating $dirpart/$file"
17032 echo '# dummy' > "$dirpart/$file"
17039 # See if we are running on zsh, and set the options which allow our
17040 # commands through without removal of \ escapes.
17041 if test -n "${ZSH_VERSION+set}" ; then
17042 setopt NO_GLOB_SUBST
17045 cfgfile
="${ofile}T"
17046 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17049 cat <<_LT_EOF >> "$cfgfile"
17052 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17053 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17054 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17055 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17057 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17058 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17059 # Written by Gordon Matzigkeit, 1996
17061 # This file is part of GNU Libtool.
17063 # GNU Libtool is free software; you can redistribute it and/or
17064 # modify it under the terms of the GNU General Public License as
17065 # published by the Free Software Foundation; either version 2 of
17066 # the License, or (at your option) any later version.
17068 # As a special exception to the GNU General Public License,
17069 # if you distribute this file as part of a program or library that
17070 # is built using GNU Libtool, you may include this file under the
17071 # same distribution terms that you use for the rest of that program.
17073 # GNU Libtool is distributed in the hope that it will be useful,
17074 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17075 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17076 # GNU General Public License for more details.
17078 # You should have received a copy of the GNU General Public License
17079 # along with GNU Libtool; see the file COPYING. If not, a copy
17080 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17081 # obtained by writing to the Free Software Foundation, Inc.,
17082 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17085 # The names of the tagged configurations supported by this script.
17086 available_tags="GO "
17088 # ### BEGIN LIBTOOL CONFIG
17090 # A sed program that does not truncate output.
17093 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17094 Xsed="\$SED -e 1s/^X//"
17096 # A grep program that handles long lines.
17102 # A literal string matcher.
17105 # Shell to use when invoking shell scripts.
17108 # An echo program that protects backslashes.
17111 # Which release of libtool.m4 was used?
17112 macro_version=$macro_version
17113 macro_revision=$macro_revision
17115 # Whether or not to build shared libraries.
17116 build_libtool_libs=$enable_shared
17118 # Whether or not to build static libraries.
17119 build_old_libs=$enable_static
17121 # What type of objects to build.
17124 # Whether or not to optimize for fast installation.
17125 fast_install=$enable_fast_install
17128 host_alias=$host_alias
17132 # The build system.
17133 build_alias=$build_alias
17137 # A BSD- or MS-compatible name lister.
17140 # Whether we need soft or hard links.
17143 # What is the maximum length of a command?
17144 max_cmd_len=$max_cmd_len
17146 # Object file suffix (normally "o").
17149 # Executable file suffix (normally "").
17152 # whether the shell understands "unset".
17155 # turn spaces into newlines.
17158 # turn newlines into spaces.
17161 # An object symbol dumper.
17162 OBJDUMP=$lt_OBJDUMP
17164 # Method to check whether dependent libraries are shared objects.
17165 deplibs_check_method=$lt_deplibs_check_method
17167 # Command to use when deplibs_check_method == "file_magic".
17168 file_magic_cmd=$lt_file_magic_cmd
17172 AR_FLAGS=$lt_AR_FLAGS
17174 # A symbol stripping program.
17177 # Commands used to install an old-style archive.
17179 old_postinstall_cmds=$lt_old_postinstall_cmds
17180 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17182 # Whether to use a lock for old archive extraction.
17183 lock_old_archive_extraction=$lock_old_archive_extraction
17188 # LTCC compiler flags.
17189 LTCFLAGS=$lt_CFLAGS
17191 # Take the output of nm and produce a listing of raw symbols and C names.
17192 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17194 # Transform the output of nm in a proper C declaration.
17195 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17197 # Transform the output of nm in a C name address pair.
17198 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17200 # Transform the output of nm in a C name address pair when lib prefix is needed.
17201 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17203 # The name of the directory that contains temporary libtool files.
17206 # Used to examine libraries when file_magic_cmd begins with "file".
17207 MAGIC_CMD=$MAGIC_CMD
17209 # Must we lock files when doing compilation?
17210 need_locks=$lt_need_locks
17212 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17213 DSYMUTIL=$lt_DSYMUTIL
17215 # Tool to change global to local symbols on Mac OS X.
17218 # Tool to manipulate fat objects and archives on Mac OS X.
17221 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17224 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17225 OTOOL64=$lt_OTOOL64
17227 # Old archive suffix (normally "a").
17230 # Shared library suffix (normally ".so").
17231 shrext_cmds=$lt_shrext_cmds
17233 # The commands to extract the exported symbol list from a shared archive.
17234 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17236 # Variables whose values should be saved in libtool wrapper scripts and
17237 # restored at link time.
17238 variables_saved_for_relink=$lt_variables_saved_for_relink
17240 # Do we need the "lib" prefix for modules?
17241 need_lib_prefix=$need_lib_prefix
17243 # Do we need a version for libraries?
17244 need_version=$need_version
17246 # Library versioning type.
17247 version_type=$version_type
17249 # Shared library runtime path variable.
17250 runpath_var=$runpath_var
17252 # Shared library path variable.
17253 shlibpath_var=$shlibpath_var
17255 # Is shlibpath searched before the hard-coded library search path?
17256 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17258 # Format of library name prefix.
17259 libname_spec=$lt_libname_spec
17261 # List of archive names. First name is the real one, the rest are links.
17262 # The last name is the one that the linker finds with -lNAME
17263 library_names_spec=$lt_library_names_spec
17265 # The coded name of the library, if different from the real name.
17266 soname_spec=$lt_soname_spec
17268 # Permission mode override for installation of shared libraries.
17269 install_override_mode=$lt_install_override_mode
17271 # Command to use after installation of a shared archive.
17272 postinstall_cmds=$lt_postinstall_cmds
17274 # Command to use after uninstallation of a shared archive.
17275 postuninstall_cmds=$lt_postuninstall_cmds
17277 # Commands used to finish a libtool library installation in a directory.
17278 finish_cmds=$lt_finish_cmds
17280 # As "finish_cmds", except a single script fragment to be evaled but
17282 finish_eval=$lt_finish_eval
17284 # Whether we should hardcode library paths into libraries.
17285 hardcode_into_libs=$hardcode_into_libs
17287 # Compile-time system search path for libraries.
17288 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17290 # Run-time system search path for libraries.
17291 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17293 # Whether dlopen is supported.
17294 dlopen_support=$enable_dlopen
17296 # Whether dlopen of programs is supported.
17297 dlopen_self=$enable_dlopen_self
17299 # Whether dlopen of statically linked programs is supported.
17300 dlopen_self_static=$enable_dlopen_self_static
17302 # Commands to strip libraries.
17303 old_striplib=$lt_old_striplib
17304 striplib=$lt_striplib
17307 # The linker used to build libraries.
17310 # How to create reloadable object files.
17311 reload_flag=$lt_reload_flag
17312 reload_cmds=$lt_reload_cmds
17314 # Commands used to build an old-style archive.
17315 old_archive_cmds=$lt_old_archive_cmds
17317 # A language specific compiler.
17320 # Is the compiler the GNU compiler?
17323 # Compiler flag to turn off builtin functions.
17324 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17326 # How to pass a linker flag through the compiler.
17327 wl=$lt_lt_prog_compiler_wl
17329 # Additional compiler flags for building library objects.
17330 pic_flag=$lt_lt_prog_compiler_pic
17332 # Compiler flag to prevent dynamic linking.
17333 link_static_flag=$lt_lt_prog_compiler_static
17335 # Does compiler simultaneously support -c and -o options?
17336 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17338 # Whether or not to add -lc for building shared libraries.
17339 build_libtool_need_lc=$archive_cmds_need_lc
17341 # Whether or not to disallow shared libs when runtime libs are static.
17342 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17344 # Compiler flag to allow reflexive dlopens.
17345 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17347 # Compiler flag to generate shared objects directly from archives.
17348 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17350 # Whether the compiler copes with passing no objects directly.
17351 compiler_needs_object=$lt_compiler_needs_object
17353 # Create an old-style archive from a shared archive.
17354 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17356 # Create a temporary old-style archive to link instead of a shared archive.
17357 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17359 # Commands used to build a shared archive.
17360 archive_cmds=$lt_archive_cmds
17361 archive_expsym_cmds=$lt_archive_expsym_cmds
17363 # Commands used to build a loadable module if different from building
17364 # a shared archive.
17365 module_cmds=$lt_module_cmds
17366 module_expsym_cmds=$lt_module_expsym_cmds
17368 # Whether we are building with GNU ld or not.
17369 with_gnu_ld=$lt_with_gnu_ld
17371 # Flag that allows shared libraries with undefined symbols to be built.
17372 allow_undefined_flag=$lt_allow_undefined_flag
17374 # Flag that enforces no undefined symbols.
17375 no_undefined_flag=$lt_no_undefined_flag
17377 # Flag to hardcode \$libdir into a binary during linking.
17378 # This must work even if \$libdir does not exist
17379 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17381 # If ld is used when linking, flag to hardcode \$libdir into a binary
17382 # during linking. This must work even if \$libdir does not exist.
17383 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17385 # Whether we need a single "-rpath" flag with a separated argument.
17386 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17388 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17389 # DIR into the resulting binary.
17390 hardcode_direct=$hardcode_direct
17392 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17393 # DIR into the resulting binary and the resulting library dependency is
17394 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17395 # library is relocated.
17396 hardcode_direct_absolute=$hardcode_direct_absolute
17398 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17399 # into the resulting binary.
17400 hardcode_minus_L=$hardcode_minus_L
17402 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17403 # into the resulting binary.
17404 hardcode_shlibpath_var=$hardcode_shlibpath_var
17406 # Set to "yes" if building a shared library automatically hardcodes DIR
17407 # into the library and all subsequent libraries and executables linked
17409 hardcode_automatic=$hardcode_automatic
17411 # Set to yes if linker adds runtime paths of dependent libraries
17412 # to runtime path list.
17413 inherit_rpath=$inherit_rpath
17415 # Whether libtool must link a program against all its dependency libraries.
17416 link_all_deplibs=$link_all_deplibs
17418 # Fix the shell variable \$srcfile for the compiler.
17419 fix_srcfile_path=$lt_fix_srcfile_path
17421 # Set to "yes" if exported symbols are required.
17422 always_export_symbols=$always_export_symbols
17424 # The commands to list exported symbols.
17425 export_symbols_cmds=$lt_export_symbols_cmds
17427 # Symbols that should not be listed in the preloaded symbols.
17428 exclude_expsyms=$lt_exclude_expsyms
17430 # Symbols that must always be exported.
17431 include_expsyms=$lt_include_expsyms
17433 # Commands necessary for linking programs (against libraries) with templates.
17434 prelink_cmds=$lt_prelink_cmds
17436 # Specify filename containing input files.
17437 file_list_spec=$lt_file_list_spec
17439 # How to hardcode a shared library path into an executable.
17440 hardcode_action=$hardcode_action
17442 # ### END LIBTOOL CONFIG
17448 cat <<\_LT_EOF
>> "$cfgfile"
17449 # AIX sometimes has problems with the GCC collect2 program. For some
17450 # reason, if we set the COLLECT_NAMES environment variable, the problems
17451 # vanish in a puff of smoke.
17452 if test "X${COLLECT_NAMES+set}" != Xset
; then
17454 export COLLECT_NAMES
17461 ltmain
="$ac_aux_dir/ltmain.sh"
17464 # We use sed instead of cat because bash on DJGPP gets confused if
17465 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17466 # text mode, it properly converts lines to CR/LF. This bash problem
17467 # is reportedly fixed, but why not run on old versions too?
17468 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17469 ||
(rm -f "$cfgfile"; exit 1)
17473 cat << \_LT_EOF
>> "$cfgfile"
17475 # func_dirname file append nondir_replacement
17476 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17477 # otherwise set result to NONDIR_REPLACEMENT.
17481 */*) func_dirname_result
="${1%/*}${2}" ;;
17482 * ) func_dirname_result
="${3}" ;;
17486 # func_basename file
17489 func_basename_result
="${1##*/}"
17492 # func_dirname_and_basename file append nondir_replacement
17493 # perform func_basename and func_dirname in a single function
17495 # dirname: Compute the dirname of FILE. If nonempty,
17496 # add APPEND to the result, otherwise set result
17497 # to NONDIR_REPLACEMENT.
17498 # value returned in "$func_dirname_result"
17499 # basename: Compute filename of FILE.
17500 # value retuned in "$func_basename_result"
17501 # Implementation must be kept synchronized with func_dirname
17502 # and func_basename. For efficiency, we do not delegate to
17503 # those functions but instead duplicate the functionality here.
17504 func_dirname_and_basename
()
17507 */*) func_dirname_result
="${1%/*}${2}" ;;
17508 * ) func_dirname_result
="${3}" ;;
17510 func_basename_result
="${1##*/}"
17513 # func_stripname prefix suffix name
17514 # strip PREFIX and SUFFIX off of NAME.
17515 # PREFIX and SUFFIX must not contain globbing or regex special
17516 # characters, hashes, percent signs, but SUFFIX may contain a leading
17517 # dot (in which case that matches only a dot).
17520 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17521 # positional parameters, so assign one to ordinary parameter first.
17522 func_stripname_result
=${3}
17523 func_stripname_result
=${func_stripname_result#"${1}"}
17524 func_stripname_result
=${func_stripname_result%"${2}"}
17530 func_opt_split_opt
=${1%%=*}
17531 func_opt_split_arg
=${1#*=}
17538 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17539 *) func_lo2o_result
=${1} ;;
17543 # func_xform libobj-or-source
17546 func_xform_result
=${1%.*}.lo
17549 # func_arith arithmetic-term...
17552 func_arith_result
=$
(( $
* ))
17556 # STRING may not start with a hyphen.
17559 func_len_result
=${#1}
17564 *) # Bourne compatible functions.
17565 cat << \_LT_EOF
>> "$cfgfile"
17567 # func_dirname file append nondir_replacement
17568 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17569 # otherwise set result to NONDIR_REPLACEMENT.
17572 # Extract subdirectory from the argument.
17573 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17574 if test "X$func_dirname_result" = "X${1}"; then
17575 func_dirname_result
="${3}"
17577 func_dirname_result
="$func_dirname_result${2}"
17581 # func_basename file
17584 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17588 # func_stripname prefix suffix name
17589 # strip PREFIX and SUFFIX off of NAME.
17590 # PREFIX and SUFFIX must not contain globbing or regex special
17591 # characters, hashes, percent signs, but SUFFIX may contain a leading
17592 # dot (in which case that matches only a dot).
17593 # func_strip_suffix prefix name
17597 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17598 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17603 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17604 my_sed_long_arg
='1s/^-[^=]*=//'
17609 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17610 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17616 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17619 # func_xform libobj-or-source
17622 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17625 # func_arith arithmetic-term...
17628 func_arith_result
=`expr "$@"`
17632 # STRING may not start with a hyphen.
17635 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17641 case $lt_shell_append in
17643 cat << \_LT_EOF
>> "$cfgfile"
17645 # func_append var value
17646 # Append VALUE to the end of shell variable VAR.
17654 cat << \_LT_EOF
>> "$cfgfile"
17656 # func_append var value
17657 # Append VALUE to the end of shell variable VAR.
17668 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17669 ||
(rm -f "$cfgfile"; exit 1)
17671 mv -f "$cfgfile" "$ofile" ||
17672 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17676 cat <<_LT_EOF >> "$ofile"
17678 # ### BEGIN LIBTOOL TAG CONFIG: GO
17680 # The linker used to build libraries.
17683 # How to create reloadable object files.
17684 reload_flag=$lt_reload_flag_GO
17685 reload_cmds=$lt_reload_cmds_GO
17687 # Commands used to build an old-style archive.
17688 old_archive_cmds=$lt_old_archive_cmds_GO
17690 # A language specific compiler.
17693 # Is the compiler the GNU compiler?
17696 # Compiler flag to turn off builtin functions.
17697 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17699 # How to pass a linker flag through the compiler.
17700 wl=$lt_lt_prog_compiler_wl_GO
17702 # Additional compiler flags for building library objects.
17703 pic_flag=$lt_lt_prog_compiler_pic_GO
17705 # Compiler flag to prevent dynamic linking.
17706 link_static_flag=$lt_lt_prog_compiler_static_GO
17708 # Does compiler simultaneously support -c and -o options?
17709 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17711 # Whether or not to add -lc for building shared libraries.
17712 build_libtool_need_lc=$archive_cmds_need_lc_GO
17714 # Whether or not to disallow shared libs when runtime libs are static.
17715 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17717 # Compiler flag to allow reflexive dlopens.
17718 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17720 # Compiler flag to generate shared objects directly from archives.
17721 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17723 # Whether the compiler copes with passing no objects directly.
17724 compiler_needs_object=$lt_compiler_needs_object_GO
17726 # Create an old-style archive from a shared archive.
17727 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17729 # Create a temporary old-style archive to link instead of a shared archive.
17730 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17732 # Commands used to build a shared archive.
17733 archive_cmds=$lt_archive_cmds_GO
17734 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17736 # Commands used to build a loadable module if different from building
17737 # a shared archive.
17738 module_cmds=$lt_module_cmds_GO
17739 module_expsym_cmds=$lt_module_expsym_cmds_GO
17741 # Whether we are building with GNU ld or not.
17742 with_gnu_ld=$lt_with_gnu_ld_GO
17744 # Flag that allows shared libraries with undefined symbols to be built.
17745 allow_undefined_flag=$lt_allow_undefined_flag_GO
17747 # Flag that enforces no undefined symbols.
17748 no_undefined_flag=$lt_no_undefined_flag_GO
17750 # Flag to hardcode \$libdir into a binary during linking.
17751 # This must work even if \$libdir does not exist
17752 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17754 # If ld is used when linking, flag to hardcode \$libdir into a binary
17755 # during linking. This must work even if \$libdir does not exist.
17756 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17758 # Whether we need a single "-rpath" flag with a separated argument.
17759 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17761 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17762 # DIR into the resulting binary.
17763 hardcode_direct=$hardcode_direct_GO
17765 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17766 # DIR into the resulting binary and the resulting library dependency is
17767 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17768 # library is relocated.
17769 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17771 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17772 # into the resulting binary.
17773 hardcode_minus_L=$hardcode_minus_L_GO
17775 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17776 # into the resulting binary.
17777 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17779 # Set to "yes" if building a shared library automatically hardcodes DIR
17780 # into the library and all subsequent libraries and executables linked
17782 hardcode_automatic=$hardcode_automatic_GO
17784 # Set to yes if linker adds runtime paths of dependent libraries
17785 # to runtime path list.
17786 inherit_rpath=$inherit_rpath_GO
17788 # Whether libtool must link a program against all its dependency libraries.
17789 link_all_deplibs=$link_all_deplibs_GO
17791 # Fix the shell variable \$srcfile for the compiler.
17792 fix_srcfile_path=$lt_fix_srcfile_path_GO
17794 # Set to "yes" if exported symbols are required.
17795 always_export_symbols=$always_export_symbols_GO
17797 # The commands to list exported symbols.
17798 export_symbols_cmds=$lt_export_symbols_cmds_GO
17800 # Symbols that should not be listed in the preloaded symbols.
17801 exclude_expsyms=$lt_exclude_expsyms_GO
17803 # Symbols that must always be exported.
17804 include_expsyms=$lt_include_expsyms_GO
17806 # Commands necessary for linking programs (against libraries) with templates.
17807 prelink_cmds=$lt_prelink_cmds_GO
17809 # Specify filename containing input files.
17810 file_list_spec=$lt_file_list_spec_GO
17812 # How to hardcode a shared library path into an executable.
17813 hardcode_action=$hardcode_action_GO
17815 # ### END LIBTOOL TAG CONFIG: GO
17819 "default":C
) if test -n "$CONFIG_FILES"; then
17820 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17821 # that multilib installs will end up installed in the correct place.
17822 # The testsuite needs it for multilib-aware ABI baseline files.
17823 # To work around this not being passed down from config-ml.in ->
17824 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17825 # append it here. Only modify Makefiles that have just been created.
17827 # Also, get rid of this simulated-VPATH thing that automake does.
17828 cat > vpsed
<< \_EOF
17829 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17831 for i
in $SUBDIRS; do
17832 case $CONFIG_FILES in
17834 #echo "Adding MULTISUBDIR to $i/Makefile"
17835 sed -f vpsed
$i/Makefile
> tmp
17836 grep '^MULTISUBDIR =' Makefile
>> tmp
17851 ac_clean_files
=$ac_clean_files_save
17853 test $ac_write_fail = 0 ||
17854 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17857 # configure is writing to config.log, and then calls config.status.
17858 # config.status does its own redirection, appending to config.log.
17859 # Unfortunately, on DOS this fails, as config.log is still kept open
17860 # by configure, so config.status won't be able to write to it; its
17861 # output is simply discarded. So we exec the FD to /dev/null,
17862 # effectively closing config.log, so it can be properly (re)opened and
17863 # appended to by config.status. When coming back to configure, we
17864 # need to make the FD available again.
17865 if test "$no_create" != yes; then
17867 ac_config_status_args
=
17868 test "$silent" = yes &&
17869 ac_config_status_args
="$ac_config_status_args --quiet"
17871 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17873 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17874 # would make configure fail if this is the last instruction.
17875 $ac_cs_success || as_fn_exit $?
17877 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17879 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}