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 HAVE_STAT_TIMESPEC_FALSE
606 HAVE_STAT_TIMESPEC_TRUE
607 STRUCT_EPOLL_EVENT_FD_OFFSET
608 SIZEOF_STRUCT_EPOLL_EVENT
613 HAVE_STRERROR_R_FALSE
615 HAVE_SYS_MMAN_H_FALSE
623 USING_SPLIT_STACK_FALSE
624 USING_SPLIT_STACK_TRUE
627 GO_SYSCALL_OS_ARCH_FILE
629 GO_LIBCALL_OS_ARCH_FILE
632 LIBGO_IS_X86_64_FALSE
634 LIBGO_IS_SPARC64_FALSE
635 LIBGO_IS_SPARC64_TRUE
642 LIBGO_IS_PPC64LE_FALSE
643 LIBGO_IS_PPC64LE_TRUE
648 LIBGO_IS_MIPSO64_FALSE
649 LIBGO_IS_MIPSO64_TRUE
650 LIBGO_IS_MIPSN64_FALSE
651 LIBGO_IS_MIPSN64_TRUE
652 LIBGO_IS_MIPSN32_FALSE
653 LIBGO_IS_MIPSN32_TRUE
654 LIBGO_IS_MIPSO32_FALSE
655 LIBGO_IS_MIPSO32_TRUE
670 LIBGO_IS_SOLARIS_FALSE
671 LIBGO_IS_SOLARIS_TRUE
674 LIBGO_IS_DRAGONFLY_FALSE
675 LIBGO_IS_DRAGONFLY_TRUE
676 LIBGO_IS_OPENBSD_FALSE
677 LIBGO_IS_OPENBSD_TRUE
678 LIBGO_IS_NETBSD_FALSE
684 LIBGO_IS_FREEBSD_FALSE
685 LIBGO_IS_FREEBSD_TRUE
686 LIBGO_IS_DARWIN_FALSE
692 nover_glibgo_toolexeclibdir
693 glibgo_toolexeclibdir
721 MAINTAINER_MODE_FALSE
750 INSTALL_STRIP_PROGRAM
806 program_transform_name
819 enable_option_checking
821 enable_dependency_tracking
822 enable_maintainer_mode
830 enable_version_specific_runtime_libs
833 with_system_libunwind
835 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
1098 -program-transform-name |
--program-transform-name \
1099 |
--program-transform-nam |
--program-transform-na \
1100 |
--program-transform-n |
--program-transform- \
1101 |
--program-transform |
--program-transfor \
1102 |
--program-transfo |
--program-transf \
1103 |
--program-trans |
--program-tran \
1104 |
--progr-tra |
--program-tr |
--program-t)
1105 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information."
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used." >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1446 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive
) echo "Configuration of package-unused version-unused:";;
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --enable-multilib build many library versions
(default
)
1461 --disable-dependency-tracking speeds up one-time build
1462 --enable-dependency-tracking do not reject slow dependency extractors
1463 --enable-maintainer-mode enable make rules and dependencies not useful
1464 (and sometimes confusing
) to the casual installer
1465 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1466 --enable-static[=PKGS
] build static libraries
[default
=yes]
1467 --enable-fast-install[=PKGS
]
1468 optimize
for fast installation
[default
=yes]
1469 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1470 --enable-werror turns on
-Werror [default
=yes]
1471 --enable-version-specific-runtime-libs
1472 Specify that runtime libraries should be installed
1473 in a compiler-specific directory
1476 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1477 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1478 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1479 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1481 --without-libffi don
't use libffi
1482 --without-libatomic don't use libatomic
1483 --with-system-libunwind use installed libunwind
1485 Some influential environment variables
:
1486 CC C compiler
command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1489 nonstandard directory
<lib dir
>
1490 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1491 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1492 you have headers
in a nonstandard directory
<include dir
>
1493 GOC Go compiler
command
1494 GOCFLAGS Go compiler flags
1497 Use these variables to override the choices made by
`configure' or to help
1498 it to find libraries and programs with nonstandard names/locations.
1500 Report bugs to the package provider.
1505 if test "$ac_init_help" = "recursive"; then
1506 # If there are subdirs, report their specific --help.
1507 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1508 test -d "$ac_dir" ||
1509 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1517 # A ".." for each directory in $ac_dir_suffix.
1518 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1519 case $ac_top_builddir_sub in
1520 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1524 ac_abs_top_builddir=$ac_pwd
1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526 # for backward compatibility:
1527 ac_top_builddir=$ac_top_build_prefix
1530 .) # We are building in place.
1532 ac_top_srcdir=$ac_top_builddir_sub
1533 ac_abs_top_srcdir=$ac_pwd ;;
1534 [\\/]* | ?:[\\/]* ) # Absolute name.
1535 ac_srcdir=$srcdir$ac_dir_suffix;
1536 ac_top_srcdir=$srcdir
1537 ac_abs_top_srcdir=$srcdir ;;
1539 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540 ac_top_srcdir=$ac_top_build_prefix$srcdir
1541 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1545 cd "$ac_dir" || { ac_status=$?; continue; }
1546 # Check for guested configure.
1547 if test -f "$ac_srcdir/configure.gnu"; then
1549 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550 elif test -f "$ac_srcdir/configure"; then
1552 $SHELL "$ac_srcdir/configure" --help=recursive
1554 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1563 package-unused configure version-unused
1564 generated by GNU Autoconf 2.64
1566 Copyright (C) 2009 Free Software Foundation, Inc.
1567 This configure script is free software; the Free Software Foundation
1568 gives unlimited permission to copy, distribute and modify it.
1573 ## ------------------------ ##
1574 ## Autoconf initialization. ##
1575 ## ------------------------ ##
1577 # ac_fn_c_try_compile LINENO
1578 # --------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext
1584 if { { ac_try="$ac_compile"
1586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1587 *) ac_try_echo
=$ac_try;;
1589 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1593 if test -s conftest.err
; then
1594 grep -v '^ *+' conftest.err
>conftest.er1
1595 cat conftest.er1
>&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.
$ac_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.
$ac_ext >&5
1610 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1613 } # ac_fn_c_try_compile
1615 # ac_fn_c_try_link LINENO
1616 # -----------------------
1617 # Try to link conftest.$ac_ext, and return whether this succeeded.
1620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1621 rm -f conftest.
$ac_objext conftest
$ac_exeext
1622 if { { ac_try
="$ac_link"
1624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_link") 2>conftest.err
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest$ac_exeext && {
1641 test "$cross_compiling" = yes ||
1642 $as_test_x conftest$ac_exeext
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1652 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1653 # interfere with the next link command; also delete a directory that is
1654 # left behind by Apple's compiler. We do this before executing the actions.
1655 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659 } # ac_fn_c_try_link
1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1662 # -------------------------------------------------------
1663 # Tests whether HEADER exists and can be compiled using the include files in
1664 # INCLUDES, setting the cache variable VAR accordingly.
1665 ac_fn_c_check_header_compile ()
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1671 $as_echo_n "(cached) " >&6
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687 $as_echo "$ac_res" >&6; }
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 } # ac_fn_c_check_header_compile
1692 # ac_fn_c_try_cpp LINENO
1693 # ----------------------
1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_cpp conftest.$ac_ext"
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707 if test -s conftest.err
; then
1708 grep -v '^ *+' conftest.err
>conftest.er1
1709 cat conftest.er1
>&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } >/dev
/null
&& {
1714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1729 # ac_fn_c_try_run LINENO
1730 # ----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1732 # that executables *can* be run.
1735 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1736 if { { ac_try
="$ac_link"
1738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>&5
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1747 { { case "(($ac_try" in
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_try") 2>&5
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; }; }; then :
1759 $as_echo "$as_me: program exited with status $ac_status" >&5
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.
$ac_ext >&5
1763 ac_retval
=$ac_status
1765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1771 # ac_fn_c_check_func LINENO FUNC VAR
1772 # ----------------------------------
1773 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1774 ac_fn_c_check_func
()
1776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1780 $as_echo_n "(cached) " >&6
1782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1784 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1786 #define $2 innocuous_$2
1788 /* System header to define __stub macros and hopefully few prototypes,
1789 which can conflict with char $2 (); below.
1790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1791 <limits.h> exists even on freestanding compilers. */
1794 # include <limits.h>
1796 # include <assert.h>
1801 /* Override any GCC internal prototype to avoid an error.
1802 Use char because int might match the return type of a GCC
1803 builtin and then its argument prototype would still apply. */
1808 /* The GNU C library defines this for functions which it implements
1809 to always fail with ENOSYS. Some functions are actually named
1810 something starting with __ and the normal name is an alias. */
1811 #if defined __stub_$2 || defined __stub___$2
1823 if ac_fn_c_try_link
"$LINENO"; then :
1828 rm -f core conftest.err conftest.
$ac_objext \
1829 conftest
$ac_exeext conftest.
$ac_ext
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1836 } # ac_fn_c_check_func
1838 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1839 # -------------------------------------------------------
1840 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1841 # the include files in INCLUDES and setting the cache variable VAR
1843 ac_fn_c_check_header_mongrel
()
1845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1846 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 $as_echo_n "(cached) " >&6
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1856 # Is the header compilable?
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1858 $as_echo_n "checking $2 usability... " >&6; }
1859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1864 if ac_fn_c_try_compile
"$LINENO"; then :
1865 ac_header_compiler
=yes
1867 ac_header_compiler
=no
1869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1871 $as_echo "$ac_header_compiler" >&6; }
1873 # Is the header present?
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1875 $as_echo_n "checking $2 presence... " >&6; }
1876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1880 if ac_fn_c_try_cpp
"$LINENO"; then :
1881 ac_header_preproc
=yes
1883 ac_header_preproc
=no
1885 rm -f conftest.err conftest.
$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1887 $as_echo "$ac_header_preproc" >&6; }
1889 # So? What about this header?
1890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1893 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1895 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1899 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1901 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1903 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1905 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1907 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1913 $as_echo_n "(cached) " >&6
1915 eval "$3=\$ac_header_compiler"
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1923 } # ac_fn_c_check_header_mongrel
1925 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1926 # -------------------------------------------
1927 # Tests whether TYPE exists after having included INCLUDES, setting cache
1928 # variable VAR accordingly.
1929 ac_fn_c_check_type
()
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1935 $as_echo_n "(cached) " >&6
1938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1950 if ac_fn_c_try_compile
"$LINENO"; then :
1951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1963 if ac_fn_c_try_compile
"$LINENO"; then :
1968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1977 } # ac_fn_c_check_type
1979 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1980 # --------------------------------------------
1981 # Tries to find the compile-time value of EXPR in a program that includes
1982 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1984 ac_fn_c_compute_int
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 if test "$cross_compiling" = yes; then
1988 # Depending upon the size, compute the lo and hi bounds.
1989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1995 static int test_array [1 - 2 * !(($2) >= 0)];
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2011 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2018 if ac_fn_c_try_compile
"$LINENO"; then :
2019 ac_hi
=$ac_mid; break
2021 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2022 if test $ac_lo -le $ac_mid; then
2026 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2037 static int test_array [1 - 2 * !(($2) < 0)];
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2053 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2061 ac_lo
=$ac_mid; break
2063 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2064 if test $ac_mid -le $ac_hi; then
2068 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 # Binary search between lo and hi bounds.
2079 while test "x$ac_lo" != "x$ac_hi"; do
2080 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2087 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2097 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2102 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2109 static long int longval () { return $2; }
2110 static unsigned long int ulongval () { return $2; }
2117 FILE *f = fopen ("conftest.val", "w");
2122 long int i = longval ();
2125 fprintf (f, "%ld", i);
2129 unsigned long int i = ulongval ();
2132 fprintf (f, "%lu", i);
2134 /* Do not output a trailing newline, as this causes \r\n confusion
2135 on some platforms. */
2136 return ferror (f) || fclose (f) != 0;
2142 if ac_fn_c_try_run
"$LINENO"; then :
2143 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2147 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2148 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2155 } # ac_fn_c_compute_int
2156 cat >config.log
<<_ACEOF
2157 This file contains any messages produced by compilers while
2158 running configure, to aid debugging if configure makes a mistake.
2160 It was created by package-unused $as_me version-unused, which was
2161 generated by GNU Autoconf 2.64. Invocation command line was
2173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2180 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2182 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2183 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2185 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2186 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2187 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2188 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir
=.
2197 $as_echo "PATH: $as_dir"
2213 # Keep a trace of the command line.
2214 # Strip out --no-create and --no-recursion so they do not pile up.
2215 # Strip out --silent because we don't want to record it for future runs.
2216 # Also quote any args containing shell meta-characters.
2217 # Make two passes to allow for proper duplicate-argument suppression.
2221 ac_must_keep_next
=false
2227 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2228 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2229 |
-silent |
--silent |
--silen |
--sile |
--sil)
2232 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2235 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2237 as_fn_append ac_configure_args1
" '$ac_arg'"
2238 if test $ac_must_keep_next = true
; then
2239 ac_must_keep_next
=false
# Got value, back to normal.
2242 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2243 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2244 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2245 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2246 case "$ac_configure_args0 " in
2247 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2250 -* ) ac_must_keep_next
=true
;;
2253 as_fn_append ac_configure_args
" '$ac_arg'"
2258 { ac_configure_args0
=; unset ac_configure_args0
;}
2259 { ac_configure_args1
=; unset ac_configure_args1
;}
2261 # When interrupted or exit'd, cleanup temporary files, and complete
2262 # config.log. We remove comments because anyway the quotes in there
2263 # would cause problems or look ugly.
2264 # WARNING: Use '\'' to represent an apostrophe within the trap.
2265 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2266 trap 'exit_status=$?
2267 # Save into config.log some information that might help in debugging.
2272 ## ---------------- ##
2273 ## Cache variables. ##
2274 ## ---------------- ##
2277 # The following way of writing the cache mishandles newlines in values,
2279 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2280 eval ac_val=\$$ac_var
2284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2288 _ | IFS | as_nl) ;; #(
2289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2290 *) { eval $ac_var=; unset $ac_var;} ;;
2295 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2296 *${as_nl}ac_space=\ *)
2298 "s/'\''/'\''\\\\'\'''\''/g;
2299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2310 ## ----------------- ##
2311 ## Output variables. ##
2312 ## ----------------- ##
2315 for ac_var in $ac_subst_vars
2317 eval ac_val=\$$ac_var
2319 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2321 $as_echo "$ac_var='\''$ac_val'\''"
2325 if test -n "$ac_subst_files"; then
2327 ## ------------------- ##
2328 ## File substitutions. ##
2329 ## ------------------- ##
2332 for ac_var
in $ac_subst_files
2334 eval ac_val
=\$
$ac_var
2336 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2338 $as_echo "$ac_var='\''$ac_val'\''"
2343 if test -s confdefs.h; then
2353 test "$ac_signal" != 0 &&
2354 $as_echo "$as_me: caught signal $ac_signal"
2355 $as_echo "$as_me: exit $exit_status"
2357 rm -f core *.core core.conftest.* &&
2358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2361 for ac_signal
in 1 2 13 15; do
2362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2367 rm -f -r conftest
* confdefs.h
2369 $as_echo "/* confdefs.h */" > confdefs.h
2371 # Predefined preprocessor variables.
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2377 cat >>confdefs.h
<<_ACEOF
2378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_STRING "$PACKAGE_STRING"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_URL "$PACKAGE_URL"
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer an explicitly selected file to automatically selected ones.
2402 if test -n "$CONFIG_SITE"; then
2403 ac_site_file1
=$CONFIG_SITE
2404 elif test "x$prefix" != xNONE
; then
2405 ac_site_file1
=$prefix/share
/config.site
2406 ac_site_file2
=$prefix/etc
/config.site
2408 ac_site_file1
=$ac_default_prefix/share
/config.site
2409 ac_site_file2
=$ac_default_prefix/etc
/config.site
2411 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2413 test "x$ac_site_file" = xNONE
&& continue
2414 if test -r "$ac_site_file"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2416 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2417 sed 's/^/| /' "$ac_site_file" >&5
2422 if test -r "$cache_file"; then
2423 # Some versions of bash will fail to source /dev/null (special
2424 # files actually), so we avoid doing that.
2425 if test -f "$cache_file"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2427 $as_echo "$as_me: loading cache $cache_file" >&6;}
2429 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2430 *) .
"./$cache_file";;
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2435 $as_echo "$as_me: creating cache $cache_file" >&6;}
2439 # Check that the precious variables saved in the cache have kept the same
2441 ac_cache_corrupted
=false
2442 for ac_var
in $ac_precious_vars; do
2443 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2444 eval ac_new_set
=\
$ac_env_${ac_var}_set
2445 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2446 eval ac_new_val
=\
$ac_env_${ac_var}_value
2447 case $ac_old_set,$ac_new_set in
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2450 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2451 ac_cache_corrupted
=: ;;
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2454 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2455 ac_cache_corrupted
=: ;;
2458 if test "x$ac_old_val" != "x$ac_new_val"; then
2459 # differences in whitespace do not lead to failure.
2460 ac_old_val_w
=`echo x $ac_old_val`
2461 ac_new_val_w
=`echo x $ac_new_val`
2462 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2464 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2465 ac_cache_corrupted
=:
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2468 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2469 eval $ac_var=\
$ac_old_val
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2472 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2474 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2477 # Pass precious variables to config.status.
2478 if test "$ac_new_set" = set; then
2480 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2481 *) ac_arg
=$ac_var=$ac_new_val ;;
2483 case " $ac_configure_args " in
2484 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2485 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2489 if $ac_cache_corrupted; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2493 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2494 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2496 ## -------------------- ##
2497 ## Main body of script. ##
2498 ## -------------------- ##
2501 ac_cpp
='$CPP $CPPFLAGS'
2502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2511 ac_config_headers
="$ac_config_headers config.h"
2514 libtool_VERSION
=7:0:0
2517 # Default to --enable-multilib
2518 # Check whether --enable-multilib was given.
2519 if test "${enable_multilib+set}" = set; then :
2520 enableval
=$enable_multilib; case "$enableval" in
2521 yes) multilib
=yes ;;
2523 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2530 # We may get other options which we leave undocumented:
2531 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2532 # See config-ml.in if you want the gory details.
2534 if test "$srcdir" = "."; then
2535 if test "$with_target_subdir" != "."; then
2536 multi_basedir
="$srcdir/$with_multisrctop../.."
2538 multi_basedir
="$srcdir/$with_multisrctop.."
2541 multi_basedir
="$srcdir/.."
2545 # Even if the default multilib is not a cross compilation,
2546 # it may be that some of the other multilibs are.
2547 if test $cross_compiling = no
&& test $multilib = yes \
2548 && test "x${with_multisubdir}" != x
; then
2549 cross_compiling
=maybe
2552 ac_config_commands
="$ac_config_commands default-1"
2556 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2557 for ac_t
in install-sh
install.sh shtool
; do
2558 if test -f "$ac_dir/$ac_t"; then
2560 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2565 if test -z "$ac_aux_dir"; then
2566 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2569 # These three variables are undocumented and unsupported,
2570 # and are intended to be withdrawn in a future Autoconf release.
2571 # They can cause serious problems if a builder's source tree is in a directory
2572 # whose full name contains unusual characters.
2573 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2574 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2575 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2578 # Make sure we can run config.sub.
2579 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2580 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2583 $as_echo_n "checking build system type... " >&6; }
2584 if test "${ac_cv_build+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 ac_build_alias
=$build_alias
2588 test "x$ac_build_alias" = x
&&
2589 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2590 test "x$ac_build_alias" = x
&&
2591 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2592 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2593 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2597 $as_echo "$ac_cv_build" >&6; }
2598 case $ac_cv_build in
2600 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2603 ac_save_IFS
=$IFS; IFS
='-'
2609 # Remember, the first character of IFS is used to create $*,
2610 # except with old shells:
2613 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2617 $as_echo_n "checking host system type... " >&6; }
2618 if test "${ac_cv_host+set}" = set; then :
2619 $as_echo_n "(cached) " >&6
2621 if test "x$host_alias" = x
; then
2622 ac_cv_host
=$ac_cv_build
2624 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2625 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2630 $as_echo "$ac_cv_host" >&6; }
2633 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2636 ac_save_IFS
=$IFS; IFS
='-'
2642 # Remember, the first character of IFS is used to create $*,
2643 # except with old shells:
2646 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2650 $as_echo_n "checking target system type... " >&6; }
2651 if test "${ac_cv_target+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 if test "x$target_alias" = x
; then
2655 ac_cv_target
=$ac_cv_host
2657 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2658 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2663 $as_echo "$ac_cv_target" >&6; }
2664 case $ac_cv_target in
2666 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2668 target
=$ac_cv_target
2669 ac_save_IFS
=$IFS; IFS
='-'
2675 # Remember, the first character of IFS is used to create $*,
2676 # except with old shells:
2679 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2682 # The aliases save the names the user supplied, while $host etc.
2683 # will get canonicalized.
2684 test -n "$target_alias" &&
2685 test "$program_prefix$program_suffix$program_transform_name" = \
2687 program_prefix
=${target_alias}-
2689 target_alias
=${target_alias-$host_alias}
2691 am__api_version
='1.11'
2693 # Find a good install program. We prefer a C program (faster),
2694 # so one script is as good as another. But avoid the broken or
2695 # incompatible versions:
2696 # SysV /etc/install, /usr/sbin/install
2697 # SunOS /usr/etc/install
2698 # IRIX /sbin/install
2700 # AmigaOS /C/install, which installs bootblocks on floppy discs
2701 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2702 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2703 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2704 # OS/2's system install, which has a completely different semantic
2705 # ./install, which can be erroneously created by make from ./install.sh.
2706 # Reject install programs that cannot install multiple files.
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2708 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2709 if test -z "$INSTALL"; then
2710 if test "${ac_cv_path_install+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 # Account for people who put trailing slashes in PATH elements.
2719 case $as_dir/ in #((
2720 .
/ | .
// |
/[cC
]/* | \
2721 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2722 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2725 # OSF1 and SCO ODT 3.0 have their own names for install.
2726 # Don't use installbsd from OSF since it installs stuff as root
2728 for ac_prog
in ginstall scoinst
install; do
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2731 if test $ac_prog = install &&
2732 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2733 # AIX install. It has an incompatible calling convention.
2735 elif test $ac_prog = install &&
2736 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2737 # program-specific install script used by HP pwplus--don't use.
2740 rm -rf conftest.one conftest.two conftest.dir
2741 echo one
> conftest.one
2742 echo two
> conftest.two
2744 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2745 test -s conftest.one
&& test -s conftest.two
&&
2746 test -s conftest.dir
/conftest.one
&&
2747 test -s conftest.dir
/conftest.two
2749 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2762 rm -rf conftest.one conftest.two conftest.dir
2765 if test "${ac_cv_path_install+set}" = set; then
2766 INSTALL
=$ac_cv_path_install
2768 # As a last resort, use the slow shell script. Don't cache a
2769 # value for INSTALL within a source directory, because that will
2770 # break other packages using the cache if that directory is
2771 # removed, or if the value is a relative name.
2772 INSTALL
=$ac_install_sh
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2776 $as_echo "$INSTALL" >&6; }
2778 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2779 # It thinks the first close brace ends the variable substitution.
2780 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2782 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2784 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2787 $as_echo_n "checking whether build environment is sane... " >&6; }
2790 echo timestamp
> conftest.
file
2791 # Reject unsafe characters in $srcdir or the absolute working directory
2792 # name. Accept space and tab only in the latter.
2796 *[\\\"\
#\$\&\'\`$am_lf]*)
2797 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2800 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2801 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2804 # Do `set' in a subshell so we don't clobber the current shell's
2805 # arguments. Must try -L first in case configure is actually a
2806 # symlink; some systems play weird games with the mod time of symlinks
2807 # (eg FreeBSD returns the mod time of the symlink's containing
2810 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2811 if test "$*" = "X"; then
2813 set X
`ls -t "$srcdir/configure" conftest.file`
2816 if test "$*" != "X $srcdir/configure conftest.file" \
2817 && test "$*" != "X conftest.file $srcdir/configure"; then
2819 # If neither matched, then we have a broken ls. This can happen
2820 # if, for instance, CONFIG_SHELL is bash and it inherits a
2821 # broken ls alias from the environment. This has actually
2822 # happened. Such a system could not be considered "sane".
2823 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2824 alias in your environment" "$LINENO" 5
2827 test "$2" = conftest.
file
2833 as_fn_error
"newly created file is older than distributed files!
2834 Check your system clock" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2838 test "$program_prefix" != NONE
&&
2839 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2840 # Use a double $ so make ignores it.
2841 test "$program_suffix" != NONE
&&
2842 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2843 # Double any \ or $.
2844 # By default was `s,x,x', remove it if useless.
2845 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2846 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2848 # expand $ac_aux_dir to an absolute path
2849 am_aux_dir
=`cd $ac_aux_dir && pwd`
2851 if test x
"${MISSING+set}" != xset
; then
2854 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2856 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2859 # Use eval to expand $SHELL
2860 if eval "$MISSING --run true"; then
2861 am_missing_run
="$MISSING --run "
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2865 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2868 if test x
"${install_sh}" != xset
; then
2871 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2873 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2877 # Installed binaries are usually stripped using `strip' when the user
2878 # run `make install-strip'. However `strip' might not be the right
2879 # tool to use in cross-compilation environments, therefore Automake
2880 # will honor the `STRIP' environment variable to overrule this program.
2881 if test "$cross_compiling" != no
; then
2882 if test -n "$ac_tool_prefix"; then
2883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2884 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if test "${ac_cv_prog_STRIP+set}" = set; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$STRIP"; then
2891 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2900 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 STRIP
=$ac_cv_prog_STRIP
2911 if test -n "$STRIP"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2913 $as_echo "$STRIP" >&6; }
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2921 if test -z "$ac_cv_prog_STRIP"; then
2923 # Extract the first word of "strip", so it can be a program name with args.
2924 set dummy strip
; ac_word
=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2930 if test -n "$ac_ct_STRIP"; then
2931 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir
=.
2938 for ac_exec_ext
in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_ac_ct_STRIP
="strip"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2951 if test -n "$ac_ct_STRIP"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2953 $as_echo "$ac_ct_STRIP" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2959 if test "x$ac_ct_STRIP" = x
; then
2962 case $cross_compiling:$ac_tool_warned in
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2966 ac_tool_warned
=yes ;;
2971 STRIP
="$ac_cv_prog_STRIP"
2975 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2978 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2979 if test -z "$MKDIR_P"; then
2980 if test "${ac_cv_path_mkdir+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_prog
in mkdir gmkdir
; do
2989 for ac_exec_ext
in '' $ac_executable_extensions; do
2990 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2991 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2992 'mkdir (GNU coreutils) '* | \
2993 'mkdir (coreutils) '* | \
2994 'mkdir (fileutils) '4.1*)
2995 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3005 if test "${ac_cv_path_mkdir+set}" = set; then
3006 MKDIR_P
="$ac_cv_path_mkdir -p"
3008 # As a last resort, use the slow shell script. Don't cache a
3009 # value for MKDIR_P within a source directory, because that will
3010 # break other packages using the cache if that directory is
3011 # removed, or if the value is a relative name.
3012 test -d .
/--version && rmdir .
/--version
3013 MKDIR_P
="$ac_install_sh -d"
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3017 $as_echo "$MKDIR_P" >&6; }
3021 [\\/$
]* | ?
:[\\/]*) ;;
3022 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3025 for ac_prog
in gawk mawk nawk
awk
3027 # Extract the first word of "$ac_prog", so it can be a program name with args.
3028 set dummy
$ac_prog; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if test "${ac_cv_prog_AWK+set}" = set; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$AWK"; then
3035 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3044 ac_cv_prog_AWK
="$ac_prog"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$AWK"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3057 $as_echo "$AWK" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3064 test -n "$AWK" && break
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3068 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3070 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3071 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3072 $as_echo_n "(cached) " >&6
3074 cat >conftest.
make <<\_ACEOF
3077 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3082 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3084 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3088 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 SET_MAKE
="MAKE=${MAKE-make}"
3098 rm -rf .tst
2>/dev
/null
3099 mkdir .tst
2>/dev
/null
3100 if test -d .tst
; then
3105 rmdir .tst
2>/dev
/null
3107 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3108 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3109 # is not polluted with repeated "-I."
3110 am__isrc
=' -I$(srcdir)'
3111 # test to see if srcdir already configured
3112 if test -f $srcdir/config.status
; then
3113 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3117 # test whether we have cygpath
3118 if test -z "$CYGPATH_W"; then
3119 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3120 CYGPATH_W
='cygpath -w'
3127 # Define the identity of the package.
3129 VERSION
='version-unused'
3132 # Some tools Automake needs.
3134 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3137 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3140 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3143 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3146 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3148 # We need awk for the "check" target. The system "awk" is bad on
3150 # Always define AMTAR for backward compatibility. Yes, it's still used
3151 # in the wild :-( We should find a proper way to deprecate it ...
3154 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3166 ac_cpp
='$CPP $CPPFLAGS'
3167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3170 if test -n "$ac_tool_prefix"; then
3171 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3172 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_CC+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CC"; then
3179 ac_cv_prog_CC
="$CC" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3188 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 if test -n "$CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3209 if test -z "$ac_cv_prog_CC"; then
3211 # Extract the first word of "gcc", so it can be a program name with args.
3212 set dummy gcc
; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$ac_ct_CC"; then
3219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228 ac_cv_prog_ac_ct_CC
="gcc"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3239 if test -n "$ac_ct_CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3241 $as_echo "$ac_ct_CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3247 if test "x$ac_ct_CC" = x
; then
3250 case $cross_compiling:$ac_tool_warned in
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3254 ac_tool_warned
=yes ;;
3262 if test -z "$CC"; then
3263 if test -n "$ac_tool_prefix"; then
3264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_CC+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$CC"; then
3272 ac_cv_prog_CC
="$CC" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3294 $as_echo "$CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3303 if test -z "$CC"; then
3304 # Extract the first word of "cc", so it can be a program name with args.
3305 set dummy cc
; ac_word
=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if test "${ac_cv_prog_CC+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC
="$CC" # Let the user override the test.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3323 ac_prog_rejected
=yes
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 if test $ac_prog_rejected = yes; then
3335 # We found a bogon in the path, so make sure we never use it.
3336 set dummy
$ac_cv_prog_CC
3338 if test $# != 0; then
3339 # We chose a different compiler from the bogus one.
3340 # However, it has the same basename, so the bogon will be chosen
3341 # first if we set CC to just the basename; use the full file name.
3343 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3349 if test -n "$CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3359 if test -z "$CC"; then
3360 if test -n "$ac_tool_prefix"; then
3361 for ac_prog
in cl.exe
3363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_CC+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$CC"; then
3371 ac_cv_prog_CC
="$CC" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3400 test -n "$CC" && break
3403 if test -z "$CC"; then
3405 for ac_prog
in cl.exe
3407 # Extract the first word of "$ac_prog", so it can be a program name with args.
3408 set dummy
$ac_prog; ac_word
=$2
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 $as_echo_n "checking for $ac_word... " >&6; }
3411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3412 $as_echo_n "(cached) " >&6
3414 if test -n "$ac_ct_CC"; then
3415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir
=.
3422 for ac_exec_ext
in '' $ac_executable_extensions; do
3423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3424 ac_cv_prog_ac_ct_CC
="$ac_prog"
3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3435 if test -n "$ac_ct_CC"; then
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3437 $as_echo "$ac_ct_CC" >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440 $as_echo "no" >&6; }
3444 test -n "$ac_ct_CC" && break
3447 if test "x$ac_ct_CC" = x
; then
3450 case $cross_compiling:$ac_tool_warned in
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3454 ac_tool_warned
=yes ;;
3463 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error
"no acceptable C compiler found in \$PATH
3466 See \`config.log' for more details." "$LINENO" 5; }
3468 # Provide some information about the compiler.
3469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3472 for ac_option
in --version -v -V -qversion; do
3473 { { ac_try
="$ac_compiler $ac_option >&5"
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3482 if test -s conftest.err; then
3484 ... rest of stderr output deleted ...
3485 10q' conftest.err >conftest.er1
3486 cat conftest.er1 >&5
3487 rm -f conftest.er1 conftest.err
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3504 ac_clean_files_save=$ac_clean_files
3505 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3506 # Try to create an executable without -o first, disregard a.out.
3507 # It will help us diagnose broken compilers, and finding out an intuition
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3510 $as_echo_n "checking for C compiler default output file name... " >&6; }
3511 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3513 # The possible output files:
3514 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3517 for ac_file in $ac_files
3520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3521 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3526 if { { ac_try="$ac_link_default"
3528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3529 *) ac_try_echo
=$ac_try;;
3531 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 $as_echo "$ac_try_echo"; } >&5
3533 (eval "$ac_link_default") 2>&5
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }; then :
3537 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3538 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3539 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3540 # so that the user can short-circuit this test for compilers unknown to
3542 for ac_file
in $ac_files ''
3544 test -f "$ac_file" ||
continue
3546 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3549 # We found the default executable, but exeext='' is most
3553 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3555 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3557 # We set ac_cv_exeext here because the later test for it is not
3558 # safe: cross compilers may not add the suffix if given an `-o'
3559 # argument, so we may need to know it at that point already.
3560 # Even if this section looks crufty: it has the advantage of
3567 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 if test -z "$ac_file"; then :
3575 $as_echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.
$ac_ext >&5
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 { as_fn_set_status
77
3581 as_fn_error
"C compiler cannot create executables
3582 See \`config.log' for more details." "$LINENO" 5; }; }
3584 ac_exeext
=$ac_cv_exeext
3586 # Check that the compiler produces executables we can run. If not, either
3587 # the compiler is broken, or we cross compile.
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3589 $as_echo_n "checking whether the C compiler works... " >&6; }
3590 # If not cross compiling, check that we can run a simple program.
3591 if test "$cross_compiling" != yes; then
3592 if { ac_try
='./$ac_file'
3593 { { case "(($ac_try" in
3594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598 $as_echo "$ac_try_echo"; } >&5
3599 (eval "$ac_try") 2>&5
3601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 test $ac_status = 0; }; }; then
3605 if test "$cross_compiling" = maybe; then
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error "cannot run C compiled programs.
3611 If you meant to cross compile
, use \
`--host'.
3612 See \`config.log
' for more details." "$LINENO" 5; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3617 $as_echo "yes" >&6; }
3619 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3620 ac_clean_files=$ac_clean_files_save
3621 # Check that the compiler produces executables we can run. If not, either
3622 # the compiler is broken, or we cross compile.
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3624 $as_echo_n "checking whether we are cross compiling... " >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3626 $as_echo "$cross_compiling" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3629 $as_echo_n "checking for suffix of executables... " >&6; }
3630 if { { ac_try="$ac_link"
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636 $as_echo "$ac_try_echo"; } >&5
3637 (eval "$ac_link") 2>&5
3639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640 test $ac_status = 0; }; then :
3641 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3642 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3643 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3645 for ac_file
in conftest.exe conftest conftest.
*; do
3646 test -f "$ac_file" ||
continue
3648 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3649 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3658 See \`config.log' for more details." "$LINENO" 5; }
3660 rm -f conftest
$ac_cv_exeext
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3662 $as_echo "$ac_cv_exeext" >&6; }
3664 rm -f conftest.
$ac_ext
3665 EXEEXT
=$ac_cv_exeext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3668 $as_echo_n "checking for suffix of object files... " >&6; }
3669 if test "${ac_cv_objext+set}" = set; then :
3670 $as_echo_n "(cached) " >&6
3672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 rm -f conftest.o conftest.obj
3684 if { { ac_try
="$ac_compile"
3686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_compile") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; then :
3695 for ac_file in conftest.o conftest.obj conftest.*; do
3696 test -f "$ac_file" || continue;
3698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3699 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3704 $as_echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.$ac_ext >&5
3707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_error "cannot compute suffix of object files
: cannot compile
3710 See \
`config.log' for more details." "$LINENO" 5; }
3712 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3715 $as_echo "$ac_cv_objext" >&6; }
3716 OBJEXT=$ac_cv_objext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3719 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3720 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3737 if ac_fn_c_try_compile "$LINENO"; then :
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3747 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3748 if test $ac_compiler_gnu = yes; then
3753 ac_test_CFLAGS=${CFLAGS+set}
3754 ac_save_CFLAGS=$CFLAGS
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3756 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3757 if test "${ac_cv_prog_cc_g+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_save_c_werror_flag=$ac_c_werror_flag
3761 ac_c_werror_flag=yes
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3793 ac_c_werror_flag=$ac_save_c_werror_flag
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3806 if ac_fn_c_try_compile "$LINENO"; then :
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 ac_c_werror_flag=$ac_save_c_werror_flag
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3817 $as_echo "$ac_cv_prog_cc_g" >&6; }
3818 if test "$ac_test_CFLAGS" = set; then
3819 CFLAGS=$ac_save_CFLAGS
3820 elif test $ac_cv_prog_cc_g = yes; then
3821 if test "$GCC" = yes; then
3827 if test "$GCC" = yes; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3834 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3835 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 ac_cv_prog_cc_c89=no
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3844 #include <sys/types.h>
3845 #include <sys/stat.h>
3846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3847 struct buf { int x; };
3848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3849 static char *e (p, i)
3855 static char *f (char * (*g) (char **, int), char **p, ...)
3860 s = g (p, va_arg (v,int));
3865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3866 function prototypes and stuff, but not '\xHH' hex character constants.
3867 These don't provoke an error unfortunately, instead are silently treated
3868 as 'x'. The following induces an error, until -std is added to get
3869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3870 array size at least. It's necessary to write '\x00'==0 to get something
3871 that's true only with -std. */
3872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3874 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3875 inside strings and character constants. */
3877 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3879 int test (int i, double x);
3880 struct s1 {int (*f) (int a);};
3881 struct s2 {int (*f) (double a);};
3882 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3888 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3896 CC="$ac_save_CC $ac_arg"
3897 if ac_fn_c_try_compile "$LINENO"; then :
3898 ac_cv_prog_cc_c89=$ac_arg
3900 rm -f core conftest.err conftest.$ac_objext
3901 test "x$ac_cv_prog_cc_c89" != "xno" && break
3903 rm -f conftest.$ac_ext
3908 case "x$ac_cv_prog_cc_c89" in
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3911 $as_echo "none needed" >&6; } ;;
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3914 $as_echo "unsupported" >&6; } ;;
3916 CC="$CC $ac_cv_prog_cc_c89"
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3918 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3920 if test "x$ac_cv_prog_cc_c89" != xno; then :
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 DEPDIR="${am__leading_dot}deps"
3931 ac_config_commands="$ac_config_commands depfiles"
3934 am_make=${MAKE-make}
3935 cat > confinc << 'END'
3937 @echo this is the am__doit target
3940 # If we don't find an include directive, just comment out the code.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3942 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3946 # First try GNU make style include.
3947 echo "include confinc" > confmf
3948 # Ignore all kinds of additional output from `make'.
3949 case `$am_make -s -f confmf 2> /dev/null` in #(
3950 *the\ am__doit\ target*)
3956 # Now try BSD make style include.
3957 if test "$am__include" = "#"; then
3958 echo '.include
"confinc"' > confmf
3959 case `$am_make -s -f confmf 2> /dev/null` in #(
3960 *the\ am__doit\ target*)
3961 am__include=.include
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3970 $as_echo "$_am_result" >&6; }
3971 rm -f confinc confmf
3973 # Check whether --enable-dependency-tracking was given.
3974 if test "${enable_dependency_tracking+set}" = set; then :
3975 enableval=$enable_dependency_tracking;
3978 if test "x$enable_dependency_tracking" != xno; then
3979 am_depcomp="$ac_aux_dir/depcomp"
3983 if test "x$enable_dependency_tracking" != xno
; then
3993 depcc
="$CC" am_compiler_list
=
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3996 $as_echo_n "checking dependency style of $depcc... " >&6; }
3997 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4001 # We make a subdir and do the tests there. Otherwise we can end up
4002 # making bogus files that we don't know about and never remove. For
4003 # instance it was reported that on HP-UX the gcc test will end up
4004 # making a dummy file named `D' -- because `-MD' means `put the output
4008 # Copy depcomp to subdir because otherwise we won't find it if we're
4009 # using a relative directory.
4010 cp "$am_depcomp" conftest.dir
4012 # We will build objects and dependencies in a subdirectory because
4013 # it helps to detect inapplicable dependency modes. For instance
4014 # both Tru64's cc and ICC support -MD to output dependencies as a
4015 # side effect of compilation, but ICC will put the dependencies in
4016 # the current directory while Tru64 will put them in the object
4020 am_cv_CC_dependencies_compiler_type
=none
4021 if test "$am_compiler_list" = ""; then
4022 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4025 case " $depcc " in #(
4026 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4029 for depmode
in $am_compiler_list; do
4030 # Setup a source with many dependencies, because some compilers
4031 # like to wrap large dependency lists on column 80 (with \), and
4032 # we should not choose a depcomp mode which is confused by this.
4034 # We need to recreate these files for each test, as the compiler may
4035 # overwrite some of them when testing with obscure command lines.
4036 # This happens at least with the AIX C compiler.
4038 for i
in 1 2 3 4 5 6; do
4039 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4040 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4041 # Solaris 8's {/usr,}/bin/sh.
4042 touch sub
/conftst
$i.h
4044 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4046 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4047 # mode. It turns out that the SunPro C++ compiler does not properly
4048 # handle `-M -o', and we need to detect this. Also, some Intel
4049 # versions had trouble with output in subdirs
4050 am__obj
=sub
/conftest.
${OBJEXT-o}
4051 am__minus_obj
="-o $am__obj"
4054 # This depmode causes a compiler race in universal mode.
4055 test "$am__universal" = false ||
continue
4058 # after this tag, mechanisms are not by side-effect, so they'll
4059 # only be used when explicitly requested
4060 if test "x$enable_dependency_tracking" = xyes
; then
4066 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4067 # This compiler won't grok `-c -o', but also, the minuso test has
4068 # not run yet. These depmodes are late enough in the game, and
4069 # so weak that their functioning should not be impacted.
4070 am__obj
=conftest.
${OBJEXT-o}
4075 if depmode
=$depmode \
4076 source=sub
/conftest.c object
=$am__obj \
4077 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4078 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4079 >/dev
/null
2>conftest.err
&&
4080 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4081 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4082 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4083 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4084 # icc doesn't choke on unknown options, it will just issue warnings
4085 # or remarks (even with -Werror). So we grep stderr for any message
4086 # that says an option was ignored or not supported.
4087 # When given -MP, icc 7.0 and 7.1 complain thusly:
4088 # icc: Command line warning: ignoring option '-M'; no argument required
4089 # The diagnosis changed in icc 8.0:
4090 # icc: Command line remark: option '-MP' not supported
4091 if (grep 'ignoring option' conftest.err ||
4092 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4093 am_cv_CC_dependencies_compiler_type
=$depmode
4102 am_cv_CC_dependencies_compiler_type
=none
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4107 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4108 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4111 test "x$enable_dependency_tracking" != xno \
4112 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4114 am__fastdepCC_FALSE
='#'
4116 am__fastdepCC_TRUE
='#'
4117 am__fastdepCC_FALSE
=
4122 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4123 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 if test -n "$ac_tool_prefix"; then
4126 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4127 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 $as_echo_n "checking for $ac_word... " >&6; }
4130 if test "${ac_cv_prog_GOC+set}" = set; then :
4131 $as_echo_n "(cached) " >&6
4133 if test -n "$GOC"; then
4134 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir
=.
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4143 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 if test -n "$GOC"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4156 $as_echo "$GOC" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4159 $as_echo "no" >&6; }
4164 if test -z "$ac_cv_prog_GOC"; then
4166 # Extract the first word of "gccgo", so it can be a program name with args.
4167 set dummy gccgo
; ac_word
=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4173 if test -n "$ac_ct_GOC"; then
4174 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 ac_cv_prog_ac_ct_GOC
="gccgo"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4194 if test -n "$ac_ct_GOC"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4196 $as_echo "$ac_ct_GOC" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4202 if test "x$ac_ct_GOC" = x
; then
4205 case $cross_compiling:$ac_tool_warned in
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4209 ac_tool_warned
=yes ;;
4214 GOC
="$ac_cv_prog_GOC"
4217 if test -z "$GOC"; then
4218 if test -n "$ac_tool_prefix"; then
4219 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4220 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 $as_echo_n "checking for $ac_word... " >&6; }
4223 if test "${ac_cv_prog_GOC+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4226 if test -n "$GOC"; then
4227 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir
=.
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4236 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 if test -n "$GOC"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4249 $as_echo "$GOC" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4258 if test -z "$GOC"; then
4259 # Extract the first word of "gccgo", so it can be a program name with args.
4260 set dummy gccgo
; ac_word
=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if test "${ac_cv_prog_GOC+set}" = set; then :
4264 $as_echo_n "(cached) " >&6
4266 if test -n "$GOC"; then
4267 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir
=.
4275 for ac_exec_ext
in '' $ac_executable_extensions; do
4276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4277 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4278 ac_prog_rejected
=yes
4281 ac_cv_prog_GOC
="gccgo"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 if test $ac_prog_rejected = yes; then
4290 # We found a bogon in the path, so make sure we never use it.
4291 set dummy
$ac_cv_prog_GOC
4293 if test $# != 0; then
4294 # We chose a different compiler from the bogus one.
4295 # However, it has the same basename, so the bogon will be chosen
4296 # first if we set GOC to just the basename; use the full file name.
4298 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4304 if test -n "$GOC"; then
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4306 $as_echo "$GOC" >&6; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4309 $as_echo "no" >&6; }
4316 # Provide some information about the compiler.
4317 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4320 { { ac_try
="$ac_compiler --version >&5"
4322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4323 *) ac_try_echo=$ac_try;;
4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_compiler --version >&5") 2>conftest.err
4329 if test -s conftest.err; then
4331 ... rest of stderr output deleted ...
4332 10q' conftest.err >conftest.er1
4333 cat conftest.er1 >&5
4334 rm -f conftest.er1 conftest.err
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; }
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4351 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4352 # Check whether --enable-maintainer-mode was given.
4353 if test "${enable_maintainer_mode+set}" = set; then :
4354 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4356 USE_MAINTAINER_MODE=no
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4360 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4361 if test $USE_MAINTAINER_MODE = yes; then
4362 MAINTAINER_MODE_TRUE=
4363 MAINTAINER_MODE_FALSE='#'
4365 MAINTAINER_MODE_TRUE='#'
4366 MAINTAINER_MODE_FALSE=
4369 MAINT=$MAINTAINER_MODE_TRUE
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4374 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4375 if test "${ac_cv_path_SED+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4379 for ac_i in 1 2 3 4 5 6 7; do
4380 ac_script="$ac_script$as_nl$ac_script"
4382 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4383 { ac_script=; unset ac_script;}
4384 if test -z "$SED"; then
4385 ac_path_SED_found=false
4386 # Loop through the user's path and test for each of PROGNAME-LIST
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir=.
4392 for ac_prog in sed gsed; do
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4395 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4396 # Check for GNU ac_path_SED and select it if it is found.
4397 # Check for GNU $ac_path_SED
4398 case `"$ac_path_SED" --version 2>&1` in
4400 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4403 $as_echo_n 0123456789 >"conftest.in"
4406 cat "conftest.in" "conftest.in" >"conftest.tmp"
4407 mv "conftest.tmp" "conftest.in"
4408 cp "conftest.in" "conftest.nl"
4409 $as_echo '' >> "conftest.nl"
4410 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4412 as_fn_arith $ac_count + 1 && ac_count=$as_val
4413 if test $ac_count -gt ${ac_path_SED_max-0}; then
4414 # Best one so far, save it but keep looking for a better one
4415 ac_cv_path_SED="$ac_path_SED"
4416 ac_path_SED_max=$ac_count
4418 # 10*(2^10) chars as input seems more than enough
4419 test $ac_count -gt 10 && break
4421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4424 $ac_path_SED_found && break 3
4429 if test -z "$ac_cv_path_SED"; then
4430 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4438 $as_echo "$ac_cv_path_SED" >&6; }
4439 SED="$ac_cv_path_SED"
4442 test -z "$SED" && SED=sed
4443 Xsed="$SED -e 1s/^X//"
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4456 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4457 if test "${ac_cv_path_GREP+set}" = set; then :
4458 $as_echo_n "(cached) " >&6
4460 if test -z "$GREP"; then
4461 ac_path_GREP_found=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4467 test -z "$as_dir" && as_dir=.
4468 for ac_prog in grep ggrep; do
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4471 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4472 # Check for GNU ac_path_GREP and select it if it is found.
4473 # Check for GNU $ac_path_GREP
4474 case `"$ac_path_GREP" --version 2>&1` in
4476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4479 $as_echo_n 0123456789 >"conftest.in"
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 $as_echo 'GREP' >> "conftest.nl"
4486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488 as_fn_arith $ac_count + 1 && ac_count=$as_val
4489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_GREP="$ac_path_GREP"
4492 ac_path_GREP_max=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4500 $ac_path_GREP_found && break 3
4505 if test -z "$ac_cv_path_GREP"; then
4506 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4509 ac_cv_path_GREP=$GREP
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4514 $as_echo "$ac_cv_path_GREP" >&6; }
4515 GREP="$ac_cv_path_GREP"
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4519 $as_echo_n "checking for egrep... " >&6; }
4520 if test "${ac_cv_path_EGREP+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4523 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4524 then ac_cv_path_EGREP="$GREP -E"
4526 if test -z "$EGREP"; then
4527 ac_path_EGREP_found=false
4528 # Loop through the user's path and test for each of PROGNAME-LIST
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4533 test -z "$as_dir" && as_dir=.
4534 for ac_prog in egrep; do
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4537 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4538 # Check for GNU ac_path_EGREP and select it if it is found.
4539 # Check for GNU $ac_path_EGREP
4540 case `"$ac_path_EGREP" --version 2>&1` in
4542 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4545 $as_echo_n 0123456789 >"conftest.in"
4548 cat "conftest.in" "conftest.in" >"conftest.tmp"
4549 mv "conftest.tmp" "conftest.in"
4550 cp "conftest.in" "conftest.nl"
4551 $as_echo 'EGREP' >> "conftest.nl"
4552 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4553 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4554 as_fn_arith $ac_count + 1 && ac_count=$as_val
4555 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4556 # Best one so far, save it but keep looking for a better one
4557 ac_cv_path_EGREP="$ac_path_EGREP"
4558 ac_path_EGREP_max=$ac_count
4560 # 10*(2^10) chars as input seems more than enough
4561 test $ac_count -gt 10 && break
4563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4566 $ac_path_EGREP_found && break 3
4571 if test -z "$ac_cv_path_EGREP"; then
4572 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4575 ac_cv_path_EGREP=$EGREP
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4581 $as_echo "$ac_cv_path_EGREP" >&6; }
4582 EGREP="$ac_cv_path_EGREP"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4586 $as_echo_n "checking for fgrep... " >&6; }
4587 if test "${ac_cv_path_FGREP+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4590 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4591 then ac_cv_path_FGREP="$GREP -F"
4593 if test -z "$FGREP"; then
4594 ac_path_FGREP_found=false
4595 # Loop through the user's path and test for each of PROGNAME-LIST
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4600 test -z "$as_dir" && as_dir=.
4601 for ac_prog in fgrep; do
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4604 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4605 # Check for GNU ac_path_FGREP and select it if it is found.
4606 # Check for GNU $ac_path_FGREP
4607 case `"$ac_path_FGREP" --version 2>&1` in
4609 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4612 $as_echo_n 0123456789 >"conftest.in"
4615 cat "conftest.in" "conftest.in" >"conftest.tmp"
4616 mv "conftest.tmp" "conftest.in"
4617 cp "conftest.in" "conftest.nl"
4618 $as_echo 'FGREP' >> "conftest.nl"
4619 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4620 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4621 as_fn_arith $ac_count + 1 && ac_count=$as_val
4622 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4623 # Best one so far, save it but keep looking for a better one
4624 ac_cv_path_FGREP="$ac_path_FGREP"
4625 ac_path_FGREP_max=$ac_count
4627 # 10*(2^10) chars as input seems more than enough
4628 test $ac_count -gt 10 && break
4630 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4633 $ac_path_FGREP_found && break 3
4638 if test -z "$ac_cv_path_FGREP"; then
4639 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642 ac_cv_path_FGREP=$FGREP
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4648 $as_echo "$ac_cv_path_FGREP" >&6; }
4649 FGREP="$ac_cv_path_FGREP"
4652 test -z "$GREP" && GREP=grep
4670 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4671 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4672 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4675 $as_echo_n "checking how to print strings... " >&6; }
4676 # Test print first, because it will be a builtin if present.
4677 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4678 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4680 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4683 # Use this function as a fallback that always works.
4684 func_fallback_echo ()
4686 eval 'cat <<_LTECHO_EOF
4690 ECHO='func_fallback_echo'
4693 # func_echo_all arg...
4694 # Invoke $ECHO with all args, space-separated.
4701 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4702 $as_echo "printf" >&6; } ;;
4703 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4704 $as_echo "print -r" >&6; } ;;
4705 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4706 $as_echo "cat" >&6; } ;;
4724 # Check whether --with-gnu-ld was given.
4725 if test "${with_gnu_ld+set}" = set; then :
4726 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4732 if test "$GCC" = yes; then
4733 # Check if gcc -print-prog-name=ld gives a path.
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4735 $as_echo_n "checking for ld used by $CC... " >&6; }
4738 # gcc leaves a trailing carriage return which upsets mingw
4739 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4741 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4744 # Accept absolute paths.
4746 re_direlt='/[^/][^/]*/\.\./'
4747 # Canonicalize the pathname of ld
4748 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4749 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4750 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4752 test -z "$LD" && LD="$ac_prog"
4755 # If it fails, then pretend we aren't using GCC.
4759 # If it is relative, then search for the first ld in PATH.
4763 elif test "$with_gnu_ld" = yes; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4765 $as_echo_n "checking for GNU ld... " >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4768 $as_echo_n "checking for non-GNU ld... " >&6; }
4770 if test "${lt_cv_path_LD+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4773 if test -z "$LD"; then
4774 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4775 for ac_dir in $PATH; do
4777 test -z "$ac_dir" && ac_dir=.
4778 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4779 lt_cv_path_LD="$ac_dir/$ac_prog"
4780 # Check to see if the program is GNU ld. I'd rather use --version,
4781 # but apparently some variants of GNU ld only accept -v.
4782 # Break only if it was the GNU/non-GNU ld that we prefer.
4783 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4784 *GNU* | *'with BFD'*)
4785 test "$with_gnu_ld" != no && break
4788 test "$with_gnu_ld" != yes && break
4795 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4800 if test -n "$LD"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4802 $as_echo "$LD" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4807 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4809 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4810 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4813 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4814 case `$LD -v 2>&1 </dev
/null
` in
4815 *GNU* | *'with BFD'*)
4816 lt_cv_prog_gnu_ld=yes
4819 lt_cv_prog_gnu_ld=no
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4824 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4825 with_gnu_ld=$lt_cv_prog_gnu_ld
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4837 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$RANLIB"; then
4844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 RANLIB=$ac_cv_prog_RANLIB
4864 if test -n "$RANLIB"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4866 $as_echo "$RANLIB" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4874 if test -z "$ac_cv_prog_RANLIB"; then
4875 ac_ct_RANLIB=$RANLIB
4876 # Extract the first word of "ranlib", so it can be a program name with args.
4877 set dummy ranlib; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$ac_ct_RANLIB"; then
4884 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893 ac_cv_prog_ac_ct_RANLIB="ranlib"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4904 if test -n "$ac_ct_RANLIB"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4906 $as_echo "$ac_ct_RANLIB" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4912 if test "x$ac_ct_RANLIB" = x; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4921 RANLIB=$ac_ct_RANLIB
4924 RANLIB="$ac_cv_prog_RANLIB"
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$OBJCOPY"; then
4936 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 OBJCOPY=$ac_cv_prog_OBJCOPY
4956 if test -n "$OBJCOPY"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4958 $as_echo "$OBJCOPY" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4966 if test -z "$ac_cv_prog_OBJCOPY"; then
4967 ac_ct_OBJCOPY=$OBJCOPY
4968 # Extract the first word of "objcopy", so it can be a program name with args.
4969 set dummy objcopy; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$ac_ct_OBJCOPY"; then
4976 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4996 if test -n "$ac_ct_OBJCOPY"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4998 $as_echo "$ac_ct_OBJCOPY" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5004 if test "x$ac_ct_OBJCOPY" = x; then
5005 OBJCOPY="missing-objcopy"
5007 case $cross_compiling:$ac_tool_warned in
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5011 ac_tool_warned=yes ;;
5013 OBJCOPY=$ac_ct_OBJCOPY
5016 OBJCOPY="$ac_cv_prog_OBJCOPY"
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5027 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5032 macro_version='2.2.7a'
5033 macro_revision='1.3134'
5047 ltmain="$ac_aux_dir/ltmain.sh"
5049 # Backslashify metacharacters that are still active within
5050 # double-quoted strings.
5051 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5053 # Same as above, but do not quote variable references.
5054 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5056 # Sed substitution to delay expansion of an escaped shell variable in a
5057 # double_quote_subst'ed string.
5058 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5060 # Sed substitution to delay expansion of an escaped single quote.
5061 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5063 # Sed substitution to avoid accidental globbing in evaled expressions
5064 no_glob_subst='s/\*/\\\*/g'
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5067 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5068 if test "${lt_cv_path_NM+set}" = set; then :
5069 $as_echo_n "(cached
) " >&6
5071 if test -n "$NM"; then
5072 # Let the user override the test.
5075 lt_nm_to_check="${ac_tool_prefix}nm
"
5076 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5077 lt_nm_to_check="$lt_nm_to_check nm
"
5079 for lt_tmp_nm in $lt_nm_to_check; do
5080 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5081 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5083 test -z "$ac_dir" && ac_dir=.
5084 tmp_nm="$ac_dir/$lt_tmp_nm"
5085 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5086 # Check to see if the nm accepts a BSD-compat flag.
5087 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5088 # nm: unknown option "B
" ignored
5089 # Tru64's nm complains that /dev/null is an invalid object file
5090 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5091 */dev/null* | *'Invalid file or object type'*)
5092 lt_cv_path_NM="$tmp_nm -B"
5096 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5098 lt_cv_path_NM="$tmp_nm -p"
5102 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5103 continue # so that we can try to find one that supports BSD flags
5112 : ${lt_cv_path_NM=no}
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5116 $as_echo "$lt_cv_path_NM" >&6; }
5117 if test "$lt_cv_path_NM" != "no
"; then
5120 # Didn't find any BSD compatible name lister, look for dumpbin.
5121 if test -n "$DUMPBIN"; then :
5122 # Let the user override the test.
5124 if test -n "$ac_tool_prefix"; then
5125 for ac_prog in dumpbin "link
-dump"
5127 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5128 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5130 $as_echo_n "checking
for $ac_word...
" >&6; }
5131 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5132 $as_echo_n "(cached
) " >&6
5134 if test -n "$DUMPBIN"; then
5135 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5154 DUMPBIN=$ac_cv_prog_DUMPBIN
5155 if test -n "$DUMPBIN"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5157 $as_echo "$DUMPBIN" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5160 $as_echo "no
" >&6; }
5164 test -n "$DUMPBIN" && break
5167 if test -z "$DUMPBIN"; then
5168 ac_ct_DUMPBIN=$DUMPBIN
5169 for ac_prog in dumpbin "link
-dump"
5171 # Extract the first word of "$ac_prog", so it can be a program name with args.
5172 set dummy $ac_prog; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5174 $as_echo_n "checking
for $ac_word...
" >&6; }
5175 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5176 $as_echo_n "(cached
) " >&6
5178 if test -n "$ac_ct_DUMPBIN"; then
5179 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5199 if test -n "$ac_ct_DUMPBIN"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5201 $as_echo "$ac_ct_DUMPBIN" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5204 $as_echo "no
" >&6; }
5208 test -n "$ac_ct_DUMPBIN" && break
5211 if test "x
$ac_ct_DUMPBIN" = x; then
5214 case $cross_compiling:$ac_tool_warned in
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5217 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5218 ac_tool_warned=yes ;;
5220 DUMPBIN=$ac_ct_DUMPBIN
5224 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5226 DUMPBIN="$DUMPBIN -symbols"
5234 if test "$DUMPBIN" != ":"; then
5238 test -z "$NM" && NM=nm
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5246 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5247 if test "${lt_cv_nm_interface+set}" = set; then :
5248 $as_echo_n "(cached
) " >&6
5250 lt_cv_nm_interface="BSD nm
"
5251 echo "int some_variable
= 0;" > conftest.$ac_ext
5252 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5253 (eval "$ac_compile" 2>conftest.err)
5254 cat conftest.err >&5
5255 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5256 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5257 cat conftest.err >&5
5258 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5259 cat conftest.out >&5
5260 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5261 lt_cv_nm_interface="MS dumpbin
"
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5266 $as_echo "$lt_cv_nm_interface" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5269 $as_echo_n "checking whether
ln -s works...
" >&6; }
5271 if test "$LN_S" = "ln -s"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5273 $as_echo "yes" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5276 $as_echo "no
, using
$LN_S" >&6; }
5279 # find the maximum length of command line arguments
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5281 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5282 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5283 $as_echo_n "(cached
) " >&6
5290 # On DJGPP, this test can blow up pretty badly due to problems in libc
5291 # (any single argument exceeding 2000 bytes causes a buffer overrun
5292 # during glob expansion). Even if it were fixed, the result of this
5293 # check would be larger than it should be.
5294 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5298 # Under GNU Hurd, this test is not required because there is
5299 # no limit to the length of command line arguments.
5300 # Libtool will interpret -1 as no limit whatsoever
5301 lt_cv_sys_max_cmd_len=-1;
5304 cygwin* | mingw* | cegcc*)
5305 # On Win9x/ME, this test blows up -- it succeeds, but takes
5306 # about 5 minutes as the teststring grows exponentially.
5307 # Worse, since 9x/ME are not pre-emptively multitasking,
5308 # you end up with a "frozen
" computer, even though with patience
5309 # the test eventually succeeds (with a max line length of 256k).
5310 # Instead, let's just punt: use the minimum linelength reported by
5311 # all of the supported platforms: 8192 (on NT/2K/XP).
5312 lt_cv_sys_max_cmd_len=8192;
5316 # On MiNT this can take a long time and run out of memory.
5317 lt_cv_sys_max_cmd_len=8192;
5321 # On AmigaOS with pdksh, this test takes hours, literally.
5322 # So we just punt and use a minimum line length of 8192.
5323 lt_cv_sys_max_cmd_len=8192;
5326 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5327 # This has been around since 386BSD, at least. Likely further.
5328 if test -x /sbin/sysctl; then
5329 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5330 elif test -x /usr/sbin/sysctl; then
5331 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5333 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5335 # And add a safety zone
5336 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5337 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5341 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5342 lt_cv_sys_max_cmd_len=196608
5346 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5347 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5348 # nice to cause kernel panics so lets avoid the loop below.
5349 # First set a reasonable default.
5350 lt_cv_sys_max_cmd_len=16384
5352 if test -x /sbin/sysconfig; then
5353 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5354 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5359 lt_cv_sys_max_cmd_len=102400
5361 sysv5* | sco5v6* | sysv4.2uw2*)
5362 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5363 if test -n "$kargmax"; then
5364 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5366 lt_cv_sys_max_cmd_len=32768
5370 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5371 if test -n "$lt_cv_sys_max_cmd_len"; then
5372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5375 # Make teststring a little bigger before we do anything with it.
5376 # a 1K string should be a reasonable start.
5377 for i in 1 2 3 4 5 6 7 8 ; do
5378 teststring=$teststring$teststring
5380 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5381 # If test is not a shell built-in, we'll probably end up computing a
5382 # maximum length that is only half of the actual maximum length, but
5384 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5385 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5386 test $i != 17 # 1/2 MB should be enough
5389 teststring=$teststring$teststring
5391 # Only check the string length outside the loop.
5392 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5394 # Add a significant safety factor because C++ compilers can tack on
5395 # massive amounts of additional arguments before passing them to the
5396 # linker. It appears as though 1/2 is a usable value.
5397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5404 if test -n $lt_cv_sys_max_cmd_len ; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5406 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5409 $as_echo "none
" >&6; }
5411 max_cmd_len=$lt_cv_sys_max_cmd_len
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5423 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5424 # Try some XSI features
5427 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5429 && eval 'test $(( 1 + 1 )) -eq 2 \
5430 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5433 $as_echo "$xsi_shell" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5437 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5439 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5441 && lt_shell_append
=yes
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5443 $as_echo "$lt_shell_append" >&6; }
5446 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5456 # test EBCDIC or ASCII
5457 case `echo X|tr X '\101'` in
5458 A
) # ASCII based system
5459 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5460 lt_SP2NL
='tr \040 \012'
5461 lt_NL2SP
='tr \015\012 \040\040'
5463 *) # EBCDIC based system
5464 lt_SP2NL
='tr \100 \n'
5465 lt_NL2SP
='tr \r\n \100\100'
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5478 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5479 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5480 $as_echo_n "(cached) " >&6
5482 lt_cv_ld_reload_flag
='-r'
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5485 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5486 reload_flag
=$lt_cv_ld_reload_flag
5487 case $reload_flag in
5489 *) reload_flag
=" $reload_flag" ;;
5491 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5494 if test "$GCC" = yes; then
5495 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5497 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5510 if test -n "$ac_tool_prefix"; then
5511 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5512 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5516 $as_echo_n "(cached) " >&6
5518 if test -n "$OBJDUMP"; then
5519 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir
=.
5526 for ac_exec_ext
in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 OBJDUMP
=$ac_cv_prog_OBJDUMP
5539 if test -n "$OBJDUMP"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5541 $as_echo "$OBJDUMP" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5549 if test -z "$ac_cv_prog_OBJDUMP"; then
5550 ac_ct_OBJDUMP
=$OBJDUMP
5551 # Extract the first word of "objdump", so it can be a program name with args.
5552 set dummy objdump
; ac_word
=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -n "$ac_ct_OBJDUMP"; then
5559 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir
=.
5566 for ac_exec_ext
in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5579 if test -n "$ac_ct_OBJDUMP"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5581 $as_echo "$ac_ct_OBJDUMP" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5587 if test "x$ac_ct_OBJDUMP" = x
; then
5590 case $cross_compiling:$ac_tool_warned in
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5594 ac_tool_warned
=yes ;;
5596 OBJDUMP
=$ac_ct_OBJDUMP
5599 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5602 test -z "$OBJDUMP" && OBJDUMP
=objdump
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5613 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5614 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5617 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5618 lt_cv_file_magic_test_file
=
5619 lt_cv_deplibs_check_method
='unknown'
5620 # Need to set the preceding variable on all platforms that support
5621 # interlibrary dependencies.
5622 # 'none' -- dependencies not supported.
5623 # `unknown' -- same as none, but documents that we really don't know.
5624 # 'pass_all' -- all dependencies passed with no checks.
5625 # 'test_compile' -- check by making test program.
5626 # 'file_magic [[regex]]' -- check by looking for files in library path
5627 # which responds to the $file_magic_cmd with a given extended regex.
5628 # If you have `file' or equivalent on your system and you're not sure
5629 # whether `pass_all' will *always* work, you probably want this one.
5633 lt_cv_deplibs_check_method
=pass_all
5637 lt_cv_deplibs_check_method
=pass_all
5641 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5642 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5643 lt_cv_file_magic_test_file
=/shlib
/libc.so
5647 # func_win32_libid is a shell function defined in ltmain.sh
5648 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5649 lt_cv_file_magic_cmd
='func_win32_libid'
5653 # Base MSYS/MinGW do not provide the 'file' command needed by
5654 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5655 # unless we find 'file', for example because we are cross-compiling.
5656 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5657 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5658 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5659 lt_cv_file_magic_cmd
='func_win32_libid'
5661 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5662 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5667 # use the weaker test based on 'objdump'. See mingw*.
5668 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5669 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5672 darwin
* | rhapsody
*)
5673 lt_cv_deplibs_check_method
=pass_all
5676 freebsd
* | dragonfly
*)
5677 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5680 # Not sure whether the presence of OpenBSD here was a mistake.
5681 # Let's accept both of them until this is cleared up.
5682 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5683 lt_cv_file_magic_cmd
=/usr
/bin
/file
5684 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5688 lt_cv_deplibs_check_method
=pass_all
5693 lt_cv_deplibs_check_method
=pass_all
5697 lt_cv_deplibs_check_method
=pass_all
5700 hpux10.20
* | hpux11
*)
5701 lt_cv_file_magic_cmd
=/usr
/bin
/file
5704 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5705 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5708 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]'
5709 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5712 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5713 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5719 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5720 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5723 irix5
* | irix6
* | nonstopux
*)
5725 *-32|
*"-32 ") libmagic
=32-bit;;
5726 *-n32|
*"-n32 ") libmagic
=N32
;;
5727 *-64|
*"-64 ") libmagic
=64-bit;;
5728 *) libmagic
=never-match
;;
5730 lt_cv_deplibs_check_method
=pass_all
5733 # This must be Linux ELF.
5734 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5735 lt_cv_deplibs_check_method
=pass_all
5739 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5740 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5742 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5747 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5748 lt_cv_file_magic_cmd
=/usr
/bin
/file
5749 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5753 lt_cv_deplibs_check_method
=pass_all
5757 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5758 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5760 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5764 osf3
* | osf4
* | osf5
*)
5765 lt_cv_deplibs_check_method
=pass_all
5769 lt_cv_deplibs_check_method
=pass_all
5773 lt_cv_deplibs_check_method
=pass_all
5776 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5777 lt_cv_deplibs_check_method
=pass_all
5781 case $host_vendor in
5783 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]'
5784 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5787 lt_cv_deplibs_check_method
=pass_all
5790 lt_cv_file_magic_cmd
='/bin/file'
5791 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5794 lt_cv_file_magic_cmd
='/bin/file'
5795 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5796 lt_cv_file_magic_test_file
=/lib
/libc.so
5799 lt_cv_deplibs_check_method
=pass_all
5802 lt_cv_deplibs_check_method
=pass_all
5808 lt_cv_deplibs_check_method
=pass_all
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5814 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5815 file_magic_cmd
=$lt_cv_file_magic_cmd
5816 deplibs_check_method
=$lt_cv_deplibs_check_method
5817 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5832 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if test "${ac_cv_prog_AR+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -n "$AR"; then
5839 ac_cv_prog_AR
="$AR" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 if test -n "$AR"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5861 $as_echo "$AR" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5869 if test -z "$ac_cv_prog_AR"; then
5871 # Extract the first word of "ar", so it can be a program name with args.
5872 set dummy
ar; ac_word
=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5876 $as_echo_n "(cached) " >&6
5878 if test -n "$ac_ct_AR"; then
5879 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_prog_ac_ct_AR
="ar"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5899 if test -n "$ac_ct_AR"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5901 $as_echo "$ac_ct_AR" >&6; }
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5907 if test "x$ac_ct_AR" = x
; then
5910 case $cross_compiling:$ac_tool_warned in
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5914 ac_tool_warned
=yes ;;
5922 test -z "$AR" && AR
=ar
5923 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5935 if test -n "$ac_tool_prefix"; then
5936 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5937 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if test "${ac_cv_prog_STRIP+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5943 if test -n "$STRIP"; then
5944 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir
=.
5951 for ac_exec_ext
in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 STRIP
=$ac_cv_prog_STRIP
5964 if test -n "$STRIP"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5966 $as_echo "$STRIP" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5974 if test -z "$ac_cv_prog_STRIP"; then
5976 # Extract the first word of "strip", so it can be a program name with args.
5977 set dummy strip
; ac_word
=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5981 $as_echo_n "(cached) " >&6
5983 if test -n "$ac_ct_STRIP"; then
5984 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir
=.
5991 for ac_exec_ext
in '' $ac_executable_extensions; do
5992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5993 ac_cv_prog_ac_ct_STRIP
="strip"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6004 if test -n "$ac_ct_STRIP"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6006 $as_echo "$ac_ct_STRIP" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6012 if test "x$ac_ct_STRIP" = x
; then
6015 case $cross_compiling:$ac_tool_warned in
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6019 ac_tool_warned
=yes ;;
6024 STRIP
="$ac_cv_prog_STRIP"
6027 test -z "$STRIP" && STRIP
=:
6034 if test -n "$ac_tool_prefix"; then
6035 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6036 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6040 $as_echo_n "(cached) " >&6
6042 if test -n "$RANLIB"; then
6043 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6049 test -z "$as_dir" && as_dir
=.
6050 for ac_exec_ext
in '' $ac_executable_extensions; do
6051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6052 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 RANLIB
=$ac_cv_prog_RANLIB
6063 if test -n "$RANLIB"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6065 $as_echo "$RANLIB" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6073 if test -z "$ac_cv_prog_RANLIB"; then
6074 ac_ct_RANLIB
=$RANLIB
6075 # Extract the first word of "ranlib", so it can be a program name with args.
6076 set dummy ranlib
; ac_word
=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6080 $as_echo_n "(cached) " >&6
6082 if test -n "$ac_ct_RANLIB"; then
6083 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir
=.
6090 for ac_exec_ext
in '' $ac_executable_extensions; do
6091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6092 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6103 if test -n "$ac_ct_RANLIB"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6105 $as_echo "$ac_ct_RANLIB" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6111 if test "x$ac_ct_RANLIB" = x
; then
6114 case $cross_compiling:$ac_tool_warned in
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6118 ac_tool_warned
=yes ;;
6120 RANLIB
=$ac_ct_RANLIB
6123 RANLIB
="$ac_cv_prog_RANLIB"
6126 test -z "$RANLIB" && RANLIB
=:
6133 # Determine commands to create old-style static archives.
6134 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6135 old_postinstall_cmds
='chmod 644 $oldlib'
6136 old_postuninstall_cmds
=
6138 if test -n "$RANLIB"; then
6141 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6144 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6147 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6152 lock_old_archive_extraction
=yes ;;
6154 lock_old_archive_extraction
=no
;;
6195 # If no C compiler was specified, use CC.
6198 # If no C compiler flags were specified, use CFLAGS.
6199 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6201 # Allow CC to be a program name with arguments.
6205 # Check for command to grab the raw symbol name followed by C symbol from nm.
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6207 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6208 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6212 # These are sane defaults that work on at least a few old systems.
6213 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6215 # Character class describing NM global symbol codes.
6216 symcode
='[BCDEGRST]'
6218 # Regexp to match symbols that can be accessed directly from C.
6219 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6221 # Define system-specific variables.
6226 cygwin
* | mingw
* | pw32
* | cegcc
*)
6227 symcode
='[ABCDGISTW]'
6230 if test "$host_cpu" = ia64
; then
6231 symcode
='[ABCDEGRST]'
6235 symcode
='[BCDEGRST]'
6238 symcode
='[BCDEGQRST]'
6249 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6257 # If we're using GNU nm, then use its standard symbol codes.
6258 case `$NM -V 2>&1` in
6259 *GNU
* |
*'with BFD'*)
6260 symcode
='[ABCDGIRSTW]' ;;
6263 # Transform an extracted symbol line into a proper C declaration.
6264 # Some systems (esp. on ia64) link data and code symbols differently,
6265 # so use this general approach.
6266 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6268 # Transform an extracted symbol line into symbol name and symbol address
6269 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6270 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'"
6272 # Handle CRLF in mingw tool chain
6276 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6280 # Try without a prefix underscore, then with it.
6281 for ac_symprfx
in "" "_"; do
6283 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6284 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6286 # Write the raw and C identifiers.
6287 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6288 # Fake it for dumpbin and say T for any non-static function
6289 # and D for any global variable.
6290 # Also find C++ and __fastcall symbols from MSVC++,
6291 # which start with @ or ?.
6292 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6293 " {last_section=section; section=\$ 3};"\
6294 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6295 " \$ 0!~/External *\|/{next};"\
6296 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6297 " {if(hide[section]) next};"\
6298 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6299 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6300 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6301 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6302 " ' prfx=^$ac_symprfx"
6304 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6307 # Check to see that the pipe works correctly.
6311 cat > conftest.
$ac_ext <<_LT_EOF
6316 void nm_test_func(void);
6317 void nm_test_func(void){}
6321 int main(){nm_test_var='a';nm_test_func();return(0);}
6324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6325 (eval $ac_compile) 2>&5
6327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6328 test $ac_status = 0; }; then
6329 # Now try to grab the symbols.
6331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6332 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6335 test $ac_status = 0; } && test -s "$nlist"; then
6336 # Try sorting and uniquifying the output.
6337 if sort "$nlist" |
uniq > "$nlist"T
; then
6338 mv -f "$nlist"T
"$nlist"
6343 # Make sure that we snagged all the symbols we need.
6344 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6345 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6346 cat <<_LT_EOF > conftest.$ac_ext
6352 # Now generate the symbol file.
6353 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6355 cat <<_LT_EOF >> conftest.$ac_ext
6357 /* The mapping between symbol names and symbols. */
6362 lt__PROGRAM__LTX_preloaded_symbols[] =
6364 { "@PROGRAM@", (void *) 0 },
6366 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6367 cat <<\_LT_EOF
>> conftest.
$ac_ext
6371 /* This works around a problem
in FreeBSD linker
*/
6372 #ifdef FREEBSD_WORKAROUND
6373 static const void
*lt_preloaded_setup
() {
6374 return lt__PROGRAM__LTX_preloaded_symbols
;
6382 # Now try linking the two files.
6383 mv conftest.
$ac_objext conftstm.
$ac_objext
6384 lt_save_LIBS
="$LIBS"
6385 lt_save_CFLAGS
="$CFLAGS"
6386 LIBS
="conftstm.$ac_objext"
6387 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6389 (eval $ac_link) 2>&5
6391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6392 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6395 LIBS
="$lt_save_LIBS"
6396 CFLAGS
="$lt_save_CFLAGS"
6398 echo "cannot find nm_test_func in $nlist" >&5
6401 echo "cannot find nm_test_var in $nlist" >&5
6404 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6407 echo "$progname: failed program was:" >&5
6408 cat conftest.
$ac_ext >&5
6410 rm -rf conftest
* conftst
*
6412 # Do not use the global_symbol_pipe unless it works.
6413 if test "$pipe_works" = yes; then
6416 lt_cv_sys_global_symbol_pipe
=
6422 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6423 lt_cv_sys_global_symbol_to_cdecl
=
6425 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6427 $as_echo "failed" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6430 $as_echo "ok" >&6; }
6455 # Check whether --enable-libtool-lock was given.
6456 if test "${enable_libtool_lock+set}" = set; then :
6457 enableval
=$enable_libtool_lock;
6460 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6462 # Some flags need to be propagated to the compiler or linker for good
6466 # Find out which ABI we are using.
6467 echo 'int i;' > conftest.
$ac_ext
6468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6469 (eval $ac_compile) 2>&5
6471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6472 test $ac_status = 0; }; then
6473 case `/usr/bin/file conftest.$ac_objext` in
6485 # Find out which ABI we are using.
6486 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6487 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6488 (eval $ac_compile) 2>&5
6490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6491 test $ac_status = 0; }; then
6492 if test "$lt_cv_prog_gnu_ld" = yes; then
6493 case `/usr/bin/file conftest.$ac_objext` in
6495 LD
="${LD-ld} -melf32bsmip"
6498 LD
="${LD-ld} -melf32bmipn32"
6501 LD
="${LD-ld} -melf64bmip"
6505 case `/usr/bin/file conftest.$ac_objext` in
6521 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6522 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6523 # Find out which ABI we are using.
6524 echo 'int i;' > conftest.
$ac_ext
6525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6526 (eval $ac_compile) 2>&5
6528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529 test $ac_status = 0; }; then
6530 case `/usr/bin/file conftest.o` in
6533 x86_64-
*kfreebsd
*-gnu)
6534 LD
="${LD-ld} -m elf_i386_fbsd"
6537 case `/usr/bin/file conftest.o` in
6539 LD
="${LD-ld} -m elf32_x86_64"
6542 LD
="${LD-ld} -m elf_i386"
6546 powerpc64le-
*linux
*)
6547 LD
="${LD-ld} -m elf32lppclinux"
6550 LD
="${LD-ld} -m elf32ppclinux"
6553 LD
="${LD-ld} -m elf_s390"
6556 LD
="${LD-ld} -m elf32_sparc"
6562 x86_64-
*kfreebsd
*-gnu)
6563 LD
="${LD-ld} -m elf_x86_64_fbsd"
6566 LD
="${LD-ld} -m elf_x86_64"
6569 LD
="${LD-ld} -m elf64lppc"
6572 LD
="${LD-ld} -m elf64ppc"
6574 s390
*-*linux
*|s390
*-*tpf
*)
6575 LD
="${LD-ld} -m elf64_s390"
6578 LD
="${LD-ld} -m elf64_sparc"
6588 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6589 SAVE_CFLAGS
="$CFLAGS"
6590 CFLAGS
="$CFLAGS -belf"
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6592 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6593 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6594 $as_echo_n "(cached) " >&6
6597 ac_cpp
='$CPP $CPPFLAGS'
6598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6613 if ac_fn_c_try_link
"$LINENO"; then :
6614 lt_cv_cc_needs_belf
=yes
6616 lt_cv_cc_needs_belf
=no
6618 rm -f core conftest.err conftest.
$ac_objext \
6619 conftest
$ac_exeext conftest.
$ac_ext
6621 ac_cpp
='$CPP $CPPFLAGS'
6622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6628 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6629 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6630 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6631 CFLAGS
="$SAVE_CFLAGS"
6635 # Find out which ABI we are using.
6636 echo 'int i;' > conftest.
$ac_ext
6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6638 (eval $ac_compile) 2>&5
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641 test $ac_status = 0; }; then
6642 case `/usr/bin/file conftest.o` in
6644 case $lt_cv_prog_gnu_ld in
6645 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6647 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6659 need_locks
="$enable_libtool_lock"
6663 rhapsody
* | darwin
*)
6664 if test -n "$ac_tool_prefix"; then
6665 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6666 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6670 $as_echo_n "(cached) " >&6
6672 if test -n "$DSYMUTIL"; then
6673 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir
=.
6680 for ac_exec_ext
in '' $ac_executable_extensions; do
6681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6693 if test -n "$DSYMUTIL"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6695 $as_echo "$DSYMUTIL" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6703 if test -z "$ac_cv_prog_DSYMUTIL"; then
6704 ac_ct_DSYMUTIL
=$DSYMUTIL
6705 # Extract the first word of "dsymutil", so it can be a program name with args.
6706 set dummy dsymutil
; ac_word
=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6710 $as_echo_n "(cached) " >&6
6712 if test -n "$ac_ct_DSYMUTIL"; then
6713 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6719 test -z "$as_dir" && as_dir
=.
6720 for ac_exec_ext
in '' $ac_executable_extensions; do
6721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6722 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6733 if test -n "$ac_ct_DSYMUTIL"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6735 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6741 if test "x$ac_ct_DSYMUTIL" = x
; then
6744 case $cross_compiling:$ac_tool_warned in
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6748 ac_tool_warned
=yes ;;
6750 DSYMUTIL
=$ac_ct_DSYMUTIL
6753 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6756 if test -n "$ac_tool_prefix"; then
6757 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6758 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6764 if test -n "$NMEDIT"; then
6765 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir
=.
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 NMEDIT
=$ac_cv_prog_NMEDIT
6785 if test -n "$NMEDIT"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6787 $as_echo "$NMEDIT" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6795 if test -z "$ac_cv_prog_NMEDIT"; then
6796 ac_ct_NMEDIT
=$NMEDIT
6797 # Extract the first word of "nmedit", so it can be a program name with args.
6798 set dummy nmedit
; ac_word
=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800 $as_echo_n "checking for $ac_word... " >&6; }
6801 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6802 $as_echo_n "(cached) " >&6
6804 if test -n "$ac_ct_NMEDIT"; then
6805 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir
=.
6812 for ac_exec_ext
in '' $ac_executable_extensions; do
6813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6825 if test -n "$ac_ct_NMEDIT"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6827 $as_echo "$ac_ct_NMEDIT" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 $as_echo "no" >&6; }
6833 if test "x$ac_ct_NMEDIT" = x
; then
6836 case $cross_compiling:$ac_tool_warned in
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840 ac_tool_warned
=yes ;;
6842 NMEDIT
=$ac_ct_NMEDIT
6845 NMEDIT
="$ac_cv_prog_NMEDIT"
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6850 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if test "${ac_cv_prog_LIPO+set}" = set; then :
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$LIPO"; then
6857 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir
=.
6864 for ac_exec_ext
in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 LIPO
=$ac_cv_prog_LIPO
6877 if test -n "$LIPO"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6879 $as_echo "$LIPO" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
6887 if test -z "$ac_cv_prog_LIPO"; then
6889 # Extract the first word of "lipo", so it can be a program name with args.
6890 set dummy lipo
; ac_word
=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 $as_echo_n "checking for $ac_word... " >&6; }
6893 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6894 $as_echo_n "(cached) " >&6
6896 if test -n "$ac_ct_LIPO"; then
6897 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir
=.
6904 for ac_exec_ext
in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_prog_ac_ct_LIPO
="lipo"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6917 if test -n "$ac_ct_LIPO"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6919 $as_echo "$ac_ct_LIPO" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922 $as_echo "no" >&6; }
6925 if test "x$ac_ct_LIPO" = x
; then
6928 case $cross_compiling:$ac_tool_warned in
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6932 ac_tool_warned
=yes ;;
6937 LIPO
="$ac_cv_prog_LIPO"
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6942 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$OTOOL"; then
6949 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 OTOOL
=$ac_cv_prog_OTOOL
6969 if test -n "$OTOOL"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6971 $as_echo "$OTOOL" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6979 if test -z "$ac_cv_prog_OTOOL"; then
6981 # Extract the first word of "otool", so it can be a program name with args.
6982 set dummy otool
; ac_word
=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6986 $as_echo_n "(cached) " >&6
6988 if test -n "$ac_ct_OTOOL"; then
6989 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir
=.
6996 for ac_exec_ext
in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_ac_ct_OTOOL
="otool"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7009 if test -n "$ac_ct_OTOOL"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7011 $as_echo "$ac_ct_OTOOL" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7017 if test "x$ac_ct_OTOOL" = x
; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned
=yes ;;
7029 OTOOL
="$ac_cv_prog_OTOOL"
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7034 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7038 $as_echo_n "(cached) " >&6
7040 if test -n "$OTOOL64"; then
7041 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir
=.
7048 for ac_exec_ext
in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 OTOOL64
=$ac_cv_prog_OTOOL64
7061 if test -n "$OTOOL64"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7063 $as_echo "$OTOOL64" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7071 if test -z "$ac_cv_prog_OTOOL64"; then
7072 ac_ct_OTOOL64
=$OTOOL64
7073 # Extract the first word of "otool64", so it can be a program name with args.
7074 set dummy otool64
; ac_word
=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7078 $as_echo_n "(cached) " >&6
7080 if test -n "$ac_ct_OTOOL64"; then
7081 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir
=.
7088 for ac_exec_ext
in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7101 if test -n "$ac_ct_OTOOL64"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7103 $as_echo "$ac_ct_OTOOL64" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7109 if test "x$ac_ct_OTOOL64" = x
; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned
=yes ;;
7118 OTOOL64
=$ac_ct_OTOOL64
7121 OTOOL64
="$ac_cv_prog_OTOOL64"
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7151 $as_echo_n "checking for -single_module linker flag... " >&6; }
7152 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7153 $as_echo_n "(cached) " >&6
7155 lt_cv_apple_cc_single_mod
=no
7156 if test -z "${LT_MULTI_MODULE}"; then
7157 # By default we will add the -single_module flag. You can override
7158 # by either setting the environment variable LT_MULTI_MODULE
7159 # non-empty at configure time, or by adding -multi_module to the
7161 rm -rf libconftest.dylib
*
7162 echo "int foo(void){return 1;}" > conftest.c
7163 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7164 -dynamiclib -Wl,-single_module conftest.c" >&5
7165 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7166 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7168 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7169 lt_cv_apple_cc_single_mod
=yes
7171 cat conftest.err
>&5
7173 rm -rf libconftest.dylib
*
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7178 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7180 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7181 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7184 lt_cv_ld_exported_symbols_list
=no
7185 save_LDFLAGS
=$LDFLAGS
7186 echo "_main" > conftest.sym
7187 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7199 if ac_fn_c_try_link
"$LINENO"; then :
7200 lt_cv_ld_exported_symbols_list
=yes
7202 lt_cv_ld_exported_symbols_list
=no
7204 rm -f core conftest.err conftest.
$ac_objext \
7205 conftest
$ac_exeext conftest.
$ac_ext
7206 LDFLAGS
="$save_LDFLAGS"
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7212 $as_echo_n "checking for -force_load linker flag... " >&6; }
7213 if test "${lt_cv_ld_force_load+set}" = set; then :
7214 $as_echo_n "(cached) " >&6
7216 lt_cv_ld_force_load
=no
7217 cat > conftest.c
<< _LT_EOF
7218 int forced_loaded() { return 2;}
7220 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7221 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7222 echo "$AR cru libconftest.a conftest.o" >&5
7223 $AR cru libconftest.a conftest.o
2>&5
7224 cat > conftest.c
<< _LT_EOF
7225 int main() { return 0;}
7227 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7228 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7230 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7231 lt_cv_ld_force_load
=yes
7233 cat conftest.err
>&5
7235 rm -f conftest.err libconftest.a conftest conftest.c
7236 rm -rf conftest.dSYM
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7240 $as_echo "$lt_cv_ld_force_load" >&6; }
7242 rhapsody
* | darwin1.
[012])
7243 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7245 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7246 darwin
*) # darwin 5.x on
7247 # if running on 10.5 or later, the deployment target defaults
7248 # to the OS version, if on x86, and 10.4, the deployment
7249 # target defaults to 10.4. Don't you love it?
7250 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7251 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7252 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7254 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7256 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7260 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7261 _lt_dar_single_mod
='$single_module'
7263 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7264 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7266 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7268 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7269 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7277 ac_cpp
='$CPP $CPPFLAGS'
7278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7282 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7283 # On Suns, sometimes $CPP names a directory.
7284 if test -n "$CPP" && test -d "$CPP"; then
7287 if test -z "$CPP"; then
7288 if test "${ac_cv_prog_CPP+set}" = set; then :
7289 $as_echo_n "(cached) " >&6
7291 # Double quotes because CPP needs to be expanded
7292 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7295 for ac_c_preproc_warn_flag
in '' yes
7297 # Use a header file that comes with gcc, so configuring glibc
7298 # with a fresh cross-compiler works.
7299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7300 # <limits.h> exists even on freestanding compilers.
7301 # On the NeXT, cc -E runs the code through the compiler's parser,
7302 # not just through cpp. "Syntax error" is here to catch this case.
7303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7306 # include <limits.h>
7308 # include <assert.h>
7312 if ac_fn_c_try_cpp
"$LINENO"; then :
7315 # Broken: fails on valid input.
7318 rm -f conftest.err conftest.
$ac_ext
7320 # OK, works on sane cases. Now check whether nonexistent headers
7321 # can be detected and how.
7322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7324 #include <ac_nonexistent.h>
7326 if ac_fn_c_try_cpp
"$LINENO"; then :
7327 # Broken: success on invalid input.
7330 # Passes both tests.
7334 rm -f conftest.err conftest.
$ac_ext
7337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7338 rm -f conftest.err conftest.
$ac_ext
7339 if $ac_preproc_ok; then :
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7352 $as_echo "$CPP" >&6; }
7354 for ac_c_preproc_warn_flag
in '' yes
7356 # Use a header file that comes with gcc, so configuring glibc
7357 # with a fresh cross-compiler works.
7358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7359 # <limits.h> exists even on freestanding compilers.
7360 # On the NeXT, cc -E runs the code through the compiler's parser,
7361 # not just through cpp. "Syntax error" is here to catch this case.
7362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h. */
7365 # include <limits.h>
7367 # include <assert.h>
7371 if ac_fn_c_try_cpp
"$LINENO"; then :
7374 # Broken: fails on valid input.
7377 rm -f conftest.err conftest.
$ac_ext
7379 # OK, works on sane cases. Now check whether nonexistent headers
7380 # can be detected and how.
7381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7382 /* end confdefs.h. */
7383 #include <ac_nonexistent.h>
7385 if ac_fn_c_try_cpp
"$LINENO"; then :
7386 # Broken: success on invalid input.
7389 # Passes both tests.
7393 rm -f conftest.err conftest.
$ac_ext
7396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7397 rm -f conftest.err conftest.
$ac_ext
7398 if $ac_preproc_ok; then :
7401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7403 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7404 See \`config.log' for more details." "$LINENO" 5; }
7408 ac_cpp
='$CPP $CPPFLAGS'
7409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7415 $as_echo_n "checking for ANSI C header files... " >&6; }
7416 if test "${ac_cv_header_stdc+set}" = set; then :
7417 $as_echo_n "(cached) " >&6
7419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7434 if ac_fn_c_try_compile
"$LINENO"; then :
7435 ac_cv_header_stdc
=yes
7437 ac_cv_header_stdc
=no
7439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7441 if test $ac_cv_header_stdc = yes; then
7442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7449 $EGREP "memchr" >/dev
/null
2>&1; then :
7452 ac_cv_header_stdc
=no
7458 if test $ac_cv_header_stdc = yes; then
7459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7466 $EGREP "free" >/dev
/null
2>&1; then :
7469 ac_cv_header_stdc
=no
7475 if test $ac_cv_header_stdc = yes; then
7476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7477 if test "$cross_compiling" = yes; then :
7480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7481 /* end confdefs.h. */
7484 #if ((' ' & 0x0FF) == 0x020)
7485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7488 # define ISLOWER(c) \
7489 (('a' <= (c) && (c) <= 'i') \
7490 || ('j' <= (c) && (c) <= 'r') \
7491 || ('s' <= (c) && (c) <= 'z'))
7492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7500 for (i = 0; i < 256; i++)
7501 if (XOR (islower (i), ISLOWER (i))
7502 || toupper (i) != TOUPPER (i))
7507 if ac_fn_c_try_run
"$LINENO"; then :
7510 ac_cv_header_stdc
=no
7512 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7513 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7519 $as_echo "$ac_cv_header_stdc" >&6; }
7520 if test $ac_cv_header_stdc = yes; then
7522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7527 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7528 inttypes.h stdint.h unistd.h
7530 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7531 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7533 eval as_val
=\$
$as_ac_Header
7534 if test "x$as_val" = x
""yes; then :
7535 cat >>confdefs.h
<<_ACEOF
7536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7544 for ac_header
in dlfcn.h
7546 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7548 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7549 cat >>confdefs.h
<<_ACEOF
7550 #define HAVE_DLFCN_H 1
7557 if test -n "$ac_tool_prefix"; then
7558 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7559 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7561 $as_echo_n "checking for $ac_word... " >&6; }
7562 if test "${ac_cv_prog_GOC+set}" = set; then :
7563 $as_echo_n "(cached) " >&6
7565 if test -n "$GOC"; then
7566 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7572 test -z "$as_dir" && as_dir
=.
7573 for ac_exec_ext
in '' $ac_executable_extensions; do
7574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7575 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7586 if test -n "$GOC"; then
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7588 $as_echo "$GOC" >&6; }
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7591 $as_echo "no" >&6; }
7596 if test -z "$ac_cv_prog_GOC"; then
7598 # Extract the first word of "gccgo", so it can be a program name with args.
7599 set dummy gccgo
; ac_word
=$2
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601 $as_echo_n "checking for $ac_word... " >&6; }
7602 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7603 $as_echo_n "(cached) " >&6
7605 if test -n "$ac_ct_GOC"; then
7606 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7612 test -z "$as_dir" && as_dir
=.
7613 for ac_exec_ext
in '' $ac_executable_extensions; do
7614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7615 ac_cv_prog_ac_ct_GOC
="gccgo"
7616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7626 if test -n "$ac_ct_GOC"; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7628 $as_echo "$ac_ct_GOC" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7631 $as_echo "no" >&6; }
7634 if test "x$ac_ct_GOC" = x
; then
7637 case $cross_compiling:$ac_tool_warned in
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7641 ac_tool_warned
=yes ;;
7646 GOC
="$ac_cv_prog_GOC"
7662 # Check whether --enable-shared was given.
7663 if test "${enable_shared+set}" = set; then :
7664 enableval
=$enable_shared; p
=${PACKAGE-default}
7666 yes) enable_shared
=yes ;;
7667 no
) enable_shared
=no
;;
7670 # Look at the argument we got. We use all the common list separators.
7671 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7672 for pkg
in $enableval; do
7674 if test "X$pkg" = "X$p"; then
7693 # Check whether --enable-static was given.
7694 if test "${enable_static+set}" = set; then :
7695 enableval
=$enable_static; p
=${PACKAGE-default}
7697 yes) enable_static
=yes ;;
7698 no
) enable_static
=no
;;
7701 # Look at the argument we got. We use all the common list separators.
7702 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7703 for pkg
in $enableval; do
7705 if test "X$pkg" = "X$p"; then
7725 # Check whether --with-pic was given.
7726 if test "${with_pic+set}" = set; then :
7727 withval
=$with_pic; pic_mode
="$withval"
7733 test -z "$pic_mode" && pic_mode
=default
7741 # Check whether --enable-fast-install was given.
7742 if test "${enable_fast_install+set}" = set; then :
7743 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7745 yes) enable_fast_install
=yes ;;
7746 no
) enable_fast_install
=no
;;
7748 enable_fast_install
=no
7749 # Look at the argument we got. We use all the common list separators.
7750 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7751 for pkg
in $enableval; do
7753 if test "X$pkg" = "X$p"; then
7754 enable_fast_install
=yes
7761 enable_fast_install
=yes
7774 # This can be used to rebuild libtool when needed
7775 LIBTOOL_DEPS
="$ltmain"
7777 # Always use our own libtool.
7778 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7805 test -z "$LN_S" && LN_S
="ln -s"
7820 if test -n "${ZSH_VERSION+set}" ; then
7821 setopt NO_GLOB_SUBST
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7825 $as_echo_n "checking for objdir... " >&6; }
7826 if test "${lt_cv_objdir+set}" = set; then :
7827 $as_echo_n "(cached) " >&6
7829 rm -f .libs
2>/dev
/null
7830 mkdir .libs
2>/dev
/null
7831 if test -d .libs
; then
7834 # MS-DOS does not allow filenames that begin with a dot.
7837 rmdir .libs
2>/dev
/null
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7840 $as_echo "$lt_cv_objdir" >&6; }
7841 objdir
=$lt_cv_objdir
7847 cat >>confdefs.h
<<_ACEOF
7848 #define LT_OBJDIR "$lt_cv_objdir/"
7856 # AIX sometimes has problems with the GCC collect2 program. For some
7857 # reason, if we set the COLLECT_NAMES environment variable, the problems
7858 # vanish in a puff of smoke.
7859 if test "X${COLLECT_NAMES+set}" != Xset
; then
7861 export COLLECT_NAMES
7868 can_build_shared
=yes
7870 # All known linkers require a `.a' archive for static linking (except MSVC,
7871 # which needs '.lib').
7874 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7877 old_CFLAGS
="$CFLAGS"
7879 # Set sane defaults for various variables
7880 test -z "$CC" && CC
=cc
7881 test -z "$LTCC" && LTCC
=$CC
7882 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7883 test -z "$LD" && LD
=ld
7884 test -z "$ac_objext" && ac_objext
=o
7886 for cc_temp
in $compiler""; do
7888 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7889 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7894 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7897 # Only perform the check for file, if the check method requires it
7898 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7899 case $deplibs_check_method in
7901 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7903 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7904 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7905 $as_echo_n "(cached) " >&6
7909 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7912 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7913 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7914 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7915 for ac_dir
in $ac_dummy; do
7917 test -z "$ac_dir" && ac_dir
=.
7918 if test -f $ac_dir/${ac_tool_prefix}file; then
7919 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7920 if test -n "$file_magic_test_file"; then
7921 case $deplibs_check_method in
7923 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7924 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7925 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7926 $EGREP "$file_magic_regex" > /dev
/null
; then
7931 *** Warning: the command libtool uses to detect shared libraries,
7932 *** $file_magic_cmd, produces output that libtool cannot recognize.
7933 *** The result is that libtool may fail to recognize shared libraries
7934 *** as such. This will affect the creation of libtool libraries that
7935 *** depend on shared libraries, but programs linked with such libtool
7936 *** libraries will work regardless of this problem. Nevertheless, you
7937 *** may want to report the problem to your system manager and/or to
7938 *** bug-libtool@gnu.org
7948 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7953 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7954 if test -n "$MAGIC_CMD"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7956 $as_echo "$MAGIC_CMD" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7966 if test -z "$lt_cv_path_MAGIC_CMD"; then
7967 if test -n "$ac_tool_prefix"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7969 $as_echo_n "checking for file... " >&6; }
7970 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7971 $as_echo_n "(cached) " >&6
7975 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7978 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7979 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7980 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7981 for ac_dir
in $ac_dummy; do
7983 test -z "$ac_dir" && ac_dir
=.
7984 if test -f $ac_dir/file; then
7985 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7986 if test -n "$file_magic_test_file"; then
7987 case $deplibs_check_method in
7989 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7990 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7991 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7992 $EGREP "$file_magic_regex" > /dev
/null
; then
7997 *** Warning: the command libtool uses to detect shared libraries,
7998 *** $file_magic_cmd, produces output that libtool cannot recognize.
7999 *** The result is that libtool may fail to recognize shared libraries
8000 *** as such. This will affect the creation of libtool libraries that
8001 *** depend on shared libraries, but programs linked with such libtool
8002 *** libraries will work regardless of this problem. Nevertheless, you
8003 *** may want to report the problem to your system manager and/or to
8004 *** bug-libtool@gnu.org
8014 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8020 if test -n "$MAGIC_CMD"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8022 $as_echo "$MAGIC_CMD" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8038 # Use C for the default configuration in the libtool script
8042 ac_cpp
='$CPP $CPPFLAGS'
8043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8048 # Source file extension for C test sources.
8051 # Object file extension for compiled C test sources.
8055 # Code to be used in simple compile tests
8056 lt_simple_compile_test_code
="int some_variable = 0;"
8058 # Code to be used in simple link tests
8059 lt_simple_link_test_code
='int main(){return(0);}'
8067 # If no C compiler was specified, use CC.
8070 # If no C compiler flags were specified, use CFLAGS.
8071 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8073 # Allow CC to be a program name with arguments.
8076 # Save the default compiler, since it gets overwritten when the other
8077 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8078 compiler_DEFAULT
=$CC
8080 # save warnings/boilerplate of simple test code
8081 ac_outfile
=conftest.
$ac_objext
8082 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8083 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8084 _lt_compiler_boilerplate
=`cat conftest.err`
8087 ac_outfile
=conftest.
$ac_objext
8088 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8089 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8090 _lt_linker_boilerplate
=`cat conftest.err`
8095 ## There is no encapsulation within the following macros, do not change
8096 ## the running order or otherwise move them around unless you know exactly
8097 ## what you are doing...
8098 if test -n "$compiler"; then
8100 lt_prog_compiler_no_builtin_flag
=
8102 if test "$GCC" = yes; then
8103 case $cc_basename in
8105 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8107 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8111 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8112 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8113 $as_echo_n "(cached) " >&6
8115 lt_cv_prog_compiler_rtti_exceptions
=no
8116 ac_outfile
=conftest.
$ac_objext
8117 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8118 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8119 # Insert the option either (1) after the last *FLAGS variable, or
8120 # (2) before a word containing "conftest.", or (3) at the end.
8121 # Note that $ac_compile itself does not contain backslashes and begins
8122 # with a dollar sign (not a hyphen), so the echo should work correctly.
8123 # The option is referenced via a variable to avoid confusing sed.
8124 lt_compile
=`echo "$ac_compile" | $SED \
8125 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8127 -e 's:$: $lt_compiler_flag:'`
8128 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8129 (eval "$lt_compile" 2>conftest.err
)
8131 cat conftest.err
>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 if (exit $ac_status) && test -s "$ac_outfile"; then
8134 # The compiler can only warn and ignore the option if not recognized
8135 # So say no if there are warnings other than the usual output.
8136 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8137 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8138 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8139 lt_cv_prog_compiler_rtti_exceptions
=yes
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8146 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8148 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8149 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8161 lt_prog_compiler_wl
=
8162 lt_prog_compiler_pic
=
8163 lt_prog_compiler_static
=
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8166 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8168 if test "$GCC" = yes; then
8169 lt_prog_compiler_wl
='-Wl,'
8170 lt_prog_compiler_static
='-static'
8174 # All AIX code is PIC.
8175 if test "$host_cpu" = ia64
; then
8176 # AIX 5 now supports IA64 processor
8177 lt_prog_compiler_static
='-Bstatic'
8179 lt_prog_compiler_pic
='-fPIC'
8185 # see comment about AmigaOS4 .so support
8186 lt_prog_compiler_pic
='-fPIC'
8189 # FIXME: we need at least 68020 code to build shared libraries, but
8190 # adding the `-m68020' flag to GCC prevents building anything better,
8192 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8197 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8198 # PIC is the default for these OSes.
8201 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8202 # This hack is so that the source file can tell whether it is being
8203 # built for inclusion in a dll (and should export symbols for example).
8204 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8205 # (--disable-auto-import) libraries
8206 lt_prog_compiler_pic
='-DDLL_EXPORT'
8209 darwin
* | rhapsody
*)
8210 # PIC is the default on this platform
8211 # Common symbols not allowed in MH_DYLIB files
8212 lt_prog_compiler_pic
='-fno-common'
8216 # PIC is the default for Haiku.
8217 # The "-static" flag exists, but is broken.
8218 lt_prog_compiler_static
=
8222 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8223 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8224 # sets the default TLS model and affects inlining.
8230 lt_prog_compiler_pic
='-fPIC'
8236 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8237 # Instead, we relocate shared libraries at runtime.
8241 # Just because we use GCC doesn't mean we suddenly get shared libraries
8242 # on systems that don't support them.
8243 lt_prog_compiler_can_build_shared
=no
8248 # QNX uses GNU C++, but need to define -shared option too, otherwise
8250 lt_prog_compiler_pic
='-fPIC -shared'
8254 if test -d /usr
/nec
; then
8255 lt_prog_compiler_pic
=-Kconform_pic
8260 lt_prog_compiler_pic
='-fPIC'
8264 case $cc_basename in
8265 nvcc
*) # Cuda Compiler Driver 2.2
8266 lt_prog_compiler_wl
='-Xlinker '
8267 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8271 # PORTME Check for flag to pass linker flags through the system compiler.
8274 lt_prog_compiler_wl
='-Wl,'
8275 if test "$host_cpu" = ia64
; then
8276 # AIX 5 now supports IA64 processor
8277 lt_prog_compiler_static
='-Bstatic'
8279 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8283 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8284 # This hack is so that the source file can tell whether it is being
8285 # built for inclusion in a dll (and should export symbols for example).
8286 lt_prog_compiler_pic
='-DDLL_EXPORT'
8289 hpux9
* | hpux10
* | hpux11
*)
8290 lt_prog_compiler_wl
='-Wl,'
8291 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8298 lt_prog_compiler_pic
='+Z'
8301 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8302 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8305 irix5
* | irix6
* | nonstopux
*)
8306 lt_prog_compiler_wl
='-Wl,'
8307 # PIC (with -KPIC) is the default.
8308 lt_prog_compiler_static
='-non_shared'
8311 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8312 case $cc_basename in
8313 # old Intel for x86_64 which still supported -KPIC.
8315 lt_prog_compiler_wl
='-Wl,'
8316 lt_prog_compiler_pic
='-KPIC'
8317 lt_prog_compiler_static
='-static'
8319 # icc used to be incompatible with GCC.
8320 # ICC 10 doesn't accept -KPIC any more.
8322 lt_prog_compiler_wl
='-Wl,'
8323 lt_prog_compiler_pic
='-fPIC'
8324 lt_prog_compiler_static
='-static'
8326 # Lahey Fortran 8.1.
8328 lt_prog_compiler_wl
='-Wl,'
8329 lt_prog_compiler_pic
='--shared'
8330 lt_prog_compiler_static
='--static'
8332 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8333 # Portland Group compilers (*not* the Pentium gcc compiler,
8334 # which looks to be a dead project)
8335 lt_prog_compiler_wl
='-Wl,'
8336 lt_prog_compiler_pic
='-fpic'
8337 lt_prog_compiler_static
='-Bstatic'
8340 lt_prog_compiler_wl
='-Wl,'
8341 # All Alpha code is PIC.
8342 lt_prog_compiler_static
='-non_shared'
8344 xl
* | bgxl
* | bgf
* | mpixl
*)
8345 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8346 lt_prog_compiler_wl
='-Wl,'
8347 lt_prog_compiler_pic
='-qpic'
8348 lt_prog_compiler_static
='-qstaticlink'
8351 case `$CC -V 2>&1 | sed 5q` in
8352 *Sun\ F
* |
*Sun
*Fortran
*)
8353 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8354 lt_prog_compiler_pic
='-KPIC'
8355 lt_prog_compiler_static
='-Bstatic'
8356 lt_prog_compiler_wl
=''
8360 lt_prog_compiler_pic
='-KPIC'
8361 lt_prog_compiler_static
='-Bstatic'
8362 lt_prog_compiler_wl
='-Wl,'
8370 lt_prog_compiler_pic
='-KPIC'
8371 lt_prog_compiler_static
='-Bstatic'
8375 # QNX uses GNU C++, but need to define -shared option too, otherwise
8377 lt_prog_compiler_pic
='-fPIC -shared'
8380 osf3
* | osf4
* | osf5
*)
8381 lt_prog_compiler_wl
='-Wl,'
8382 # All OSF/1 code is PIC.
8383 lt_prog_compiler_static
='-non_shared'
8387 lt_prog_compiler_static
='-non_shared'
8391 lt_prog_compiler_pic
='-KPIC'
8392 lt_prog_compiler_static
='-Bstatic'
8393 case $cc_basename in
8395 lt_prog_compiler_wl
='-Qoption ld ';;
8397 lt_prog_compiler_wl
='-Wl,';;
8402 lt_prog_compiler_wl
='-Qoption ld '
8403 lt_prog_compiler_pic
='-PIC'
8404 lt_prog_compiler_static
='-Bstatic'
8407 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8408 lt_prog_compiler_wl
='-Wl,'
8409 lt_prog_compiler_pic
='-KPIC'
8410 lt_prog_compiler_static
='-Bstatic'
8414 if test -d /usr
/nec
;then
8415 lt_prog_compiler_pic
='-Kconform_pic'
8416 lt_prog_compiler_static
='-Bstatic'
8420 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8421 lt_prog_compiler_wl
='-Wl,'
8422 lt_prog_compiler_pic
='-KPIC'
8423 lt_prog_compiler_static
='-Bstatic'
8427 lt_prog_compiler_wl
='-Wl,'
8428 lt_prog_compiler_can_build_shared
=no
8432 lt_prog_compiler_pic
='-pic'
8433 lt_prog_compiler_static
='-Bstatic'
8437 lt_prog_compiler_can_build_shared
=no
8443 # For platforms which do not support PIC, -DPIC is meaningless:
8445 lt_prog_compiler_pic
=
8448 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8452 $as_echo "$lt_prog_compiler_pic" >&6; }
8460 # Check to make sure the PIC flag actually works.
8462 if test -n "$lt_prog_compiler_pic"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8464 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8465 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8466 $as_echo_n "(cached) " >&6
8468 lt_cv_prog_compiler_pic_works
=no
8469 ac_outfile
=conftest.
$ac_objext
8470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8471 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8472 # Insert the option either (1) after the last *FLAGS variable, or
8473 # (2) before a word containing "conftest.", or (3) at the end.
8474 # Note that $ac_compile itself does not contain backslashes and begins
8475 # with a dollar sign (not a hyphen), so the echo should work correctly.
8476 # The option is referenced via a variable to avoid confusing sed.
8477 lt_compile
=`echo "$ac_compile" | $SED \
8478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8480 -e 's:$: $lt_compiler_flag:'`
8481 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8482 (eval "$lt_compile" 2>conftest.err
)
8484 cat conftest.err
>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 if (exit $ac_status) && test -s "$ac_outfile"; then
8487 # The compiler can only warn and ignore the option if not recognized
8488 # So say no if there are warnings other than the usual output.
8489 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8490 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8491 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8492 lt_cv_prog_compiler_pic_works
=yes
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8499 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8501 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8502 case $lt_prog_compiler_pic in
8504 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8507 lt_prog_compiler_pic
=
8508 lt_prog_compiler_can_build_shared
=no
8519 # Check to make sure the static flag actually works.
8521 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8523 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8524 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8525 $as_echo_n "(cached) " >&6
8527 lt_cv_prog_compiler_static_works
=no
8528 save_LDFLAGS
="$LDFLAGS"
8529 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8530 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8531 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8532 # The linker can only warn and ignore the option if not recognized
8533 # So say no if there are warnings
8534 if test -s conftest.err
; then
8535 # Append any errors to the config.log.
8536 cat conftest.err
1>&5
8537 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8538 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8539 if diff conftest.exp conftest.er2
>/dev
/null
; then
8540 lt_cv_prog_compiler_static_works
=yes
8543 lt_cv_prog_compiler_static_works
=yes
8547 LDFLAGS
="$save_LDFLAGS"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8551 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8553 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8556 lt_prog_compiler_static
=
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8567 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8570 lt_cv_prog_compiler_c_o
=no
8571 $RM -r conftest
2>/dev
/null
8575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8577 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8578 # Insert the option either (1) after the last *FLAGS variable, or
8579 # (2) before a word containing "conftest.", or (3) at the end.
8580 # Note that $ac_compile itself does not contain backslashes and begins
8581 # with a dollar sign (not a hyphen), so the echo should work correctly.
8582 lt_compile
=`echo "$ac_compile" | $SED \
8583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585 -e 's:$: $lt_compiler_flag:'`
8586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8587 (eval "$lt_compile" 2>out
/conftest.err
)
8589 cat out
/conftest.err
>&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8593 # The compiler can only warn and ignore the option if not recognized
8594 # So say no if there are warnings
8595 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8596 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8597 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8598 lt_cv_prog_compiler_c_o
=yes
8603 # SGI C++ compiler will create directory out/ii_files/ for
8604 # template instantiation
8605 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8606 $RM out
/* && rmdir out
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8613 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8621 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8622 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8623 $as_echo_n "(cached) " >&6
8625 lt_cv_prog_compiler_c_o
=no
8626 $RM -r conftest
2>/dev
/null
8630 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8632 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8633 # Insert the option either (1) after the last *FLAGS variable, or
8634 # (2) before a word containing "conftest.", or (3) at the end.
8635 # Note that $ac_compile itself does not contain backslashes and begins
8636 # with a dollar sign (not a hyphen), so the echo should work correctly.
8637 lt_compile
=`echo "$ac_compile" | $SED \
8638 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8639 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8640 -e 's:$: $lt_compiler_flag:'`
8641 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8642 (eval "$lt_compile" 2>out
/conftest.err
)
8644 cat out
/conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8648 # The compiler can only warn and ignore the option if not recognized
8649 # So say no if there are warnings
8650 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8651 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8652 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8653 lt_cv_prog_compiler_c_o
=yes
8658 # SGI C++ compiler will create directory out/ii_files/ for
8659 # template instantiation
8660 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8661 $RM out
/* && rmdir out
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8668 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8673 hard_links
="nottested"
8674 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8675 # do not overwrite the value of need_locks provided by the user
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8677 $as_echo_n "checking if we can lock with hard links... " >&6; }
8680 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8682 ln conftest.a conftest.b
2>&5 || hard_links
=no
8683 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8685 $as_echo "$hard_links" >&6; }
8686 if test "$hard_links" = no
; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8688 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8701 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8704 allow_undefined_flag
=
8705 always_export_symbols
=no
8707 archive_expsym_cmds
=
8708 compiler_needs_object
=no
8709 enable_shared_with_static_runtimes
=no
8710 export_dynamic_flag_spec
=
8711 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8712 hardcode_automatic
=no
8714 hardcode_direct_absolute
=no
8715 hardcode_libdir_flag_spec
=
8716 hardcode_libdir_flag_spec_ld
=
8717 hardcode_libdir_separator
=
8719 hardcode_shlibpath_var
=unsupported
8721 link_all_deplibs
=unknown
8724 old_archive_from_new_cmds
=
8725 old_archive_from_expsyms_cmds
=
8726 thread_safe_flag_spec
=
8727 whole_archive_flag_spec
=
8728 # include_expsyms should be a list of space-separated symbols to be *always*
8729 # included in the symbol list
8731 # exclude_expsyms can be an extended regexp of symbols to exclude
8732 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8733 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8734 # as well as any symbol that contains `d'.
8735 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8736 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8737 # platforms (ab)use it in PIC code, but their linkers get confused if
8738 # the symbol is explicitly referenced. Since portable code cannot
8739 # rely on this symbol name, it's probably fine to never include it in
8740 # preloaded symbol tables.
8741 # Exclude shared library initialization/finalization symbols.
8742 extract_expsyms_cmds
=
8745 cygwin
* | mingw
* | pw32
* | cegcc
*)
8746 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8747 # When not using gcc, we currently assume that we are using
8748 # Microsoft Visual C++.
8749 if test "$GCC" != yes; then
8754 # we just hope/assume this is gcc and not c89 (= MSVC++)
8764 # On some targets, GNU ld is compatible enough with the native linker
8765 # that we're better off using the native interface for both.
8766 lt_use_gnu_ld_interface
=no
8767 if test "$with_gnu_ld" = yes; then
8770 # The AIX port of GNU ld has always aspired to compatibility
8771 # with the native linker. However, as the warning in the GNU ld
8772 # block says, versions before 2.19.5* couldn't really create working
8773 # shared libraries, regardless of the interface used.
8774 case `$LD -v 2>&1` in
8775 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8776 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8777 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8779 lt_use_gnu_ld_interface
=yes
8784 lt_use_gnu_ld_interface
=yes
8789 if test "$lt_use_gnu_ld_interface" = yes; then
8790 # If archive_cmds runs LD, not CC, wlarc should be empty
8793 # Set some defaults for GNU ld with shared library support. These
8794 # are reset later if shared libraries are not supported. Putting them
8795 # here allows them to be overridden if necessary.
8796 runpath_var
=LD_RUN_PATH
8797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8798 export_dynamic_flag_spec
='${wl}--export-dynamic'
8799 # ancient GNU ld didn't support --whole-archive et. al.
8800 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8801 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8803 whole_archive_flag_spec
=
8805 supports_anon_versioning
=no
8806 case `$LD -v 2>&1` in
8807 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8808 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8809 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8810 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8811 *\
2.11.
*) ;; # other 2.11 versions
8812 *) supports_anon_versioning
=yes ;;
8815 # See if GNU ld supports shared libraries.
8818 # On AIX/PPC, the GNU linker is very broken
8819 if test "$host_cpu" != ia64
; then
8823 *** Warning: the GNU linker, at least up to release 2.19, is reported
8824 *** to be unable to reliably create shared libraries on AIX.
8825 *** Therefore, libtool is disabling shared libraries support. If you
8826 *** really care for shared libraries, you may want to install binutils
8827 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8828 *** You will then need to restart the configuration process.
8837 # see comment about AmigaOS4 .so support
8838 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839 archive_expsym_cmds
=''
8842 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)'
8843 hardcode_libdir_flag_spec
='-L$libdir'
8844 hardcode_minus_L
=yes
8850 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8851 allow_undefined_flag
=unsupported
8852 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8853 # support --undefined. This deserves some investigation. FIXME
8854 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860 cygwin
* | mingw
* | pw32
* | cegcc
*)
8861 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8862 # as there is no search path for DLLs.
8863 hardcode_libdir_flag_spec
='-L$libdir'
8864 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8865 allow_undefined_flag
=unsupported
8866 always_export_symbols
=no
8867 enable_shared_with_static_runtimes
=yes
8868 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8870 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8871 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8872 # If the export-symbols file already is a .def file (1st line
8873 # is EXPORTS), use it as is; otherwise, prepend...
8874 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8875 cp $export_symbols $output_objdir/$soname.def;
8877 echo EXPORTS > $output_objdir/$soname.def;
8878 cat $export_symbols >> $output_objdir/$soname.def;
8880 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8888 link_all_deplibs
=yes
8893 hardcode_shlibpath_var
=no
8894 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8895 export_dynamic_flag_spec
='${wl}-E'
8896 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8897 # Instead, shared libraries are loaded at an image base (0x10000000 by
8898 # default) and relocated if they conflict, which is a slow very memory
8899 # consuming and fragmenting process. To avoid this, we pick a random,
8900 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8901 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8902 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8903 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'
8906 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8908 if test "$host_os" = linux-dietlibc
; then
8909 case $cc_basename in
8910 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8913 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8914 && test "$tmp_diet" = no
8917 tmp_sharedflag
='-shared'
8918 case $cc_basename,$host_cpu in
8919 pgcc
*) # Portland Group C compiler
8920 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'
8921 tmp_addflag
=' $pic_flag'
8923 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8924 # Portland Group f77 and f90 compilers
8925 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'
8926 tmp_addflag
=' $pic_flag -Mnomain' ;;
8927 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8928 tmp_addflag
=' -i_dynamic' ;;
8929 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8930 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8931 ifc
* | ifort
*) # Intel Fortran compiler
8932 tmp_addflag
=' -nofor_main' ;;
8933 lf95
*) # Lahey Fortran 8.1
8934 whole_archive_flag_spec
=
8935 tmp_sharedflag
='--shared' ;;
8936 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8937 tmp_sharedflag
='-qmkshrobj'
8939 nvcc
*) # Cuda Compiler Driver 2.2
8940 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'
8941 compiler_needs_object
=yes
8944 case `$CC -V 2>&1 | sed 5q` in
8945 *Sun\ C
*) # Sun C 5.9
8946 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'
8947 compiler_needs_object
=yes
8948 tmp_sharedflag
='-G' ;;
8949 *Sun\ F
*) # Sun Fortran 8.3
8950 tmp_sharedflag
='-G' ;;
8952 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 if test "x$supports_anon_versioning" = xyes
; then
8955 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8956 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8957 echo "local: *; };" >> $output_objdir/$libname.ver~
8958 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8961 case $cc_basename in
8962 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8963 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8964 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8965 hardcode_libdir_flag_spec
=
8966 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8967 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8968 if test "x$supports_anon_versioning" = xyes
; then
8969 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8970 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8971 echo "local: *; };" >> $output_objdir/$libname.ver~
8972 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8982 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8983 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8986 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8992 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8996 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8997 *** create shared libraries on Solaris systems. Therefore, libtool
8998 *** is disabling shared libraries support. We urge you to upgrade GNU
8999 *** binutils to release 2.9.1 or newer. Another option is to modify
9000 *** your PATH or compiler configuration so that the native linker is
9001 *** used, and then restart.
9004 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9005 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9012 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9013 case `$LD -v 2>&1` in
9014 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9018 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9019 *** reliably create shared libraries on SCO systems. Therefore, libtool
9020 *** is disabling shared libraries support. We urge you to upgrade GNU
9021 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9022 *** your PATH or compiler configuration so that the native linker is
9023 *** used, and then restart.
9028 # For security reasons, it is highly recommended that you always
9029 # use absolute paths for naming shared libraries, and exclude the
9030 # DT_RUNPATH tag from executables and libraries. But doing so
9031 # requires that you compile everything twice, which is a pain.
9032 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9033 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9034 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9044 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_shlibpath_var
=no
9051 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9052 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9060 if test "$ld_shlibs" = no
; then
9062 hardcode_libdir_flag_spec
=
9063 export_dynamic_flag_spec
=
9064 whole_archive_flag_spec
=
9067 # PORTME fill in a description of your system's linker (not GNU ld)
9070 allow_undefined_flag
=unsupported
9071 always_export_symbols
=yes
9072 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'
9073 # Note: this linker hardcodes the directories in LIBPATH if there
9074 # are no directories specified by -L.
9075 hardcode_minus_L
=yes
9076 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9077 # Neither direct hardcoding nor static linking is supported with a
9079 hardcode_direct
=unsupported
9084 if test "$host_cpu" = ia64
; then
9085 # On IA64, the linker does run time linking by default, so we don't
9086 # have to do anything special.
9087 aix_use_runtimelinking
=no
9088 exp_sym_flag
='-Bexport'
9091 # If we're using GNU nm, then we don't want the "-C" option.
9092 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9093 # Also, AIX nm treats weak defined symbols like other global
9094 # defined symbols, whereas GNU nm marks them as "W".
9095 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9096 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'
9098 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'
9100 aix_use_runtimelinking
=no
9102 # Test if we are trying to use run time linking or normal
9103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9104 # need to do runtime linking.
9105 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9106 for ld_flag
in $LDFLAGS; do
9107 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9108 aix_use_runtimelinking
=yes
9115 exp_sym_flag
='-bexport'
9116 no_entry_flag
='-bnoentry'
9119 # When large executables or shared objects are built, AIX ld can
9120 # have problems creating the table of contents. If linking a library
9121 # or program results in "error TOC overflow" add -mminimal-toc to
9122 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9123 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9127 hardcode_direct_absolute
=yes
9128 hardcode_libdir_separator
=':'
9129 link_all_deplibs
=yes
9130 file_list_spec
='${wl}-f,'
9132 if test "$GCC" = yes; then
9133 case $host_os in aix4.
[012]|aix4.
[012].
*)
9134 # We only want to do this on AIX 4.2 and lower, the check
9135 # below for broken collect2 doesn't work under 4.3+
9136 collect2name
=`${CC} -print-prog-name=collect2`
9137 if test -f "$collect2name" &&
9138 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9140 # We have reworked collect2
9143 # We have old collect2
9144 hardcode_direct
=unsupported
9145 # It fails to find uninstalled libraries when the uninstalled
9146 # path is not listed in the libpath. Setting hardcode_minus_L
9147 # to unsupported forces relinking
9148 hardcode_minus_L
=yes
9149 hardcode_libdir_flag_spec
='-L$libdir'
9150 hardcode_libdir_separator
=
9154 shared_flag
='-shared'
9155 if test "$aix_use_runtimelinking" = yes; then
9156 shared_flag
="$shared_flag "'${wl}-G'
9160 if test "$host_cpu" = ia64
; then
9161 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9162 # chokes on -Wl,-G. The following line is correct:
9165 if test "$aix_use_runtimelinking" = yes; then
9166 shared_flag
='${wl}-G'
9168 shared_flag
='${wl}-bM:SRE'
9173 export_dynamic_flag_spec
='${wl}-bexpall'
9174 # It seems that -bexpall does not export symbols beginning with
9175 # underscore (_), so it is better to generate a list of symbols to export.
9176 always_export_symbols
=yes
9177 if test "$aix_use_runtimelinking" = yes; then
9178 # Warning - without using the other runtime loading flags (-brtl),
9179 # -berok will link without error, but may produce a broken library.
9180 allow_undefined_flag
='-berok'
9181 # Determine the default libpath from the value encoded in an
9183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9194 if ac_fn_c_try_link
"$LINENO"; then :
9196 lt_aix_libpath_sed
='
9197 /Import File Strings/,/^$/ {
9203 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9204 # Check for a 64-bit object if we didn't find anything.
9205 if test -z "$aix_libpath"; then
9206 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9209 rm -f core conftest.err conftest.
$ac_objext \
9210 conftest
$ac_exeext conftest.
$ac_ext
9211 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9213 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9214 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"
9216 if test "$host_cpu" = ia64
; then
9217 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9218 allow_undefined_flag
="-z nodefs"
9219 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"
9221 # Determine the default libpath from the value encoded in an
9223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9234 if ac_fn_c_try_link
"$LINENO"; then :
9236 lt_aix_libpath_sed
='
9237 /Import File Strings/,/^$/ {
9243 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9244 # Check for a 64-bit object if we didn't find anything.
9245 if test -z "$aix_libpath"; then
9246 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9249 rm -f core conftest.err conftest.
$ac_objext \
9250 conftest
$ac_exeext conftest.
$ac_ext
9251 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9253 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9254 # Warning - without using the other run time loading flags,
9255 # -berok will link without error, but may produce a broken library.
9256 no_undefined_flag
=' ${wl}-bernotok'
9257 allow_undefined_flag
=' ${wl}-berok'
9258 if test "$with_gnu_ld" = yes; then
9259 # We only use this code for GNU lds that support --whole-archive.
9260 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9262 # Exported symbols can be pulled into shared objects from archives
9263 whole_archive_flag_spec
='$convenience'
9265 archive_cmds_need_lc
=yes
9266 # This is similar to how AIX traditionally builds its shared libraries.
9267 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'
9275 # see comment about AmigaOS4 .so support
9276 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277 archive_expsym_cmds
=''
9280 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)'
9281 hardcode_libdir_flag_spec
='-L$libdir'
9282 hardcode_minus_L
=yes
9288 export_dynamic_flag_spec
=-rdynamic
9291 cygwin
* | mingw
* | pw32
* | cegcc
*)
9292 # When not using gcc, we currently assume that we are using
9293 # Microsoft Visual C++.
9294 # hardcode_libdir_flag_spec is actually meaningless, as there is
9295 # no search path for DLLs.
9296 hardcode_libdir_flag_spec
=' '
9297 allow_undefined_flag
=unsupported
9298 # Tell ltmain to make .lib files, not .a files.
9300 # Tell ltmain to make .dll files, not .so files.
9302 # FIXME: Setting linknames here is a bad hack.
9303 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9304 # The linker will automatically build a .lib file if we build a DLL.
9305 old_archive_from_new_cmds
='true'
9306 # FIXME: Should let the user specify the lib program.
9307 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9308 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9309 enable_shared_with_static_runtimes
=yes
9312 darwin
* | rhapsody
*)
9315 archive_cmds_need_lc
=no
9317 hardcode_automatic
=yes
9318 hardcode_shlibpath_var
=unsupported
9319 if test "$lt_cv_ld_force_load" = "yes"; then
9320 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\"`'
9322 whole_archive_flag_spec
=''
9324 link_all_deplibs
=yes
9325 allow_undefined_flag
="$_lt_dar_allow_undefined"
9326 case $cc_basename in
9327 ifort
*) _lt_dar_can_shared
=yes ;;
9328 *) _lt_dar_can_shared
=$GCC ;;
9330 if test "$_lt_dar_can_shared" = "yes"; then
9331 output_verbose_link_cmd
=func_echo_all
9332 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9333 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9334 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}"
9335 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}"
9344 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9345 hardcode_libdir_flag_spec
='-L$libdir'
9346 hardcode_shlibpath_var
=no
9349 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9350 # support. Future versions do this automatically, but an explicit c++rt0.o
9351 # does not break anything, and helps significantly (at the cost of a little
9354 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9355 hardcode_libdir_flag_spec
='-R$libdir'
9357 hardcode_shlibpath_var
=no
9360 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9362 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9364 hardcode_minus_L
=yes
9365 hardcode_shlibpath_var
=no
9368 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9369 freebsd
* | dragonfly
*)
9370 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9371 hardcode_libdir_flag_spec
='-R$libdir'
9373 hardcode_shlibpath_var
=no
9377 if test "$GCC" = yes; then
9378 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'
9380 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'
9382 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9383 hardcode_libdir_separator
=:
9386 # hardcode_minus_L: Not really in the search PATH,
9387 # but as the default location of the library.
9388 hardcode_minus_L
=yes
9389 export_dynamic_flag_spec
='${wl}-E'
9393 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9394 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9398 if test "$with_gnu_ld" = no
; then
9399 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9400 hardcode_libdir_flag_spec_ld
='+b $libdir'
9401 hardcode_libdir_separator
=:
9403 hardcode_direct_absolute
=yes
9404 export_dynamic_flag_spec
='${wl}-E'
9405 # hardcode_minus_L: Not really in the search PATH,
9406 # but as the default location of the library.
9407 hardcode_minus_L
=yes
9412 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9415 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9418 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9427 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9434 # Older versions of the 11.00 compiler do not understand -b yet
9435 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9437 $as_echo_n "checking if $CC understands -b... " >&6; }
9438 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9439 $as_echo_n "(cached) " >&6
9441 lt_cv_prog_compiler__b
=no
9442 save_LDFLAGS
="$LDFLAGS"
9443 LDFLAGS
="$LDFLAGS -b"
9444 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9445 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9446 # The linker can only warn and ignore the option if not recognized
9447 # So say no if there are warnings
9448 if test -s conftest.err
; then
9449 # Append any errors to the config.log.
9450 cat conftest.err
1>&5
9451 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9452 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9453 if diff conftest.exp conftest.er2
>/dev
/null
; then
9454 lt_cv_prog_compiler__b
=yes
9457 lt_cv_prog_compiler__b
=yes
9461 LDFLAGS
="$save_LDFLAGS"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9465 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9467 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9468 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9476 if test "$with_gnu_ld" = no
; then
9477 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9478 hardcode_libdir_separator
=:
9483 hardcode_shlibpath_var
=no
9487 hardcode_direct_absolute
=yes
9488 export_dynamic_flag_spec
='${wl}-E'
9490 # hardcode_minus_L: Not really in the search PATH,
9491 # but as the default location of the library.
9492 hardcode_minus_L
=yes
9498 irix5
* | irix6
* | nonstopux
*)
9499 if test "$GCC" = yes; then
9500 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'
9501 # Try to use the -exported_symbol ld option, if it does not
9502 # work, assume that -exports_file does not work either and
9503 # implicitly export all symbols.
9504 save_LDFLAGS
="$LDFLAGS"
9505 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9510 if ac_fn_c_try_link
"$LINENO"; then :
9511 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'
9514 rm -f core conftest.err conftest.
$ac_objext \
9515 conftest
$ac_exeext conftest.
$ac_ext
9516 LDFLAGS
="$save_LDFLAGS"
9518 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'
9519 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'
9521 archive_cmds_need_lc
='no'
9522 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9523 hardcode_libdir_separator
=:
9525 link_all_deplibs
=yes
9529 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9530 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9532 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9534 hardcode_libdir_flag_spec
='-R$libdir'
9536 hardcode_shlibpath_var
=no
9540 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9542 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9543 hardcode_libdir_separator
=:
9544 hardcode_shlibpath_var
=no
9551 if test -f /usr
/libexec
/ld.so
; then
9553 hardcode_shlibpath_var
=no
9554 hardcode_direct_absolute
=yes
9555 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9556 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9558 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9559 export_dynamic_flag_spec
='${wl}-E'
9562 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9563 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9564 hardcode_libdir_flag_spec
='-R$libdir'
9567 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9568 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9578 hardcode_libdir_flag_spec
='-L$libdir'
9579 hardcode_minus_L
=yes
9580 allow_undefined_flag
=unsupported
9581 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'
9582 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9586 if test "$GCC" = yes; then
9587 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9588 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'
9590 allow_undefined_flag
=' -expect_unresolved \*'
9591 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'
9593 archive_cmds_need_lc
='no'
9594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9595 hardcode_libdir_separator
=:
9598 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9599 if test "$GCC" = yes; then
9600 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9601 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'
9602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9604 allow_undefined_flag
=' -expect_unresolved \*'
9605 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'
9606 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~
9607 $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'
9609 # Both c and cxx compiler support -rpath directly
9610 hardcode_libdir_flag_spec
='-rpath $libdir'
9612 archive_cmds_need_lc
='no'
9613 hardcode_libdir_separator
=:
9617 no_undefined_flag
=' -z defs'
9618 if test "$GCC" = yes; then
9620 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9621 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9622 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9624 case `$CC -V 2>&1` in
9627 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9629 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9633 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9635 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9639 hardcode_libdir_flag_spec
='-R$libdir'
9640 hardcode_shlibpath_var
=no
9642 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9644 # The compiler driver will combine and reorder linker options,
9645 # but understands `-z linker_flag'. GCC discards it without `$wl',
9646 # but is careful enough not to reorder.
9647 # Supported since Solaris 2.6 (maybe 2.5.1?)
9648 if test "$GCC" = yes; then
9649 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9651 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9655 link_all_deplibs
=yes
9659 if test "x$host_vendor" = xsequent
; then
9660 # Use $CC to link under sequent, because it throws in some extra .o
9661 # files that make .init and .fini sections work.
9662 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_libdir_flag_spec
='-L$libdir'
9668 hardcode_minus_L
=yes
9669 hardcode_shlibpath_var
=no
9673 case $host_vendor in
9675 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9676 hardcode_direct
=yes # is this really true???
9679 ## LD is ld it makes a PLAMLIB
9680 ## CC just makes a GrossModule.
9681 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9682 reload_cmds
='$CC -r -o $output$reload_objs'
9686 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9690 runpath_var
='LD_RUN_PATH'
9691 hardcode_shlibpath_var
=no
9695 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9696 hardcode_shlibpath_var
=no
9697 export_dynamic_flag_spec
='-Bexport'
9701 if test -d /usr
/nec
; then
9702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703 hardcode_shlibpath_var
=no
9704 runpath_var
=LD_RUN_PATH
9705 hardcode_runpath_var
=yes
9710 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9711 no_undefined_flag
='${wl}-z,text'
9712 archive_cmds_need_lc
=no
9713 hardcode_shlibpath_var
=no
9714 runpath_var
='LD_RUN_PATH'
9716 if test "$GCC" = yes; then
9717 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9725 sysv5
* | sco3.2v5
* | sco5v6
*)
9726 # Note: We can NOT use -z defs as we might desire, because we do not
9727 # link with -lc, and that would cause any symbols used from libc to
9728 # always be unresolved, which means just about no library would
9729 # ever link correctly. If we're not using GNU ld we use -z text
9730 # though, which does catch some bad symbols but isn't as heavy-handed
9732 no_undefined_flag
='${wl}-z,text'
9733 allow_undefined_flag
='${wl}-z,nodefs'
9734 archive_cmds_need_lc
=no
9735 hardcode_shlibpath_var
=no
9736 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9737 hardcode_libdir_separator
=':'
9738 link_all_deplibs
=yes
9739 export_dynamic_flag_spec
='${wl}-Bexport'
9740 runpath_var
='LD_RUN_PATH'
9742 if test "$GCC" = yes; then
9743 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9753 hardcode_libdir_flag_spec
='-L$libdir'
9754 hardcode_shlibpath_var
=no
9762 if test x
$host_vendor = xsni
; then
9764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9765 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9772 $as_echo "$ld_shlibs" >&6; }
9773 test "$ld_shlibs" = no
&& can_build_shared
=no
9775 with_gnu_ld
=$with_gnu_ld
9792 # Do we need to explicitly link libc?
9794 case "x$archive_cmds_need_lc" in
9796 # Assume -lc should be added
9797 archive_cmds_need_lc
=yes
9799 if test "$enable_shared" = yes && test "$GCC" = yes; then
9800 case $archive_cmds in
9802 # FIXME: we may have to deal with multi-command sequences.
9805 # Test whether the compiler implicitly links with -lc since on some
9806 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9807 # to ld, don't add -lc before -lgcc.
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9809 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9810 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9811 $as_echo_n "(cached) " >&6
9814 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9817 (eval $ac_compile) 2>&5
9819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9820 test $ac_status = 0; } 2>conftest.err
; then
9823 libobjs
=conftest.
$ac_objext
9825 wl
=$lt_prog_compiler_wl
9826 pic_flag
=$lt_prog_compiler_pic
9832 lt_save_allow_undefined_flag
=$allow_undefined_flag
9833 allow_undefined_flag
=
9834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9835 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9838 test $ac_status = 0; }
9840 lt_cv_archive_cmds_need_lc
=no
9842 lt_cv_archive_cmds_need_lc
=yes
9844 allow_undefined_flag
=$lt_save_allow_undefined_flag
9846 cat conftest.err
1>&5
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9852 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9853 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10017 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10019 if test "$GCC" = yes; then
10021 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10022 *) lt_awk_arg
="/^libraries:/" ;;
10025 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10026 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10028 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10029 case $lt_search_path_spec in
10031 # if the path contains ";" then we assume it to be the separator
10032 # otherwise default to the standard path separator (i.e. ":") - it is
10033 # assumed that no part of a normal pathname contains ";" but that should
10034 # okay in the real world where ";" in dirpaths is itself problematic.
10035 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10038 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10041 # Ok, now we have the path, separated by spaces, we can step through it
10042 # and add multilib dir if necessary.
10043 lt_tmp_lt_search_path_spec
=
10044 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10045 for lt_sys_path
in $lt_search_path_spec; do
10046 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10047 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10049 test -d "$lt_sys_path" && \
10050 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10053 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10054 BEGIN {RS=" "; FS="/|\n";} {
10057 for (lt_i = NF; lt_i > 0; lt_i--) {
10058 if ($lt_i != "" && $lt_i != ".") {
10059 if ($lt_i == "..") {
10062 if (lt_count == 0) {
10063 lt_foo="/" $lt_i lt_foo;
10070 if (lt_foo != "") { lt_freq[lt_foo]++; }
10071 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10073 # AWK program above erroneously prepends '/' to C:/dos/paths
10076 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10077 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10079 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10081 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10083 library_names_spec
=
10084 libname_spec
='lib$name'
10088 postuninstall_cmds
=
10092 shlibpath_overrides_runpath
=unknown
10094 dynamic_linker
="$host_os ld.so"
10095 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10096 need_lib_prefix
=unknown
10097 hardcode_into_libs
=no
10099 # when you set need_version to no, make sure it does not cause -set_version
10100 # flags to be left without arguments
10101 need_version
=unknown
10106 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10107 shlibpath_var
=LIBPATH
10109 # AIX 3 has no versioning support, so we append a major version to the name.
10110 soname_spec
='${libname}${release}${shared_ext}$major'
10117 hardcode_into_libs
=yes
10118 if test "$host_cpu" = ia64
; then
10119 # AIX 5 supports IA64
10120 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10121 shlibpath_var
=LD_LIBRARY_PATH
10123 # With GCC up to 2.95.x, collect2 would create an import file
10124 # for dependence libraries. The import file would start with
10125 # the line `#! .'. This would cause the generated library to
10126 # depend on `.', always an invalid library. This was fixed in
10127 # development snapshots of GCC prior to 3.0.
10129 aix4 | aix4.
[01] | aix4.
[01].
*)
10130 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10132 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10135 can_build_shared
=no
10139 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10140 # soname into executable. Probably we can add versioning support to
10141 # collect2, so additional links can be useful in future.
10142 if test "$aix_use_runtimelinking" = yes; then
10143 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10144 # instead of lib<name>.a to let people know that these are not
10145 # typical AIX shared libraries.
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10148 # We preserve .a as extension for shared libraries through AIX4.2
10149 # and later when we are not doing run time linking.
10150 library_names_spec
='${libname}${release}.a $libname.a'
10151 soname_spec
='${libname}${release}${shared_ext}$major'
10153 shlibpath_var
=LIBPATH
10160 # Since July 2007 AmigaOS4 officially supports .so libraries.
10161 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10165 library_names_spec
='$libname.ixlibrary $libname.a'
10166 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10167 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'
10173 library_names_spec
='${libname}${shared_ext}'
10174 dynamic_linker
="$host_os ld.so"
10175 shlibpath_var
=LIBRARY_PATH
10181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10182 soname_spec
='${libname}${release}${shared_ext}$major'
10183 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10184 shlibpath_var
=LD_LIBRARY_PATH
10185 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10186 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10187 # the default ld.so.conf also contains /usr/contrib/lib and
10188 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10189 # libtool to hard-code these into programs
10192 cygwin
* | mingw
* | pw32
* | cegcc
*)
10193 version_type
=windows
10198 case $GCC,$host_os in
10199 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10200 library_names_spec
='$libname.dll.a'
10201 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10202 postinstall_cmds
='base_file=`basename \${file}`~
10203 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10204 dldir=$destdir/`dirname \$dlpath`~
10205 test -d \$dldir || mkdir -p \$dldir~
10206 $install_prog $dir/$dlname \$dldir/$dlname~
10207 chmod a+x \$dldir/$dlname~
10208 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10209 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10211 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10212 dlpath=$dir/\$dldll~
10214 shlibpath_overrides_runpath
=yes
10218 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10219 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10221 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10224 # MinGW DLLs use traditional 'lib' prefix
10225 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10228 # pw32 DLLs use 'pw' prefix rather than 'lib'
10229 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10235 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10238 dynamic_linker
='Win32 ld.exe'
10239 # FIXME: first we should search . and the directory the executable is in
10243 darwin
* | rhapsody
*)
10244 dynamic_linker
="$host_os dyld"
10245 version_type
=darwin
10248 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10249 soname_spec
='${libname}${release}${major}$shared_ext'
10250 shlibpath_overrides_runpath
=yes
10251 shlibpath_var
=DYLD_LIBRARY_PATH
10252 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10254 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10255 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10263 soname_spec
='${libname}${release}${shared_ext}$major'
10264 shlibpath_var
=LD_LIBRARY_PATH
10267 freebsd
* | dragonfly
*)
10268 # DragonFly does not have aout. When/if they implement a new
10269 # versioning mechanism, adjust this.
10270 if test -x /usr
/bin
/objformat
; then
10271 objformat
=`/usr/bin/objformat`
10274 freebsd
[23].
*) objformat
=aout
;;
10275 *) objformat
=elf
;;
10278 version_type
=freebsd-
$objformat
10279 case $version_type in
10281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10290 shlibpath_var
=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath
=yes
10295 freebsd3.
[01]* | freebsdelf3.
[01]*)
10296 shlibpath_overrides_runpath
=yes
10297 hardcode_into_libs
=yes
10299 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10300 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10301 shlibpath_overrides_runpath
=no
10302 hardcode_into_libs
=yes
10304 *) # from 4.6 on, and DragonFly
10305 shlibpath_overrides_runpath
=yes
10306 hardcode_into_libs
=yes
10315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10316 soname_spec
='${libname}${release}${shared_ext}$major'
10317 shlibpath_var
=LD_LIBRARY_PATH
10318 hardcode_into_libs
=yes
10325 dynamic_linker
="$host_os runtime_loader"
10326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10327 soname_spec
='${libname}${release}${shared_ext}$major'
10328 shlibpath_var
=LIBRARY_PATH
10329 shlibpath_overrides_runpath
=yes
10330 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10331 hardcode_into_libs
=yes
10334 hpux9
* | hpux10
* | hpux11
*)
10335 # Give a soname corresponding to the major version so that dld.sl refuses to
10336 # link against other versions.
10343 hardcode_into_libs
=yes
10344 dynamic_linker
="$host_os dld.so"
10345 shlibpath_var
=LD_LIBRARY_PATH
10346 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348 soname_spec
='${libname}${release}${shared_ext}$major'
10349 if test "X$HPUX_IA64_MODE" = X32
; then
10350 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10352 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10354 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10358 hardcode_into_libs
=yes
10359 dynamic_linker
="$host_os dld.sl"
10360 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10361 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10363 soname_spec
='${libname}${release}${shared_ext}$major'
10364 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10365 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10369 dynamic_linker
="$host_os dld.sl"
10370 shlibpath_var
=SHLIB_PATH
10371 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10373 soname_spec
='${libname}${release}${shared_ext}$major'
10376 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10377 postinstall_cmds
='chmod 555 $lib'
10378 # or fails outright, so override atomically:
10379 install_override_mode
=555
10386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10387 soname_spec
='${libname}${release}${shared_ext}$major'
10388 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10389 shlibpath_var
=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath
=no
10391 hardcode_into_libs
=yes
10394 irix5
* | irix6
* | nonstopux
*)
10396 nonstopux
*) version_type
=nonstopux
;;
10398 if test "$lt_cv_prog_gnu_ld" = yes; then
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10409 irix5
* | nonstopux
*)
10410 libsuff
= shlibsuff
=
10413 case $LD in # libtool.m4 will add one of these switches to LD
10414 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10415 libsuff
= shlibsuff
= libmagic
=32-bit;;
10416 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10417 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10418 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10419 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10420 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10424 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10425 shlibpath_overrides_runpath
=no
10426 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10427 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10428 hardcode_into_libs
=yes
10431 # No shared lib support for Linux oldld, aout, or coff.
10432 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10436 # This must be Linux ELF.
10437 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec
='${libname}${release}${shared_ext}$major'
10443 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10444 shlibpath_var
=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath
=no
10447 # Some binutils ld are patched to set DT_RUNPATH
10448 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10449 $as_echo_n "(cached) " >&6
10451 lt_cv_shlibpath_overrides_runpath
=no
10452 save_LDFLAGS
=$LDFLAGS
10453 save_libdir
=$libdir
10454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10467 if ac_fn_c_try_link
"$LINENO"; then :
10468 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10469 lt_cv_shlibpath_overrides_runpath
=yes
10472 rm -f core conftest.err conftest.
$ac_objext \
10473 conftest
$ac_exeext conftest.
$ac_ext
10474 LDFLAGS
=$save_LDFLAGS
10475 libdir
=$save_libdir
10479 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10481 # This implies no fast_install, which is unacceptable.
10482 # Some rework will be needed to allow for fast_install
10483 # before this can be enabled.
10484 hardcode_into_libs
=yes
10486 # Append ld.so.conf contents to the search path
10487 if test -f /etc
/ld.so.conf
; then
10488 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' ' '`
10489 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10492 # We used to test for /lib/ld.so.1 and disable shared libraries on
10493 # powerpc, because MkLinux only supported shared libraries with the
10494 # GNU dynamic linker. Since this was broken with cross compilers,
10495 # most powerpc-linux boxes support dynamic linking these days and
10496 # people can always --disable-shared, the test was removed, and we
10497 # assume the GNU/Linux dynamic linker is in use.
10498 dynamic_linker
='GNU/Linux ld.so'
10505 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10507 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10508 dynamic_linker
='NetBSD (a.out) ld.so'
10510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10511 soname_spec
='${libname}${release}${shared_ext}$major'
10512 dynamic_linker
='NetBSD ld.elf_so'
10514 shlibpath_var
=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath
=yes
10516 hardcode_into_libs
=yes
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522 shlibpath_var
=LD_LIBRARY_PATH
10523 shlibpath_overrides_runpath
=yes
10530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 soname_spec
='${libname}${release}${shared_ext}$major'
10532 shlibpath_var
=LD_LIBRARY_PATH
10533 shlibpath_overrides_runpath
=no
10534 hardcode_into_libs
=yes
10535 dynamic_linker
='ldqnx.so'
10540 sys_lib_dlsearch_path_spec
="/usr/lib"
10542 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10544 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10545 *) need_version
=no
;;
10547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10548 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10549 shlibpath_var
=LD_LIBRARY_PATH
10550 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10552 openbsd2.
[89] | openbsd2.
[89].
*)
10553 shlibpath_overrides_runpath
=no
10556 shlibpath_overrides_runpath
=yes
10560 shlibpath_overrides_runpath
=yes
10565 libname_spec
='$name'
10568 library_names_spec
='$libname${shared_ext} $libname.a'
10569 dynamic_linker
='OS/2 ld.exe'
10570 shlibpath_var
=LIBPATH
10573 osf3
* | osf4
* | osf5
*)
10577 soname_spec
='${libname}${release}${shared_ext}$major'
10578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 shlibpath_var
=LD_LIBRARY_PATH
10580 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10581 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
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 shlibpath_overrides_runpath
=yes
10596 hardcode_into_libs
=yes
10597 # ldd complains unless libraries are executable
10598 postinstall_cmds
='chmod +x $lib'
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10604 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10605 shlibpath_var
=LD_LIBRARY_PATH
10606 shlibpath_overrides_runpath
=yes
10607 if test "$with_gnu_ld" = yes; then
10615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 soname_spec
='${libname}${release}${shared_ext}$major'
10617 shlibpath_var
=LD_LIBRARY_PATH
10618 case $host_vendor in
10620 shlibpath_overrides_runpath
=no
10622 runpath_var
=LD_RUN_PATH
10630 shlibpath_overrides_runpath
=no
10631 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10637 if test -d /usr
/nec
;then
10639 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10640 soname_spec
='$libname${shared_ext}.$major'
10641 shlibpath_var
=LD_LIBRARY_PATH
10645 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10646 version_type
=freebsd-elf
10649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10650 soname_spec
='${libname}${release}${shared_ext}$major'
10651 shlibpath_var
=LD_LIBRARY_PATH
10652 shlibpath_overrides_runpath
=yes
10653 hardcode_into_libs
=yes
10654 if test "$with_gnu_ld" = yes; then
10655 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10657 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10660 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10664 sys_lib_dlsearch_path_spec
='/usr/lib'
10668 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 shlibpath_var
=LD_LIBRARY_PATH
10674 shlibpath_overrides_runpath
=no
10675 hardcode_into_libs
=yes
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10682 shlibpath_var
=LD_LIBRARY_PATH
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10690 $as_echo "$dynamic_linker" >&6; }
10691 test "$dynamic_linker" = no
&& can_build_shared
=no
10693 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10694 if test "$GCC" = yes; then
10695 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10698 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10699 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10701 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10702 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10799 if test -n "$hardcode_libdir_flag_spec" ||
10800 test -n "$runpath_var" ||
10801 test "X$hardcode_automatic" = "Xyes" ; then
10803 # We can hardcode non-existent directories.
10804 if test "$hardcode_direct" != no
&&
10805 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10806 # have to relink, otherwise we might link with an installed library
10807 # when we should be linking with a yet-to-be-installed one
10808 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10809 test "$hardcode_minus_L" != no
; then
10810 # Linking always hardcodes the temporary library directory.
10811 hardcode_action
=relink
10813 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10814 hardcode_action
=immediate
10817 # We cannot hardcode anything, or else we can only hardcode existing
10819 hardcode_action
=unsupported
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10822 $as_echo "$hardcode_action" >&6; }
10824 if test "$hardcode_action" = relink ||
10825 test "$inherit_rpath" = yes; then
10826 # Fast installation is not supported
10827 enable_fast_install
=no
10828 elif test "$shlibpath_overrides_runpath" = yes ||
10829 test "$enable_shared" = no
; then
10830 # Fast installation is not necessary
10831 enable_fast_install
=needless
10839 if test "x$enable_dlopen" != xyes
; then
10840 enable_dlopen
=unknown
10841 enable_dlopen_self
=unknown
10842 enable_dlopen_self_static
=unknown
10849 lt_cv_dlopen
="load_add_on"
10851 lt_cv_dlopen_self
=yes
10854 mingw
* | pw32
* | cegcc
*)
10855 lt_cv_dlopen
="LoadLibrary"
10860 lt_cv_dlopen
="dlopen"
10865 # if libdl is installed we need to link against it
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10867 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10868 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10869 $as_echo_n "(cached) " >&6
10871 ac_check_lib_save_LIBS
=$LIBS
10873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10891 if ac_fn_c_try_link
"$LINENO"; then :
10892 ac_cv_lib_dl_dlopen
=yes
10894 ac_cv_lib_dl_dlopen
=no
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 LIBS
=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10901 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10902 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10903 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10906 lt_cv_dlopen
="dyld"
10908 lt_cv_dlopen_self
=yes
10915 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10916 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10917 lt_cv_dlopen
="shl_load"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10920 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10921 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10922 $as_echo_n "(cached) " >&6
10924 ac_check_lib_save_LIBS
=$LIBS
10926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10939 return shl_load ();
10944 if ac_fn_c_try_link
"$LINENO"; then :
10945 ac_cv_lib_dld_shl_load
=yes
10947 ac_cv_lib_dld_shl_load
=no
10949 rm -f core conftest.err conftest.
$ac_objext \
10950 conftest
$ac_exeext conftest.
$ac_ext
10951 LIBS
=$ac_check_lib_save_LIBS
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10954 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10955 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10956 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10958 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10959 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10960 lt_cv_dlopen
="dlopen"
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10963 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10964 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10965 $as_echo_n "(cached) " >&6
10967 ac_check_lib_save_LIBS
=$LIBS
10969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10987 if ac_fn_c_try_link
"$LINENO"; then :
10988 ac_cv_lib_dl_dlopen
=yes
10990 ac_cv_lib_dl_dlopen
=no
10992 rm -f core conftest.err conftest.
$ac_objext \
10993 conftest
$ac_exeext conftest.
$ac_ext
10994 LIBS
=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10997 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10998 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10999 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11002 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11003 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11004 $as_echo_n "(cached) " >&6
11006 ac_check_lib_save_LIBS
=$LIBS
11007 LIBS
="-lsvld $LIBS"
11008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11026 if ac_fn_c_try_link
"$LINENO"; then :
11027 ac_cv_lib_svld_dlopen
=yes
11029 ac_cv_lib_svld_dlopen
=no
11031 rm -f core conftest.err conftest.
$ac_objext \
11032 conftest
$ac_exeext conftest.
$ac_ext
11033 LIBS
=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11036 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11037 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11038 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11041 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11042 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11043 $as_echo_n "(cached) " >&6
11045 ac_check_lib_save_LIBS
=$LIBS
11047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11060 return dld_link ();
11065 if ac_fn_c_try_link
"$LINENO"; then :
11066 ac_cv_lib_dld_dld_link
=yes
11068 ac_cv_lib_dld_dld_link
=no
11070 rm -f core conftest.err conftest.
$ac_objext \
11071 conftest
$ac_exeext conftest.
$ac_ext
11072 LIBS
=$ac_check_lib_save_LIBS
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11075 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11076 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11077 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11098 if test "x$lt_cv_dlopen" != xno
; then
11104 case $lt_cv_dlopen in
11106 save_CPPFLAGS
="$CPPFLAGS"
11107 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11109 save_LDFLAGS
="$LDFLAGS"
11110 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11113 LIBS
="$lt_cv_dlopen_libs $LIBS"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11116 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11117 if test "${lt_cv_dlopen_self+set}" = set; then :
11118 $as_echo_n "(cached) " >&6
11120 if test "$cross_compiling" = yes; then :
11121 lt_cv_dlopen_self
=cross
11123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11124 lt_status
=$lt_dlunknown
11125 cat > conftest.
$ac_ext <<_LT_EOF
11126 #line 11126 "configure"
11127 #include "confdefs.h"
11136 # define LT_DLGLOBAL RTLD_GLOBAL
11139 # define LT_DLGLOBAL DL_GLOBAL
11141 # define LT_DLGLOBAL 0
11145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11146 find out it does not work in some platform. */
11147 #ifndef LT_DLLAZY_OR_NOW
11149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11152 # define LT_DLLAZY_OR_NOW DL_LAZY
11155 # define LT_DLLAZY_OR_NOW RTLD_NOW
11158 # define LT_DLLAZY_OR_NOW DL_NOW
11160 # define LT_DLLAZY_OR_NOW 0
11167 /* When -fvisbility=hidden is used, assume the code has been annotated
11168 correspondingly for the symbols needed. */
11169 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11170 void fnord () __attribute__((visibility("default")));
11173 void fnord () { int i=42; }
11176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11177 int status = $lt_dlunknown;
11181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11184 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11185 else puts (dlerror ());
11187 /* dlclose (self); */
11195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11196 (eval $ac_link) 2>&5
11198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11199 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11200 (.
/conftest
; exit; ) >&5 2>/dev
/null
11202 case x
$lt_status in
11203 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11204 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11205 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11208 # compilation failed
11209 lt_cv_dlopen_self
=no
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11217 $as_echo "$lt_cv_dlopen_self" >&6; }
11219 if test "x$lt_cv_dlopen_self" = xyes
; then
11220 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11222 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11223 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 if test "$cross_compiling" = yes; then :
11227 lt_cv_dlopen_self_static
=cross
11229 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11230 lt_status
=$lt_dlunknown
11231 cat > conftest.
$ac_ext <<_LT_EOF
11232 #line 11232 "configure"
11233 #include "confdefs.h"
11242 # define LT_DLGLOBAL RTLD_GLOBAL
11245 # define LT_DLGLOBAL DL_GLOBAL
11247 # define LT_DLGLOBAL 0
11251 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11252 find out it does not work in some platform. */
11253 #ifndef LT_DLLAZY_OR_NOW
11255 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11258 # define LT_DLLAZY_OR_NOW DL_LAZY
11261 # define LT_DLLAZY_OR_NOW RTLD_NOW
11264 # define LT_DLLAZY_OR_NOW DL_NOW
11266 # define LT_DLLAZY_OR_NOW 0
11273 /* When -fvisbility=hidden is used, assume the code has been annotated
11274 correspondingly for the symbols needed. */
11275 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11276 void fnord () __attribute__((visibility("default")));
11279 void fnord () { int i=42; }
11282 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11283 int status = $lt_dlunknown;
11287 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11290 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11291 else puts (dlerror ());
11293 /* dlclose (self); */
11301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11302 (eval $ac_link) 2>&5
11304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11305 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11306 (.
/conftest
; exit; ) >&5 2>/dev
/null
11308 case x
$lt_status in
11309 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11310 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11311 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11314 # compilation failed
11315 lt_cv_dlopen_self_static
=no
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11323 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11326 CPPFLAGS
="$save_CPPFLAGS"
11327 LDFLAGS
="$save_LDFLAGS"
11332 case $lt_cv_dlopen_self in
11333 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11334 *) enable_dlopen_self
=unknown
;;
11337 case $lt_cv_dlopen_self_static in
11338 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11339 *) enable_dlopen_self_static
=unknown
;;
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11362 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11363 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11364 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11365 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11367 $as_echo "yes" >&6; }
11369 # FIXME - insert some real tests, host_os isn't really good enough
11372 if test -n "$STRIP" ; then
11373 striplib
="$STRIP -x"
11374 old_striplib
="$STRIP -S"
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11376 $as_echo "yes" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11379 $as_echo "no" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11384 $as_echo "no" >&6; }
11400 # Report which library types will actually be built
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11402 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11404 $as_echo "$can_build_shared" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11407 $as_echo_n "checking whether to build shared libraries... " >&6; }
11408 test "$can_build_shared" = "no" && enable_shared
=no
11410 # On AIX, shared libraries and static libraries use the same namespace, and
11411 # are all built from PIC.
11414 test "$enable_shared" = yes && enable_static
=no
11415 if test -n "$RANLIB"; then
11416 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11417 postinstall_cmds
='$RANLIB $lib'
11422 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11423 test "$enable_shared" = yes && enable_static
=no
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11428 $as_echo "$enable_shared" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11431 $as_echo_n "checking whether to build static libraries... " >&6; }
11432 # Make sure either enable_shared or enable_static is yes.
11433 test "$enable_shared" = yes || enable_static
=yes
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11435 $as_echo "$enable_static" >&6; }
11442 ac_cpp
='$CPP $CPPFLAGS'
11443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11461 # Source file extension for Go test sources.
11464 # Object file extension for compiled Go test sources.
11468 # Code to be used in simple compile tests
11469 lt_simple_compile_test_code
="package main; func main() { }"
11471 # Code to be used in simple link tests
11472 lt_simple_link_test_code
='package main; func main() { }'
11474 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11481 # If no C compiler was specified, use CC.
11484 # If no C compiler flags were specified, use CFLAGS.
11485 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11487 # Allow CC to be a program name with arguments.
11491 # save warnings/boilerplate of simple test code
11492 ac_outfile
=conftest.
$ac_objext
11493 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11494 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11495 _lt_compiler_boilerplate
=`cat conftest.err`
11498 ac_outfile
=conftest.
$ac_objext
11499 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11500 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11501 _lt_linker_boilerplate
=`cat conftest.err`
11505 # Allow CC to be a program name with arguments.
11513 for cc_temp
in $compiler""; do
11515 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11516 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11521 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11524 # Go did not exist at the time GCC didn't implicitly link libc in.
11525 archive_cmds_need_lc_GO
=no
11527 old_archive_cmds_GO
=$old_archive_cmds
11530 ## There is no encapsulation within the following macros, do not change
11531 ## the running order or otherwise move them around unless you know exactly
11532 ## what you are doing...
11533 if test -n "$compiler"; then
11535 lt_prog_compiler_no_builtin_flag_GO
=
11537 if test "$GCC" = yes; then
11538 case $cc_basename in
11540 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11542 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11546 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11547 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11548 $as_echo_n "(cached) " >&6
11550 lt_cv_prog_compiler_rtti_exceptions
=no
11551 ac_outfile
=conftest.
$ac_objext
11552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11553 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11554 # Insert the option either (1) after the last *FLAGS variable, or
11555 # (2) before a word containing "conftest.", or (3) at the end.
11556 # Note that $ac_compile itself does not contain backslashes and begins
11557 # with a dollar sign (not a hyphen), so the echo should work correctly.
11558 # The option is referenced via a variable to avoid confusing sed.
11559 lt_compile
=`echo "$ac_compile" | $SED \
11560 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11562 -e 's:$: $lt_compiler_flag:'`
11563 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11564 (eval "$lt_compile" 2>conftest.err
)
11566 cat conftest.err
>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 if (exit $ac_status) && test -s "$ac_outfile"; then
11569 # The compiler can only warn and ignore the option if not recognized
11570 # So say no if there are warnings other than the usual output.
11571 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11572 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11573 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11574 lt_cv_prog_compiler_rtti_exceptions
=yes
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11581 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11583 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11584 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11593 lt_prog_compiler_wl_GO
=
11594 lt_prog_compiler_pic_GO
=
11595 lt_prog_compiler_static_GO
=
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11598 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11600 if test "$GCC" = yes; then
11601 lt_prog_compiler_wl_GO
='-Wl,'
11602 lt_prog_compiler_static_GO
='-static'
11606 # All AIX code is PIC.
11607 if test "$host_cpu" = ia64
; then
11608 # AIX 5 now supports IA64 processor
11609 lt_prog_compiler_static_GO
='-Bstatic'
11611 lt_prog_compiler_pic_GO
='-fPIC'
11617 # see comment about AmigaOS4 .so support
11618 lt_prog_compiler_pic_GO
='-fPIC'
11621 # FIXME: we need at least 68020 code to build shared libraries, but
11622 # adding the `-m68020' flag to GCC prevents building anything better,
11624 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11629 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11630 # PIC is the default for these OSes.
11633 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11634 # This hack is so that the source file can tell whether it is being
11635 # built for inclusion in a dll (and should export symbols for example).
11636 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11637 # (--disable-auto-import) libraries
11638 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11641 darwin
* | rhapsody
*)
11642 # PIC is the default on this platform
11643 # Common symbols not allowed in MH_DYLIB files
11644 lt_prog_compiler_pic_GO
='-fno-common'
11648 # PIC is the default for Haiku.
11649 # The "-static" flag exists, but is broken.
11650 lt_prog_compiler_static_GO
=
11654 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11655 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11656 # sets the default TLS model and affects inlining.
11662 lt_prog_compiler_pic_GO
='-fPIC'
11668 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11669 # Instead, we relocate shared libraries at runtime.
11673 # Just because we use GCC doesn't mean we suddenly get shared libraries
11674 # on systems that don't support them.
11675 lt_prog_compiler_can_build_shared_GO
=no
11680 # QNX uses GNU C++, but need to define -shared option too, otherwise
11681 # it will coredump.
11682 lt_prog_compiler_pic_GO
='-fPIC -shared'
11686 if test -d /usr
/nec
; then
11687 lt_prog_compiler_pic_GO
=-Kconform_pic
11692 lt_prog_compiler_pic_GO
='-fPIC'
11696 case $cc_basename in
11697 nvcc
*) # Cuda Compiler Driver 2.2
11698 lt_prog_compiler_wl_GO
='-Xlinker '
11699 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11703 # PORTME Check for flag to pass linker flags through the system compiler.
11706 lt_prog_compiler_wl_GO
='-Wl,'
11707 if test "$host_cpu" = ia64
; then
11708 # AIX 5 now supports IA64 processor
11709 lt_prog_compiler_static_GO
='-Bstatic'
11711 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11715 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11716 # This hack is so that the source file can tell whether it is being
11717 # built for inclusion in a dll (and should export symbols for example).
11718 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11721 hpux9
* | hpux10
* | hpux11
*)
11722 lt_prog_compiler_wl_GO
='-Wl,'
11723 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11724 # not for PA HP-UX.
11730 lt_prog_compiler_pic_GO
='+Z'
11733 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11734 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11737 irix5
* | irix6
* | nonstopux
*)
11738 lt_prog_compiler_wl_GO
='-Wl,'
11739 # PIC (with -KPIC) is the default.
11740 lt_prog_compiler_static_GO
='-non_shared'
11743 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11744 case $cc_basename in
11745 # old Intel for x86_64 which still supported -KPIC.
11747 lt_prog_compiler_wl_GO
='-Wl,'
11748 lt_prog_compiler_pic_GO
='-KPIC'
11749 lt_prog_compiler_static_GO
='-static'
11751 # icc used to be incompatible with GCC.
11752 # ICC 10 doesn't accept -KPIC any more.
11754 lt_prog_compiler_wl_GO
='-Wl,'
11755 lt_prog_compiler_pic_GO
='-fPIC'
11756 lt_prog_compiler_static_GO
='-static'
11758 # Lahey Fortran 8.1.
11760 lt_prog_compiler_wl_GO
='-Wl,'
11761 lt_prog_compiler_pic_GO
='--shared'
11762 lt_prog_compiler_static_GO
='--static'
11764 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11765 # Portland Group compilers (*not* the Pentium gcc compiler,
11766 # which looks to be a dead project)
11767 lt_prog_compiler_wl_GO
='-Wl,'
11768 lt_prog_compiler_pic_GO
='-fpic'
11769 lt_prog_compiler_static_GO
='-Bstatic'
11772 lt_prog_compiler_wl_GO
='-Wl,'
11773 # All Alpha code is PIC.
11774 lt_prog_compiler_static_GO
='-non_shared'
11776 xl
* | bgxl
* | bgf
* | mpixl
*)
11777 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11778 lt_prog_compiler_wl_GO
='-Wl,'
11779 lt_prog_compiler_pic_GO
='-qpic'
11780 lt_prog_compiler_static_GO
='-qstaticlink'
11783 case `$CC -V 2>&1 | sed 5q` in
11784 *Sun\ F
* |
*Sun
*Fortran
*)
11785 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11786 lt_prog_compiler_pic_GO
='-KPIC'
11787 lt_prog_compiler_static_GO
='-Bstatic'
11788 lt_prog_compiler_wl_GO
=''
11792 lt_prog_compiler_pic_GO
='-KPIC'
11793 lt_prog_compiler_static_GO
='-Bstatic'
11794 lt_prog_compiler_wl_GO
='-Wl,'
11802 lt_prog_compiler_pic_GO
='-KPIC'
11803 lt_prog_compiler_static_GO
='-Bstatic'
11807 # QNX uses GNU C++, but need to define -shared option too, otherwise
11808 # it will coredump.
11809 lt_prog_compiler_pic_GO
='-fPIC -shared'
11812 osf3
* | osf4
* | osf5
*)
11813 lt_prog_compiler_wl_GO
='-Wl,'
11814 # All OSF/1 code is PIC.
11815 lt_prog_compiler_static_GO
='-non_shared'
11819 lt_prog_compiler_static_GO
='-non_shared'
11823 lt_prog_compiler_pic_GO
='-KPIC'
11824 lt_prog_compiler_static_GO
='-Bstatic'
11825 case $cc_basename in
11826 f77
* | f90
* | f95
*)
11827 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11829 lt_prog_compiler_wl_GO
='-Wl,';;
11834 lt_prog_compiler_wl_GO
='-Qoption ld '
11835 lt_prog_compiler_pic_GO
='-PIC'
11836 lt_prog_compiler_static_GO
='-Bstatic'
11839 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11840 lt_prog_compiler_wl_GO
='-Wl,'
11841 lt_prog_compiler_pic_GO
='-KPIC'
11842 lt_prog_compiler_static_GO
='-Bstatic'
11846 if test -d /usr
/nec
;then
11847 lt_prog_compiler_pic_GO
='-Kconform_pic'
11848 lt_prog_compiler_static_GO
='-Bstatic'
11852 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11853 lt_prog_compiler_wl_GO
='-Wl,'
11854 lt_prog_compiler_pic_GO
='-KPIC'
11855 lt_prog_compiler_static_GO
='-Bstatic'
11859 lt_prog_compiler_wl_GO
='-Wl,'
11860 lt_prog_compiler_can_build_shared_GO
=no
11864 lt_prog_compiler_pic_GO
='-pic'
11865 lt_prog_compiler_static_GO
='-Bstatic'
11869 lt_prog_compiler_can_build_shared_GO
=no
11875 # For platforms which do not support PIC, -DPIC is meaningless:
11877 lt_prog_compiler_pic_GO
=
11880 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11884 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11889 # Check to make sure the PIC flag actually works.
11891 if test -n "$lt_prog_compiler_pic_GO"; then
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11893 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11894 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11895 $as_echo_n "(cached) " >&6
11897 lt_cv_prog_compiler_pic_works_GO
=no
11898 ac_outfile
=conftest.
$ac_objext
11899 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11900 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11901 # Insert the option either (1) after the last *FLAGS variable, or
11902 # (2) before a word containing "conftest.", or (3) at the end.
11903 # Note that $ac_compile itself does not contain backslashes and begins
11904 # with a dollar sign (not a hyphen), so the echo should work correctly.
11905 # The option is referenced via a variable to avoid confusing sed.
11906 lt_compile
=`echo "$ac_compile" | $SED \
11907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11909 -e 's:$: $lt_compiler_flag:'`
11910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11911 (eval "$lt_compile" 2>conftest.err
)
11913 cat conftest.err
>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 if (exit $ac_status) && test -s "$ac_outfile"; then
11916 # The compiler can only warn and ignore the option if not recognized
11917 # So say no if there are warnings other than the usual output.
11918 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11919 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11920 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11921 lt_cv_prog_compiler_pic_works_GO
=yes
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11928 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11930 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11931 case $lt_prog_compiler_pic_GO in
11933 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11936 lt_prog_compiler_pic_GO
=
11937 lt_prog_compiler_can_build_shared_GO
=no
11945 # Check to make sure the static flag actually works.
11947 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11949 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11950 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11951 $as_echo_n "(cached) " >&6
11953 lt_cv_prog_compiler_static_works_GO
=no
11954 save_LDFLAGS
="$LDFLAGS"
11955 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11956 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11957 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11958 # The linker can only warn and ignore the option if not recognized
11959 # So say no if there are warnings
11960 if test -s conftest.err
; then
11961 # Append any errors to the config.log.
11962 cat conftest.err
1>&5
11963 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11964 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11965 if diff conftest.exp conftest.er2
>/dev
/null
; then
11966 lt_cv_prog_compiler_static_works_GO
=yes
11969 lt_cv_prog_compiler_static_works_GO
=yes
11973 LDFLAGS
="$save_LDFLAGS"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11977 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11979 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11982 lt_prog_compiler_static_GO
=
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11989 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11990 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11991 $as_echo_n "(cached) " >&6
11993 lt_cv_prog_compiler_c_o_GO
=no
11994 $RM -r conftest
2>/dev
/null
11998 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12000 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12001 # Insert the option either (1) after the last *FLAGS variable, or
12002 # (2) before a word containing "conftest.", or (3) at the end.
12003 # Note that $ac_compile itself does not contain backslashes and begins
12004 # with a dollar sign (not a hyphen), so the echo should work correctly.
12005 lt_compile
=`echo "$ac_compile" | $SED \
12006 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12007 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12008 -e 's:$: $lt_compiler_flag:'`
12009 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12010 (eval "$lt_compile" 2>out
/conftest.err
)
12012 cat out
/conftest.err
>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12016 # The compiler can only warn and ignore the option if not recognized
12017 # So say no if there are warnings
12018 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12019 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12020 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12021 lt_cv_prog_compiler_c_o_GO
=yes
12026 # SGI C++ compiler will create directory out/ii_files/ for
12027 # template instantiation
12028 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12029 $RM out
/* && rmdir out
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12036 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12041 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12042 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12043 $as_echo_n "(cached) " >&6
12045 lt_cv_prog_compiler_c_o_GO
=no
12046 $RM -r conftest
2>/dev
/null
12050 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12052 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12053 # Insert the option either (1) after the last *FLAGS variable, or
12054 # (2) before a word containing "conftest.", or (3) at the end.
12055 # Note that $ac_compile itself does not contain backslashes and begins
12056 # with a dollar sign (not a hyphen), so the echo should work correctly.
12057 lt_compile
=`echo "$ac_compile" | $SED \
12058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12060 -e 's:$: $lt_compiler_flag:'`
12061 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12062 (eval "$lt_compile" 2>out
/conftest.err
)
12064 cat out
/conftest.err
>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12068 # The compiler can only warn and ignore the option if not recognized
12069 # So say no if there are warnings
12070 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12071 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12072 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12073 lt_cv_prog_compiler_c_o_GO
=yes
12078 # SGI C++ compiler will create directory out/ii_files/ for
12079 # template instantiation
12080 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12081 $RM out
/* && rmdir out
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12088 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12093 hard_links
="nottested"
12094 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12095 # do not overwrite the value of need_locks provided by the user
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12097 $as_echo_n "checking if we can lock with hard links... " >&6; }
12100 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12102 ln conftest.a conftest.b
2>&5 || hard_links
=no
12103 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12105 $as_echo "$hard_links" >&6; }
12106 if test "$hard_links" = no
; then
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12108 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12118 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12121 allow_undefined_flag_GO
=
12122 always_export_symbols_GO
=no
12124 archive_expsym_cmds_GO
=
12125 compiler_needs_object_GO
=no
12126 enable_shared_with_static_runtimes_GO
=no
12127 export_dynamic_flag_spec_GO
=
12128 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12129 hardcode_automatic_GO
=no
12130 hardcode_direct_GO
=no
12131 hardcode_direct_absolute_GO
=no
12132 hardcode_libdir_flag_spec_GO
=
12133 hardcode_libdir_flag_spec_ld_GO
=
12134 hardcode_libdir_separator_GO
=
12135 hardcode_minus_L_GO
=no
12136 hardcode_shlibpath_var_GO
=unsupported
12137 inherit_rpath_GO
=no
12138 link_all_deplibs_GO
=unknown
12140 module_expsym_cmds_GO
=
12141 old_archive_from_new_cmds_GO
=
12142 old_archive_from_expsyms_cmds_GO
=
12143 thread_safe_flag_spec_GO
=
12144 whole_archive_flag_spec_GO
=
12145 # include_expsyms should be a list of space-separated symbols to be *always*
12146 # included in the symbol list
12147 include_expsyms_GO
=
12148 # exclude_expsyms can be an extended regexp of symbols to exclude
12149 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12150 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12151 # as well as any symbol that contains `d'.
12152 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12153 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12154 # platforms (ab)use it in PIC code, but their linkers get confused if
12155 # the symbol is explicitly referenced. Since portable code cannot
12156 # rely on this symbol name, it's probably fine to never include it in
12157 # preloaded symbol tables.
12158 # Exclude shared library initialization/finalization symbols.
12159 extract_expsyms_cmds
=
12162 cygwin
* | mingw
* | pw32
* | cegcc
*)
12163 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12164 # When not using gcc, we currently assume that we are using
12165 # Microsoft Visual C++.
12166 if test "$GCC" != yes; then
12171 # we just hope/assume this is gcc and not c89 (= MSVC++)
12181 # On some targets, GNU ld is compatible enough with the native linker
12182 # that we're better off using the native interface for both.
12183 lt_use_gnu_ld_interface
=no
12184 if test "$with_gnu_ld" = yes; then
12187 # The AIX port of GNU ld has always aspired to compatibility
12188 # with the native linker. However, as the warning in the GNU ld
12189 # block says, versions before 2.19.5* couldn't really create working
12190 # shared libraries, regardless of the interface used.
12191 case `$LD -v 2>&1` in
12192 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12193 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12194 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12196 lt_use_gnu_ld_interface
=yes
12201 lt_use_gnu_ld_interface
=yes
12206 if test "$lt_use_gnu_ld_interface" = yes; then
12207 # If archive_cmds runs LD, not CC, wlarc should be empty
12210 # Set some defaults for GNU ld with shared library support. These
12211 # are reset later if shared libraries are not supported. Putting them
12212 # here allows them to be overridden if necessary.
12213 runpath_var
=LD_RUN_PATH
12214 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12215 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12216 # ancient GNU ld didn't support --whole-archive et. al.
12217 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12218 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12220 whole_archive_flag_spec_GO
=
12222 supports_anon_versioning
=no
12223 case `$LD -v 2>&1` in
12224 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12225 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12226 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12227 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12228 *\
2.11.
*) ;; # other 2.11 versions
12229 *) supports_anon_versioning
=yes ;;
12232 # See if GNU ld supports shared libraries.
12235 # On AIX/PPC, the GNU linker is very broken
12236 if test "$host_cpu" != ia64
; then
12240 *** Warning: the GNU linker, at least up to release 2.19, is reported
12241 *** to be unable to reliably create shared libraries on AIX.
12242 *** Therefore, libtool is disabling shared libraries support. If you
12243 *** really care for shared libraries, you may want to install binutils
12244 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12245 *** You will then need to restart the configuration process.
12254 # see comment about AmigaOS4 .so support
12255 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12256 archive_expsym_cmds_GO
=''
12259 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)'
12260 hardcode_libdir_flag_spec_GO
='-L$libdir'
12261 hardcode_minus_L_GO
=yes
12267 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12268 allow_undefined_flag_GO
=unsupported
12269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12270 # support --undefined. This deserves some investigation. FIXME
12271 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12277 cygwin
* | mingw
* | pw32
* | cegcc
*)
12278 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12279 # as there is no search path for DLLs.
12280 hardcode_libdir_flag_spec_GO
='-L$libdir'
12281 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12282 allow_undefined_flag_GO
=unsupported
12283 always_export_symbols_GO
=no
12284 enable_shared_with_static_runtimes_GO
=yes
12285 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12287 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12288 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12289 # If the export-symbols file already is a .def file (1st line
12290 # is EXPORTS), use it as is; otherwise, prepend...
12291 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12292 cp $export_symbols $output_objdir/$soname.def;
12294 echo EXPORTS > $output_objdir/$soname.def;
12295 cat $export_symbols >> $output_objdir/$soname.def;
12297 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12304 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12305 link_all_deplibs_GO
=yes
12309 hardcode_direct_GO
=no
12310 hardcode_shlibpath_var_GO
=no
12311 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12312 export_dynamic_flag_spec_GO
='${wl}-E'
12313 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12314 # Instead, shared libraries are loaded at an image base (0x10000000 by
12315 # default) and relocated if they conflict, which is a slow very memory
12316 # consuming and fragmenting process. To avoid this, we pick a random,
12317 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12318 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12319 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'
12320 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'
12323 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12325 if test "$host_os" = linux-dietlibc
; then
12326 case $cc_basename in
12327 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12330 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12331 && test "$tmp_diet" = no
12334 tmp_sharedflag
='-shared'
12335 case $cc_basename,$host_cpu in
12336 pgcc
*) # Portland Group C compiler
12337 whole_archive_flag_spec_GO
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12338 tmp_addflag
=' $pic_flag'
12340 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12341 # Portland Group f77 and f90 compilers
12342 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'
12343 tmp_addflag
=' $pic_flag -Mnomain' ;;
12344 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12345 tmp_addflag
=' -i_dynamic' ;;
12346 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12347 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12348 ifc
* | ifort
*) # Intel Fortran compiler
12349 tmp_addflag
=' -nofor_main' ;;
12350 lf95
*) # Lahey Fortran 8.1
12351 whole_archive_flag_spec_GO
=
12352 tmp_sharedflag
='--shared' ;;
12353 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12354 tmp_sharedflag
='-qmkshrobj'
12356 nvcc
*) # Cuda Compiler Driver 2.2
12357 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'
12358 compiler_needs_object_GO
=yes
12361 case `$CC -V 2>&1 | sed 5q` in
12362 *Sun\ C
*) # Sun C 5.9
12363 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'
12364 compiler_needs_object_GO
=yes
12365 tmp_sharedflag
='-G' ;;
12366 *Sun\ F
*) # Sun Fortran 8.3
12367 tmp_sharedflag
='-G' ;;
12369 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12371 if test "x$supports_anon_versioning" = xyes
; then
12372 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12373 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12374 echo "local: *; };" >> $output_objdir/$libname.ver~
12375 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12378 case $cc_basename in
12379 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12380 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12381 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12382 hardcode_libdir_flag_spec_GO
=
12383 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12384 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12385 if test "x$supports_anon_versioning" = xyes
; then
12386 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12387 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12388 echo "local: *; };" >> $output_objdir/$libname.ver~
12389 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12399 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12400 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12403 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12404 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12409 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12413 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12414 *** create shared libraries on Solaris systems. Therefore, libtool
12415 *** is disabling shared libraries support. We urge you to upgrade GNU
12416 *** binutils to release 2.9.1 or newer. Another option is to modify
12417 *** your PATH or compiler configuration so that the native linker is
12418 *** used, and then restart.
12421 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12422 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12423 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12429 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12430 case `$LD -v 2>&1` in
12431 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12435 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12436 *** reliably create shared libraries on SCO systems. Therefore, libtool
12437 *** is disabling shared libraries support. We urge you to upgrade GNU
12438 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12439 *** your PATH or compiler configuration so that the native linker is
12440 *** used, and then restart.
12445 # For security reasons, it is highly recommended that you always
12446 # use absolute paths for naming shared libraries, and exclude the
12447 # DT_RUNPATH tag from executables and libraries. But doing so
12448 # requires that you compile everything twice, which is a pain.
12449 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12450 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12451 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12452 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12461 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12463 hardcode_direct_GO
=yes
12464 hardcode_shlibpath_var_GO
=no
12468 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12469 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12470 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12477 if test "$ld_shlibs_GO" = no
; then
12479 hardcode_libdir_flag_spec_GO
=
12480 export_dynamic_flag_spec_GO
=
12481 whole_archive_flag_spec_GO
=
12484 # PORTME fill in a description of your system's linker (not GNU ld)
12487 allow_undefined_flag_GO
=unsupported
12488 always_export_symbols_GO
=yes
12489 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'
12490 # Note: this linker hardcodes the directories in LIBPATH if there
12491 # are no directories specified by -L.
12492 hardcode_minus_L_GO
=yes
12493 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12494 # Neither direct hardcoding nor static linking is supported with a
12496 hardcode_direct_GO
=unsupported
12501 if test "$host_cpu" = ia64
; then
12502 # On IA64, the linker does run time linking by default, so we don't
12503 # have to do anything special.
12504 aix_use_runtimelinking
=no
12505 exp_sym_flag
='-Bexport'
12508 # If we're using GNU nm, then we don't want the "-C" option.
12509 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12510 # Also, AIX nm treats weak defined symbols like other global
12511 # defined symbols, whereas GNU nm marks them as "W".
12512 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12513 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'
12515 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'
12517 aix_use_runtimelinking
=no
12519 # Test if we are trying to use run time linking or normal
12520 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12521 # need to do runtime linking.
12522 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12523 for ld_flag
in $LDFLAGS; do
12524 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12525 aix_use_runtimelinking
=yes
12532 exp_sym_flag
='-bexport'
12533 no_entry_flag
='-bnoentry'
12536 # When large executables or shared objects are built, AIX ld can
12537 # have problems creating the table of contents. If linking a library
12538 # or program results in "error TOC overflow" add -mminimal-toc to
12539 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12540 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12543 hardcode_direct_GO
=yes
12544 hardcode_direct_absolute_GO
=yes
12545 hardcode_libdir_separator_GO
=':'
12546 link_all_deplibs_GO
=yes
12547 file_list_spec_GO
='${wl}-f,'
12549 if test "$GCC" = yes; then
12550 case $host_os in aix4.
[012]|aix4.
[012].
*)
12551 # We only want to do this on AIX 4.2 and lower, the check
12552 # below for broken collect2 doesn't work under 4.3+
12553 collect2name
=`${CC} -print-prog-name=collect2`
12554 if test -f "$collect2name" &&
12555 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12557 # We have reworked collect2
12560 # We have old collect2
12561 hardcode_direct_GO
=unsupported
12562 # It fails to find uninstalled libraries when the uninstalled
12563 # path is not listed in the libpath. Setting hardcode_minus_L
12564 # to unsupported forces relinking
12565 hardcode_minus_L_GO
=yes
12566 hardcode_libdir_flag_spec_GO
='-L$libdir'
12567 hardcode_libdir_separator_GO
=
12571 shared_flag
='-shared'
12572 if test "$aix_use_runtimelinking" = yes; then
12573 shared_flag
="$shared_flag "'${wl}-G'
12577 if test "$host_cpu" = ia64
; then
12578 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12579 # chokes on -Wl,-G. The following line is correct:
12582 if test "$aix_use_runtimelinking" = yes; then
12583 shared_flag
='${wl}-G'
12585 shared_flag
='${wl}-bM:SRE'
12590 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12591 # It seems that -bexpall does not export symbols beginning with
12592 # underscore (_), so it is better to generate a list of symbols to export.
12593 always_export_symbols_GO
=yes
12594 if test "$aix_use_runtimelinking" = yes; then
12595 # Warning - without using the other runtime loading flags (-brtl),
12596 # -berok will link without error, but may produce a broken library.
12597 allow_undefined_flag_GO
='-berok'
12598 # Determine the default libpath from the value encoded in an
12599 # empty executable.
12600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12611 if ac_fn_c_try_link
"$LINENO"; then :
12613 lt_aix_libpath_sed
='
12614 /Import File Strings/,/^$/ {
12620 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12621 # Check for a 64-bit object if we didn't find anything.
12622 if test -z "$aix_libpath"; then
12623 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12626 rm -f core conftest.err conftest.
$ac_objext \
12627 conftest
$ac_exeext conftest.
$ac_ext
12628 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12630 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12631 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"
12633 if test "$host_cpu" = ia64
; then
12634 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12635 allow_undefined_flag_GO
="-z nodefs"
12636 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"
12638 # Determine the default libpath from the value encoded in an
12639 # empty executable.
12640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12651 if ac_fn_c_try_link
"$LINENO"; then :
12653 lt_aix_libpath_sed
='
12654 /Import File Strings/,/^$/ {
12660 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12661 # Check for a 64-bit object if we didn't find anything.
12662 if test -z "$aix_libpath"; then
12663 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12666 rm -f core conftest.err conftest.
$ac_objext \
12667 conftest
$ac_exeext conftest.
$ac_ext
12668 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12670 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12671 # Warning - without using the other run time loading flags,
12672 # -berok will link without error, but may produce a broken library.
12673 no_undefined_flag_GO
=' ${wl}-bernotok'
12674 allow_undefined_flag_GO
=' ${wl}-berok'
12675 if test "$with_gnu_ld" = yes; then
12676 # We only use this code for GNU lds that support --whole-archive.
12677 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12679 # Exported symbols can be pulled into shared objects from archives
12680 whole_archive_flag_spec_GO
='$convenience'
12682 archive_cmds_need_lc_GO
=yes
12683 # This is similar to how AIX traditionally builds its shared libraries.
12684 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'
12692 # see comment about AmigaOS4 .so support
12693 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12694 archive_expsym_cmds_GO
=''
12697 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)'
12698 hardcode_libdir_flag_spec_GO
='-L$libdir'
12699 hardcode_minus_L_GO
=yes
12705 export_dynamic_flag_spec_GO
=-rdynamic
12708 cygwin
* | mingw
* | pw32
* | cegcc
*)
12709 # When not using gcc, we currently assume that we are using
12710 # Microsoft Visual C++.
12711 # hardcode_libdir_flag_spec is actually meaningless, as there is
12712 # no search path for DLLs.
12713 hardcode_libdir_flag_spec_GO
=' '
12714 allow_undefined_flag_GO
=unsupported
12715 # Tell ltmain to make .lib files, not .a files.
12717 # Tell ltmain to make .dll files, not .so files.
12719 # FIXME: Setting linknames here is a bad hack.
12720 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12721 # The linker will automatically build a .lib file if we build a DLL.
12722 old_archive_from_new_cmds_GO
='true'
12723 # FIXME: Should let the user specify the lib program.
12724 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12725 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12726 enable_shared_with_static_runtimes_GO
=yes
12729 darwin
* | rhapsody
*)
12732 archive_cmds_need_lc_GO
=no
12733 hardcode_direct_GO
=no
12734 hardcode_automatic_GO
=yes
12735 hardcode_shlibpath_var_GO
=unsupported
12736 if test "$lt_cv_ld_force_load" = "yes"; then
12737 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\"`'
12739 whole_archive_flag_spec_GO
=''
12741 link_all_deplibs_GO
=yes
12742 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12743 case $cc_basename in
12744 ifort
*) _lt_dar_can_shared
=yes ;;
12745 *) _lt_dar_can_shared
=$GCC ;;
12747 if test "$_lt_dar_can_shared" = "yes"; then
12748 output_verbose_link_cmd
=func_echo_all
12749 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}"
12750 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12751 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}"
12752 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}"
12761 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12762 hardcode_libdir_flag_spec_GO
='-L$libdir'
12763 hardcode_shlibpath_var_GO
=no
12766 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12767 # support. Future versions do this automatically, but an explicit c++rt0.o
12768 # does not break anything, and helps significantly (at the cost of a little
12771 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12772 hardcode_libdir_flag_spec_GO
='-R$libdir'
12773 hardcode_direct_GO
=yes
12774 hardcode_shlibpath_var_GO
=no
12777 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12779 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12780 hardcode_direct_GO
=yes
12781 hardcode_minus_L_GO
=yes
12782 hardcode_shlibpath_var_GO
=no
12785 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12786 freebsd
* | dragonfly
*)
12787 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12788 hardcode_libdir_flag_spec_GO
='-R$libdir'
12789 hardcode_direct_GO
=yes
12790 hardcode_shlibpath_var_GO
=no
12794 if test "$GCC" = yes; then
12795 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'
12797 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'
12799 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12800 hardcode_libdir_separator_GO
=:
12801 hardcode_direct_GO
=yes
12803 # hardcode_minus_L: Not really in the search PATH,
12804 # but as the default location of the library.
12805 hardcode_minus_L_GO
=yes
12806 export_dynamic_flag_spec_GO
='${wl}-E'
12810 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12811 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12813 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12815 if test "$with_gnu_ld" = no
; then
12816 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12817 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12818 hardcode_libdir_separator_GO
=:
12819 hardcode_direct_GO
=yes
12820 hardcode_direct_absolute_GO
=yes
12821 export_dynamic_flag_spec_GO
='${wl}-E'
12822 # hardcode_minus_L: Not really in the search PATH,
12823 # but as the default location of the library.
12824 hardcode_minus_L_GO
=yes
12829 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12832 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12835 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12838 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12844 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12847 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12850 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12854 if test "$with_gnu_ld" = no
; then
12855 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12856 hardcode_libdir_separator_GO
=:
12860 hardcode_direct_GO
=no
12861 hardcode_shlibpath_var_GO
=no
12864 hardcode_direct_GO
=yes
12865 hardcode_direct_absolute_GO
=yes
12866 export_dynamic_flag_spec_GO
='${wl}-E'
12868 # hardcode_minus_L: Not really in the search PATH,
12869 # but as the default location of the library.
12870 hardcode_minus_L_GO
=yes
12876 irix5
* | irix6
* | nonstopux
*)
12877 if test "$GCC" = yes; then
12878 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'
12879 # Try to use the -exported_symbol ld option, if it does not
12880 # work, assume that -exports_file does not work either and
12881 # implicitly export all symbols.
12882 save_LDFLAGS
="$LDFLAGS"
12883 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12888 if ac_fn_c_try_link
"$LINENO"; then :
12889 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'
12892 rm -f core conftest.err conftest.
$ac_objext \
12893 conftest
$ac_exeext conftest.
$ac_ext
12894 LDFLAGS
="$save_LDFLAGS"
12896 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'
12897 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'
12899 archive_cmds_need_lc_GO
='no'
12900 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12901 hardcode_libdir_separator_GO
=:
12902 inherit_rpath_GO
=yes
12903 link_all_deplibs_GO
=yes
12907 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12908 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12910 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12912 hardcode_libdir_flag_spec_GO
='-R$libdir'
12913 hardcode_direct_GO
=yes
12914 hardcode_shlibpath_var_GO
=no
12918 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12919 hardcode_direct_GO
=yes
12920 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12921 hardcode_libdir_separator_GO
=:
12922 hardcode_shlibpath_var_GO
=no
12929 if test -f /usr
/libexec
/ld.so
; then
12930 hardcode_direct_GO
=yes
12931 hardcode_shlibpath_var_GO
=no
12932 hardcode_direct_absolute_GO
=yes
12933 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12934 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12935 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12936 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12937 export_dynamic_flag_spec_GO
='${wl}-E'
12940 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12941 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12942 hardcode_libdir_flag_spec_GO
='-R$libdir'
12945 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12946 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12956 hardcode_libdir_flag_spec_GO
='-L$libdir'
12957 hardcode_minus_L_GO
=yes
12958 allow_undefined_flag_GO
=unsupported
12959 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'
12960 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12964 if test "$GCC" = yes; then
12965 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12966 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'
12968 allow_undefined_flag_GO
=' -expect_unresolved \*'
12969 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'
12971 archive_cmds_need_lc_GO
='no'
12972 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12973 hardcode_libdir_separator_GO
=:
12976 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12977 if test "$GCC" = yes; then
12978 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12979 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'
12980 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12982 allow_undefined_flag_GO
=' -expect_unresolved \*'
12983 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'
12984 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~
12985 $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'
12987 # Both c and cxx compiler support -rpath directly
12988 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12990 archive_cmds_need_lc_GO
='no'
12991 hardcode_libdir_separator_GO
=:
12995 no_undefined_flag_GO
=' -z defs'
12996 if test "$GCC" = yes; then
12998 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12999 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13000 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13002 case `$CC -V 2>&1` in
13005 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13006 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13007 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13011 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13012 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13013 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13017 hardcode_libdir_flag_spec_GO
='-R$libdir'
13018 hardcode_shlibpath_var_GO
=no
13020 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13022 # The compiler driver will combine and reorder linker options,
13023 # but understands `-z linker_flag'. GCC discards it without `$wl',
13024 # but is careful enough not to reorder.
13025 # Supported since Solaris 2.6 (maybe 2.5.1?)
13026 if test "$GCC" = yes; then
13027 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13029 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13033 link_all_deplibs_GO
=yes
13037 if test "x$host_vendor" = xsequent
; then
13038 # Use $CC to link under sequent, because it throws in some extra .o
13039 # files that make .init and .fini sections work.
13040 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13042 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13044 hardcode_libdir_flag_spec_GO
='-L$libdir'
13045 hardcode_direct_GO
=yes
13046 hardcode_minus_L_GO
=yes
13047 hardcode_shlibpath_var_GO
=no
13051 case $host_vendor in
13053 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13054 hardcode_direct_GO
=yes # is this really true???
13057 ## LD is ld it makes a PLAMLIB
13058 ## CC just makes a GrossModule.
13059 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13060 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13061 hardcode_direct_GO
=no
13064 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13065 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13068 runpath_var
='LD_RUN_PATH'
13069 hardcode_shlibpath_var_GO
=no
13073 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13074 hardcode_shlibpath_var_GO
=no
13075 export_dynamic_flag_spec_GO
='-Bexport'
13079 if test -d /usr
/nec
; then
13080 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13081 hardcode_shlibpath_var_GO
=no
13082 runpath_var
=LD_RUN_PATH
13083 hardcode_runpath_var
=yes
13088 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13089 no_undefined_flag_GO
='${wl}-z,text'
13090 archive_cmds_need_lc_GO
=no
13091 hardcode_shlibpath_var_GO
=no
13092 runpath_var
='LD_RUN_PATH'
13094 if test "$GCC" = yes; then
13095 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13098 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13099 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 sysv5
* | sco3.2v5
* | sco5v6
*)
13104 # Note: We can NOT use -z defs as we might desire, because we do not
13105 # link with -lc, and that would cause any symbols used from libc to
13106 # always be unresolved, which means just about no library would
13107 # ever link correctly. If we're not using GNU ld we use -z text
13108 # though, which does catch some bad symbols but isn't as heavy-handed
13110 no_undefined_flag_GO
='${wl}-z,text'
13111 allow_undefined_flag_GO
='${wl}-z,nodefs'
13112 archive_cmds_need_lc_GO
=no
13113 hardcode_shlibpath_var_GO
=no
13114 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13115 hardcode_libdir_separator_GO
=':'
13116 link_all_deplibs_GO
=yes
13117 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13118 runpath_var
='LD_RUN_PATH'
13120 if test "$GCC" = yes; then
13121 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13131 hardcode_libdir_flag_spec_GO
='-L$libdir'
13132 hardcode_shlibpath_var_GO
=no
13140 if test x
$host_vendor = xsni
; then
13142 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13143 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13150 $as_echo "$ld_shlibs_GO" >&6; }
13151 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13153 with_gnu_ld_GO
=$with_gnu_ld
13161 # Do we need to explicitly link libc?
13163 case "x$archive_cmds_need_lc_GO" in
13165 # Assume -lc should be added
13166 archive_cmds_need_lc_GO
=yes
13168 if test "$enable_shared" = yes && test "$GCC" = yes; then
13169 case $archive_cmds_GO in
13171 # FIXME: we may have to deal with multi-command sequences.
13174 # Test whether the compiler implicitly links with -lc since on some
13175 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13176 # to ld, don't add -lc before -lgcc.
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13178 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13179 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13180 $as_echo_n "(cached) " >&6
13183 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13186 (eval $ac_compile) 2>&5
13188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13189 test $ac_status = 0; } 2>conftest.err
; then
13192 libobjs
=conftest.
$ac_objext
13194 wl
=$lt_prog_compiler_wl_GO
13195 pic_flag
=$lt_prog_compiler_pic_GO
13201 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13202 allow_undefined_flag_GO
=
13203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13204 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13207 test $ac_status = 0; }
13209 lt_cv_archive_cmds_need_lc_GO
=no
13211 lt_cv_archive_cmds_need_lc_GO
=yes
13213 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13215 cat conftest.err
1>&5
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13221 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13222 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13293 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13294 hardcode_action_GO
=
13295 if test -n "$hardcode_libdir_flag_spec_GO" ||
13296 test -n "$runpath_var_GO" ||
13297 test "X$hardcode_automatic_GO" = "Xyes" ; then
13299 # We can hardcode non-existent directories.
13300 if test "$hardcode_direct_GO" != no
&&
13301 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13302 # have to relink, otherwise we might link with an installed library
13303 # when we should be linking with a yet-to-be-installed one
13304 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13305 test "$hardcode_minus_L_GO" != no
; then
13306 # Linking always hardcodes the temporary library directory.
13307 hardcode_action_GO
=relink
13309 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13310 hardcode_action_GO
=immediate
13313 # We cannot hardcode anything, or else we can only hardcode existing
13315 hardcode_action_GO
=unsupported
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13318 $as_echo "$hardcode_action_GO" >&6; }
13320 if test "$hardcode_action_GO" = relink ||
13321 test "$inherit_rpath_GO" = yes; then
13322 # Fast installation is not supported
13323 enable_fast_install
=no
13324 elif test "$shlibpath_overrides_runpath" = yes ||
13325 test "$enable_shared" = no
; then
13326 # Fast installation is not necessary
13327 enable_fast_install
=needless
13339 ac_cpp
='$CPP $CPPFLAGS'
13340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13351 ac_config_commands
="$ac_config_commands libtool"
13356 # Only expand once:
13362 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13365 for ac_prog
in gawk mawk nawk
awk
13367 # Extract the first word of "$ac_prog", so it can be a program name with args.
13368 set dummy
$ac_prog; ac_word
=$2
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13370 $as_echo_n "checking for $ac_word... " >&6; }
13371 if test "${ac_cv_prog_AWK+set}" = set; then :
13372 $as_echo_n "(cached) " >&6
13374 if test -n "$AWK"; then
13375 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13378 for as_dir
in $PATH
13381 test -z "$as_dir" && as_dir
=.
13382 for ac_exec_ext
in '' $ac_executable_extensions; do
13383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13384 ac_cv_prog_AWK
="$ac_prog"
13385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13394 AWK
=$ac_cv_prog_AWK
13395 if test -n "$AWK"; then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13397 $as_echo "$AWK" >&6; }
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400 $as_echo "no" >&6; }
13404 test -n "$AWK" && break
13408 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13411 # Check whether --enable-werror was given.
13412 if test "${enable_werror+set}" = set; then :
13413 enableval
=$enable_werror;
13416 if test "x$enable_werror" != "xno"; then
13421 glibgo_toolexecdir
=no
13422 glibgo_toolexeclibdir
=no
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13425 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13426 # Check whether --enable-version-specific-runtime-libs was given.
13427 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13428 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13429 yes) version_specific_libs
=yes ;;
13430 no
) version_specific_libs
=no
;;
13431 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13434 version_specific_libs
=no
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13438 $as_echo "$version_specific_libs" >&6; }
13440 # Version-specific runtime libs processing.
13441 if test $version_specific_libs = yes; then
13442 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13443 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13446 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13447 # Install a library built with a cross compiler in tooldir, not libdir.
13448 if test -n "$with_cross_host" &&
13449 test x
"$with_cross_host" != x
"no"; then
13450 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13451 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13453 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13454 nover_glibgo_toolexeclibdir
='${libdir}'
13456 multi_os_directory
=`$GOC -print-multi-os-directory`
13457 case $multi_os_directory in
13458 .
) ;; # Avoid trailing /.
13459 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13462 if test x
"$glibgo_toolexecdir" = x
"no"; then
13463 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13464 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13471 # See if the user wants to configure without libffi. Some
13472 # architectures don't support it. FIXME: We should set a default
13473 # based on the host.
13475 # Check whether --with-libffi was given.
13476 if test "${with_libffi+set}" = set; then :
13477 withval
=$with_libffi; :
13479 with_libffi
=${with_libffi_default-yes}
13485 if test "$with_libffi" != no
; then
13487 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13489 LIBFFI
=..
/libffi
/libffi_convenience.la
13490 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13495 # See if the user wants to configure without libatomic. This is useful if we are
13496 # on an architecture for which libgo does not need an atomic support library and
13497 # libatomic does not support our C compiler.
13499 # Check whether --with-libatomic was given.
13500 if test "${with_libatomic+set}" = set; then :
13501 withval
=$with_libatomic; :
13503 with_libatomic
=${with_libatomic_default-yes}
13508 if test "$with_libatomic" != no
; then
13509 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13513 # Used to tell GNU make to include a file without telling automake to
13515 go_include
="-include"
13529 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13530 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13531 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13532 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13533 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13534 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13535 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13536 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13537 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13539 if test $is_darwin = yes; then
13540 LIBGO_IS_DARWIN_TRUE
=
13541 LIBGO_IS_DARWIN_FALSE
='#'
13543 LIBGO_IS_DARWIN_TRUE
='#'
13544 LIBGO_IS_DARWIN_FALSE
=
13547 if test $is_freebsd = yes; then
13548 LIBGO_IS_FREEBSD_TRUE
=
13549 LIBGO_IS_FREEBSD_FALSE
='#'
13551 LIBGO_IS_FREEBSD_TRUE
='#'
13552 LIBGO_IS_FREEBSD_FALSE
=
13555 if test $is_irix = yes; then
13556 LIBGO_IS_IRIX_TRUE
=
13557 LIBGO_IS_IRIX_FALSE
='#'
13559 LIBGO_IS_IRIX_TRUE
='#'
13560 LIBGO_IS_IRIX_FALSE
=
13563 if test $is_linux = yes; then
13564 LIBGO_IS_LINUX_TRUE
=
13565 LIBGO_IS_LINUX_FALSE
='#'
13567 LIBGO_IS_LINUX_TRUE
='#'
13568 LIBGO_IS_LINUX_FALSE
=
13571 if test $is_netbsd = yes; then
13572 LIBGO_IS_NETBSD_TRUE
=
13573 LIBGO_IS_NETBSD_FALSE
='#'
13575 LIBGO_IS_NETBSD_TRUE
='#'
13576 LIBGO_IS_NETBSD_FALSE
=
13579 if test $is_openbsd = yes; then
13580 LIBGO_IS_OPENBSD_TRUE
=
13581 LIBGO_IS_OPENBSD_FALSE
='#'
13583 LIBGO_IS_OPENBSD_TRUE
='#'
13584 LIBGO_IS_OPENBSD_FALSE
=
13587 if test $is_dragonfly = yes; then
13588 LIBGO_IS_DRAGONFLY_TRUE
=
13589 LIBGO_IS_DRAGONFLY_FALSE
='#'
13591 LIBGO_IS_DRAGONFLY_TRUE
='#'
13592 LIBGO_IS_DRAGONFLY_FALSE
=
13595 if test $is_rtems = yes; then
13596 LIBGO_IS_RTEMS_TRUE
=
13597 LIBGO_IS_RTEMS_FALSE
='#'
13599 LIBGO_IS_RTEMS_TRUE
='#'
13600 LIBGO_IS_RTEMS_FALSE
=
13603 if test $is_solaris = yes; then
13604 LIBGO_IS_SOLARIS_TRUE
=
13605 LIBGO_IS_SOLARIS_FALSE
='#'
13607 LIBGO_IS_SOLARIS_TRUE
='#'
13608 LIBGO_IS_SOLARIS_FALSE
=
13615 *-*-rtems*) USE_DEJAGNU
=yes ;;
13617 *) USE_DEJAGNU
=yes ;;
13645 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13649 i
[34567]86-*-* | x86_64-
*-*)
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13657 if ac_fn_c_try_compile
"$LINENO"; then :
13662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13663 if test "$is_386" = "yes"; then
13674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13677 #if _MIPS_SIM != _ABIO32
13681 if ac_fn_c_try_compile
"$LINENO"; then :
13684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 #if _MIPS_SIM != _ABIN32
13691 if ac_fn_c_try_compile
"$LINENO"; then :
13694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13697 #if _MIPS_SIM != _ABI64
13701 if ac_fn_c_try_compile
"$LINENO"; then :
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13707 #if _MIPS_SIM != _ABIO64
13711 if ac_fn_c_try_compile
"$LINENO"; then :
13714 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13724 case "$mips_abi" in
13725 "o32") GOARCH
=mipso32
;;
13726 "n32") GOARCH
=mipsn32
;;
13727 "n64") GOARCH
=mipsn64
;;
13728 "o64") GOARCH
=mipso64
;;
13731 rs6000
*-*-* | powerpc
*-*-*)
13732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13739 if ac_fn_c_try_compile
"$LINENO"; then :
13742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13745 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
13749 if ac_fn_c_try_compile
"$LINENO"; then :
13754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13757 if test "$is_ppc" = "yes"; then
13759 elif test "$is_ppc64" = "yes"; then
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 #if defined(__s390x__)
13773 if ac_fn_c_try_compile
"$LINENO"; then :
13778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13779 if test "$is_s390" = "yes"; then
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13789 #if defined(__sparcv9) || defined(__arch64__)
13793 if ac_fn_c_try_compile
"$LINENO"; then :
13798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13799 if test "$is_sparc" = "yes"; then
13806 if test $is_386 = yes; then
13808 LIBGO_IS_386_FALSE
='#'
13810 LIBGO_IS_386_TRUE
='#'
13811 LIBGO_IS_386_FALSE
=
13814 if test $is_alpha = yes; then
13815 LIBGO_IS_ALPHA_TRUE
=
13816 LIBGO_IS_ALPHA_FALSE
='#'
13818 LIBGO_IS_ALPHA_TRUE
='#'
13819 LIBGO_IS_ALPHA_FALSE
=
13822 if test $is_arm = yes; then
13824 LIBGO_IS_ARM_FALSE
='#'
13826 LIBGO_IS_ARM_TRUE
='#'
13827 LIBGO_IS_ARM_FALSE
=
13830 if test $is_arm64 = yes; then
13831 LIBGO_IS_ARM64_TRUE
=
13832 LIBGO_IS_ARM64_FALSE
='#'
13834 LIBGO_IS_ARM64_TRUE
='#'
13835 LIBGO_IS_ARM64_FALSE
=
13838 if test $is_m68k = yes; then
13839 LIBGO_IS_M68K_TRUE
=
13840 LIBGO_IS_M68K_FALSE
='#'
13842 LIBGO_IS_M68K_TRUE
='#'
13843 LIBGO_IS_M68K_FALSE
=
13846 if test $mips_abi != unknown
; then
13847 LIBGO_IS_MIPS_TRUE
=
13848 LIBGO_IS_MIPS_FALSE
='#'
13850 LIBGO_IS_MIPS_TRUE
='#'
13851 LIBGO_IS_MIPS_FALSE
=
13854 if test $mips_abi = o32
; then
13855 LIBGO_IS_MIPSO32_TRUE
=
13856 LIBGO_IS_MIPSO32_FALSE
='#'
13858 LIBGO_IS_MIPSO32_TRUE
='#'
13859 LIBGO_IS_MIPSO32_FALSE
=
13862 if test $mips_abi = n32
; then
13863 LIBGO_IS_MIPSN32_TRUE
=
13864 LIBGO_IS_MIPSN32_FALSE
='#'
13866 LIBGO_IS_MIPSN32_TRUE
='#'
13867 LIBGO_IS_MIPSN32_FALSE
=
13870 if test $mips_abi = n64
; then
13871 LIBGO_IS_MIPSN64_TRUE
=
13872 LIBGO_IS_MIPSN64_FALSE
='#'
13874 LIBGO_IS_MIPSN64_TRUE
='#'
13875 LIBGO_IS_MIPSN64_FALSE
=
13878 if test $mips_abi = o64
; then
13879 LIBGO_IS_MIPSO64_TRUE
=
13880 LIBGO_IS_MIPSO64_FALSE
='#'
13882 LIBGO_IS_MIPSO64_TRUE
='#'
13883 LIBGO_IS_MIPSO64_FALSE
=
13886 if test $is_ppc = yes; then
13888 LIBGO_IS_PPC_FALSE
='#'
13890 LIBGO_IS_PPC_TRUE
='#'
13891 LIBGO_IS_PPC_FALSE
=
13894 if test $is_ppc64 = yes; then
13895 LIBGO_IS_PPC64_TRUE
=
13896 LIBGO_IS_PPC64_FALSE
='#'
13898 LIBGO_IS_PPC64_TRUE
='#'
13899 LIBGO_IS_PPC64_FALSE
=
13902 if test $is_ppc64le = yes; then
13903 LIBGO_IS_PPC64LE_TRUE
=
13904 LIBGO_IS_PPC64LE_FALSE
='#'
13906 LIBGO_IS_PPC64LE_TRUE
='#'
13907 LIBGO_IS_PPC64LE_FALSE
=
13910 if test $is_s390 = yes; then
13911 LIBGO_IS_S390_TRUE
=
13912 LIBGO_IS_S390_FALSE
='#'
13914 LIBGO_IS_S390_TRUE
='#'
13915 LIBGO_IS_S390_FALSE
=
13918 if test $is_s390x = yes; then
13919 LIBGO_IS_S390X_TRUE
=
13920 LIBGO_IS_S390X_FALSE
='#'
13922 LIBGO_IS_S390X_TRUE
='#'
13923 LIBGO_IS_S390X_FALSE
=
13926 if test $is_sparc = yes; then
13927 LIBGO_IS_SPARC_TRUE
=
13928 LIBGO_IS_SPARC_FALSE
='#'
13930 LIBGO_IS_SPARC_TRUE
='#'
13931 LIBGO_IS_SPARC_FALSE
=
13934 if test $is_sparc64 = yes; then
13935 LIBGO_IS_SPARC64_TRUE
=
13936 LIBGO_IS_SPARC64_FALSE
='#'
13938 LIBGO_IS_SPARC64_TRUE
='#'
13939 LIBGO_IS_SPARC64_FALSE
=
13942 if test $is_x86_64 = yes; then
13943 LIBGO_IS_X86_64_TRUE
=
13944 LIBGO_IS_X86_64_FALSE
='#'
13946 LIBGO_IS_X86_64_TRUE
='#'
13947 LIBGO_IS_X86_64_FALSE
=
13952 GO_LIBCALL_OS_FILE
=
13953 GO_LIBCALL_OS_ARCH_FILE
=
13954 GO_SYSCALL_OS_FILE
=
13955 GO_SYSCALL_OS_ARCH_FILE
=
13956 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
13957 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
13959 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
13960 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
13962 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
13963 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
13965 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
13966 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
13973 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13976 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13977 # msghdr in <sys/socket.h>.
13978 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13980 *-*-solaris2.1
[01])
13981 # Solaris 10+ needs this so struct msghdr gets the msg_control
13982 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13983 # above doesn't work with C99.
13984 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13990 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13991 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13992 $as_echo_n "(cached) " >&6
13994 CFLAGS_hold
=$CFLAGS
13995 CFLAGS
="$CFLAGS -fsplit-stack"
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
14000 if ac_fn_c_try_compile
"$LINENO"; then :
14001 libgo_cv_c_split_stack_supported
=yes
14003 libgo_cv_c_split_stack_supported
=no
14005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14006 CFLAGS
=$CFLAGS_hold
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14009 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split/non-split linked together" >&5
14012 $as_echo_n "checking whether linker supports split/non-split linked together... " >&6; }
14013 if test "${libgo_cv_c_linker_split_non_split+set}" = set; then :
14014 $as_echo_n "(cached) " >&6
14016 cat > conftest1.c
<< EOF
14018 int main() { f(); return 0; }
14020 cat > conftest2.c
<< EOF
14023 $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c
14024 $CC -c $CFLAGS $CPPFLAGS conftest2.c
14025 if $CC -o conftest conftest1.
$ac_objext conftest2.
$ac_objext; then
14026 libgo_cv_c_linker_split_non_split
=yes
14028 libgo_cv_c_linker_split_non_split
=no
14030 rm -f conftest1.
* conftest2.
* conftest
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_split_non_split" >&5
14033 $as_echo "$libgo_cv_c_linker_split_non_split" >&6; }
14035 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14036 SPLIT_STACK
=-fsplit-stack
14038 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14044 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14045 USING_SPLIT_STACK_TRUE
=
14046 USING_SPLIT_STACK_FALSE
='#'
14048 USING_SPLIT_STACK_TRUE
='#'
14049 USING_SPLIT_STACK_FALSE
=
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14054 $as_echo_n "checking whether linker supports split stack... " >&6; }
14055 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
14056 $as_echo_n "(cached) " >&6
14058 libgo_cv_c_linker_supports_split_stack
=no
14059 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14060 libgo_cv_c_linker_supports_split_stack
=yes
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14064 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14065 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14067 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14072 $as_echo_n "checking whether compiler is llgo... " >&6; }
14073 if test "${libgo_cv_c_goc_is_llgo+set}" = set; then :
14074 $as_echo_n "(cached) " >&6
14076 libgo_cv_c_goc_is_llgo
=no
14077 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14078 libgo_cv_c_goc_is_llgo
=yes
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14082 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14083 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14085 GOC_IS_LLGO_FALSE
='#'
14087 GOC_IS_LLGO_TRUE
='#'
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14094 $as_echo_n "checking for sqrt in -lm... " >&6; }
14095 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
14096 $as_echo_n "(cached) " >&6
14098 ac_check_lib_save_LIBS
=$LIBS
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_lib_m_sqrt
=yes
14121 ac_cv_lib_m_sqrt
=no
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14125 LIBS
=$ac_check_lib_save_LIBS
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14128 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14129 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14136 $as_echo_n "checking for socket libraries... " >&6; }
14137 if test "${libgo_cv_lib_sockets+set}" = set; then :
14138 $as_echo_n "(cached) " >&6
14140 libgo_cv_lib_sockets
=
14141 libgo_check_both
=no
14142 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14143 if test "x$ac_cv_func_connect" = x
""yes; then :
14144 libgo_check_socket
=no
14146 libgo_check_socket
=yes
14149 if test "$libgo_check_socket" = "yes"; then
14150 unset ac_cv_func_connect
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14152 $as_echo_n "checking for main in -lsocket... " >&6; }
14153 if test "${ac_cv_lib_socket_main+set}" = set; then :
14154 $as_echo_n "(cached) " >&6
14156 ac_check_lib_save_LIBS
=$LIBS
14157 LIBS
="-lsocket $LIBS"
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14170 if ac_fn_c_try_link
"$LINENO"; then :
14171 ac_cv_lib_socket_main
=yes
14173 ac_cv_lib_socket_main
=no
14175 rm -f core conftest.err conftest.
$ac_objext \
14176 conftest
$ac_exeext conftest.
$ac_ext
14177 LIBS
=$ac_check_lib_save_LIBS
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14180 $as_echo "$ac_cv_lib_socket_main" >&6; }
14181 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14182 libgo_cv_lib_sockets
="-lsocket"
14184 libgo_check_both
=yes
14188 if test "$libgo_check_both" = "yes"; then
14189 libgo_old_libs
=$LIBS
14190 LIBS
="$LIBS -lsocket -lnsl"
14191 unset ac_cv_func_accept
14192 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14193 if test "x$ac_cv_func_accept" = x
""yes; then :
14195 libgo_cv_lib_sockets
="-lsocket -lnsl"
14198 unset ac_cv_func_accept
14199 LIBS
=$libgo_old_libs
14201 unset ac_cv_func_gethostbyname
14202 libgo_old_libs
="$LIBS"
14203 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14204 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14208 $as_echo_n "checking for main in -lnsl... " >&6; }
14209 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14210 $as_echo_n "(cached) " >&6
14212 ac_check_lib_save_LIBS
=$LIBS
14214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h. */
14226 if ac_fn_c_try_link
"$LINENO"; then :
14227 ac_cv_lib_nsl_main
=yes
14229 ac_cv_lib_nsl_main
=no
14231 rm -f core conftest.err conftest.
$ac_objext \
14232 conftest
$ac_exeext conftest.
$ac_ext
14233 LIBS
=$ac_check_lib_save_LIBS
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14236 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14237 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14238 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14243 unset ac_cv_func_gethostbyname
14244 LIBS
=$libgo_old_libs
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14248 $as_echo "$libgo_cv_lib_sockets" >&6; }
14249 NET_LIBS
="$libgo_cv_lib_sockets"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14253 $as_echo_n "checking whether -pthread is supported... " >&6; }
14254 if test "${libgo_cv_lib_pthread+set}" = set; then :
14255 $as_echo_n "(cached) " >&6
14257 CFLAGS_hold
=$CFLAGS
14258 CFLAGS
="$CFLAGS -pthread"
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14263 if ac_fn_c_try_compile
"$LINENO"; then :
14264 libgo_cv_lib_pthread
=yes
14266 libgo_cv_lib_pthread
=no
14268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14269 CFLAGS
=$CFLAGS_hold
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14272 $as_echo "$libgo_cv_lib_pthread" >&6; }
14274 if test "$libgo_cv_lib_pthread" = yes; then
14275 PTHREAD_CFLAGS
=-pthread
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14281 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14282 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14283 $as_echo_n "(cached) " >&6
14285 ac_check_lib_save_LIBS
=$LIBS
14286 LIBS
="-lpthread $LIBS"
14287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14290 /* Override any GCC internal prototype to avoid an error.
14291 Use char because int might match the return type of a GCC
14292 builtin and then its argument prototype would still apply. */
14296 char pthread_create ();
14300 return pthread_create ();
14305 if ac_fn_c_try_link
"$LINENO"; then :
14306 ac_cv_lib_pthread_pthread_create
=yes
14308 ac_cv_lib_pthread_pthread_create
=no
14310 rm -f core conftest.err conftest.
$ac_objext \
14311 conftest
$ac_exeext conftest.
$ac_ext
14312 LIBS
=$ac_check_lib_save_LIBS
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14315 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14316 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14317 PTHREAD_LIBS
=-lpthread
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14323 $as_echo_n "checking for library containing sched_yield... " >&6; }
14324 if test "${ac_cv_search_sched_yield+set}" = set; then :
14325 $as_echo_n "(cached) " >&6
14327 ac_func_search_save_LIBS
=$LIBS
14328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14337 char sched_yield ();
14341 return sched_yield ();
14346 for ac_lib
in '' rt
; do
14347 if test -z "$ac_lib"; then
14348 ac_res
="none required"
14351 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14353 if ac_fn_c_try_link
"$LINENO"; then :
14354 ac_cv_search_sched_yield
=$ac_res
14356 rm -f core conftest.err conftest.
$ac_objext \
14358 if test "${ac_cv_search_sched_yield+set}" = set; then :
14362 if test "${ac_cv_search_sched_yield+set}" = set; then :
14365 ac_cv_search_sched_yield
=no
14367 rm conftest.
$ac_ext
14368 LIBS
=$ac_func_search_save_LIBS
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14371 $as_echo "$ac_cv_search_sched_yield" >&6; }
14372 ac_res
=$ac_cv_search_sched_yield
14373 if test "$ac_res" != no
; then :
14374 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14379 $as_echo_n "checking for library containing nanosleep... " >&6; }
14380 if test "${ac_cv_search_nanosleep+set}" = set; then :
14381 $as_echo_n "(cached) " >&6
14383 ac_func_search_save_LIBS
=$LIBS
14384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14387 /* Override any GCC internal prototype to avoid an error.
14388 Use char because int might match the return type of a GCC
14389 builtin and then its argument prototype would still apply. */
14397 return nanosleep ();
14402 for ac_lib
in '' rt
; do
14403 if test -z "$ac_lib"; then
14404 ac_res
="none required"
14407 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14409 if ac_fn_c_try_link
"$LINENO"; then :
14410 ac_cv_search_nanosleep
=$ac_res
14412 rm -f core conftest.err conftest.
$ac_objext \
14414 if test "${ac_cv_search_nanosleep+set}" = set; then :
14418 if test "${ac_cv_search_nanosleep+set}" = set; then :
14421 ac_cv_search_nanosleep
=no
14423 rm conftest.
$ac_ext
14424 LIBS
=$ac_func_search_save_LIBS
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14427 $as_echo "$ac_cv_search_nanosleep" >&6; }
14428 ac_res
=$ac_cv_search_nanosleep
14429 if test "$ac_res" != no
; then :
14430 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14436 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14437 if test "${ac_cv_c_bigendian+set}" = set; then :
14438 $as_echo_n "(cached) " >&6
14440 ac_cv_c_bigendian
=unknown
14441 # See if we're dealing with a universal compiler.
14442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14444 #ifndef __APPLE_CC__
14445 not a universal capable compiler
14450 if ac_fn_c_try_compile
"$LINENO"; then :
14452 # Check for potential -arch flags. It is not universal unless
14453 # there are at least two -arch flags with different values.
14456 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14457 if test -n "$ac_prev"; then
14459 i?
86 | x86_64 | ppc | ppc64
)
14460 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14463 ac_cv_c_bigendian
=universal
14469 elif test "x$ac_word" = "x-arch"; then
14474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14475 if test $ac_cv_c_bigendian = unknown
; then
14476 # See if sys/param.h defines the BYTE_ORDER macro.
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 #include <sys/types.h>
14480 #include <sys/param.h>
14485 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14486 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14488 bogus endian macros
14495 if ac_fn_c_try_compile
"$LINENO"; then :
14496 # It does; now see whether it defined to BIG_ENDIAN or not.
14497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 #include <sys/types.h>
14500 #include <sys/param.h>
14505 #if BYTE_ORDER != BIG_ENDIAN
14513 if ac_fn_c_try_compile
"$LINENO"; then :
14514 ac_cv_c_bigendian
=yes
14516 ac_cv_c_bigendian
=no
14518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14522 if test $ac_cv_c_bigendian = unknown
; then
14523 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14526 #include <limits.h>
14531 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14532 bogus endian macros
14539 if ac_fn_c_try_compile
"$LINENO"; then :
14540 # It does; now see whether it defined to _BIG_ENDIAN or not.
14541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 #include <limits.h>
14548 #ifndef _BIG_ENDIAN
14556 if ac_fn_c_try_compile
"$LINENO"; then :
14557 ac_cv_c_bigendian
=yes
14559 ac_cv_c_bigendian
=no
14561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14565 if test $ac_cv_c_bigendian = unknown
; then
14566 # Compile a test program.
14567 if test "$cross_compiling" = yes; then :
14568 # Try to guess by grepping values from an object file.
14569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14571 short int ascii_mm[] =
14572 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14573 short int ascii_ii[] =
14574 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14575 int use_ascii (int i) {
14576 return ascii_mm[i] + ascii_ii[i];
14578 short int ebcdic_ii[] =
14579 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14580 short int ebcdic_mm[] =
14581 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14582 int use_ebcdic (int i) {
14583 return ebcdic_mm[i] + ebcdic_ii[i];
14590 return use_ascii (foo) == use_ebcdic (foo);
14595 if ac_fn_c_try_compile
"$LINENO"; then :
14596 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14597 ac_cv_c_bigendian
=yes
14599 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14600 if test "$ac_cv_c_bigendian" = unknown
; then
14601 ac_cv_c_bigendian
=no
14603 # finding both strings is unlikely to happen, but who knows?
14604 ac_cv_c_bigendian
=unknown
14608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14612 $ac_includes_default
14617 /* Are we little or big endian? From Harbison&Steele. */
14621 char c[sizeof (long int)];
14624 return u.c[sizeof (long int) - 1] == 1;
14630 if ac_fn_c_try_run
"$LINENO"; then :
14631 ac_cv_c_bigendian
=no
14633 ac_cv_c_bigendian
=yes
14635 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14636 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14642 $as_echo "$ac_cv_c_bigendian" >&6; }
14643 case $ac_cv_c_bigendian in #(
14645 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14651 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14655 as_fn_error
"unknown endianness
14656 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14662 # Check whether --with-system-libunwind was given.
14663 if test "${with_system_libunwind+set}" = set; then :
14664 withval
=$with_system_libunwind;
14667 # If system-libunwind was not specifically set, pick a default setting.
14668 if test x
$with_system_libunwind = x
; then
14670 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14671 *) with_system_libunwind
=no
;;
14674 # Based on system-libunwind and target, do we have ipinfo?
14675 if test x
$with_system_libunwind = xyes
; then
14677 ia64-
*-*) have_unwind_getipinfo
=no
;;
14678 *) have_unwind_getipinfo
=yes ;;
14681 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14684 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14685 *) have_unwind_getipinfo
=yes ;;
14690 if test x
$have_unwind_getipinfo = xyes
; then
14692 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14697 for ac_header
in sched.h 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
/icmp6.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
14699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14700 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14701 eval as_val
=\$
$as_ac_Header
14702 if test "x$as_val" = x
""yes; then :
14703 cat >>confdefs.h
<<_ACEOF
14704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14712 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
14714 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14715 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14716 #include <sys/socket.h>
14720 eval as_val
=\$
$as_ac_Header
14721 if test "x$as_val" = x
""yes; then :
14722 cat >>confdefs.h
<<_ACEOF
14723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14732 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14733 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14734 $as_echo_n "(cached) " >&6
14736 CFLAGS_hold
=$CFLAGS
14737 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14741 #include <sys/types.h>
14742 #ifdef HAVE_LINUX_FILTER_H
14743 #include <linux/filter.h>
14748 if ac_fn_c_try_compile
"$LINENO"; then :
14749 libgo_cv_c_ustat_h
=yes
14751 libgo_cv_c_ustat_h
=no
14753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14754 CFLAGS
=$CFLAGS_hold
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14757 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14758 if test $libgo_cv_c_ustat_h = yes; then
14760 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14764 if test "$ac_cv_header_sys_mman_h" = yes; then
14765 HAVE_SYS_MMAN_H_TRUE
=
14766 HAVE_SYS_MMAN_H_FALSE
='#'
14768 HAVE_SYS_MMAN_H_TRUE
='#'
14769 HAVE_SYS_MMAN_H_FALSE
=
14773 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr
14775 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14776 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14777 eval as_val
=\$
$as_ac_var
14778 if test "x$as_val" = x
""yes; then :
14779 cat >>confdefs.h
<<_ACEOF
14780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14786 if test "$ac_cv_func_strerror_r" = yes; then
14787 HAVE_STRERROR_R_TRUE
=
14788 HAVE_STRERROR_R_FALSE
='#'
14790 HAVE_STRERROR_R_TRUE
='#'
14791 HAVE_STRERROR_R_FALSE
=
14794 if test "$ac_cv_func_wait4" = yes; then
14796 HAVE_WAIT4_FALSE
='#'
14798 HAVE_WAIT4_TRUE
='#'
14803 for ac_func
in accept4 dup3 epoll_create1 faccessat fallocate fchmodat fchownat futimesat getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch listxattr mkdirat mknodat open64 openat pipe2 removexattr renameat setxattr sync_file_range splice
tee unlinkat unshare utimensat
14805 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14806 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14807 eval as_val
=\$
$as_ac_var
14808 if test "x$as_val" = x
""yes; then :
14809 cat >>confdefs.h
<<_ACEOF
14810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14816 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14817 if test "x$ac_cv_type_off_t" = x
""yes; then :
14821 cat >>confdefs.h
<<_ACEOF
14822 #define off_t long int
14827 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14828 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14830 cat >>confdefs.h
<<_ACEOF
14831 #define HAVE_LOFF_T 1
14840 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14842 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14843 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14844 eval as_val
=\$
$as_ac_var
14845 if test "x$as_val" = x
""yes; then :
14846 cat >>confdefs.h
<<_ACEOF
14847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14855 CFLAGS_hold
="$CFLAGS"
14856 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14858 LIBS
="$LIBS $PTHREAD_LIBS"
14859 for ac_func
in sem_timedwait
14861 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14862 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14863 cat >>confdefs.h
<<_ACEOF
14864 #define HAVE_SEM_TIMEDWAIT 1
14870 CFLAGS
="$CFLAGS_hold"
14874 LIBS
="$LIBS $MATH_LIBS"
14875 for ac_func
in matherr
14877 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14878 if test "x$ac_cv_func_matherr" = x
""yes; then :
14879 cat >>confdefs.h
<<_ACEOF
14880 #define HAVE_MATHERR 1
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14889 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14890 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14891 $as_echo_n "(cached) " >&6
14893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14898 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14901 if ac_fn_c_try_link
"$LINENO"; then :
14902 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14904 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14906 rm -f core conftest.err conftest.
$ac_objext \
14907 conftest
$ac_exeext conftest.
$ac_ext
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14910 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14911 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14913 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14918 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14919 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14920 $as_echo_n "(cached) " >&6
14922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14925 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14927 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14930 if ac_fn_c_try_link
"$LINENO"; then :
14931 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14933 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14935 rm -f core conftest.err conftest.
$ac_objext \
14936 conftest
$ac_exeext conftest.
$ac_ext
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14939 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14940 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14942 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14947 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14948 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14949 $as_echo_n "(cached) " >&6
14951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14956 int main() { return __sync_fetch_and_add (&i, 1); }
14959 if ac_fn_c_try_link
"$LINENO"; then :
14960 libgo_cv_func___sync_fetch_and_add_4
=yes
14962 libgo_cv_func___sync_fetch_and_add_4
=no
14964 rm -f core conftest.err conftest.
$ac_objext \
14965 conftest
$ac_exeext conftest.
$ac_ext
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14968 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14969 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14971 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14976 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14977 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14978 $as_echo_n "(cached) " >&6
14980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14985 int main() { return __sync_add_and_fetch (&i, 1); }
14988 if ac_fn_c_try_link
"$LINENO"; then :
14989 libgo_cv_func___sync_add_and_fetch_8
=yes
14991 libgo_cv_func___sync_add_and_fetch_8
=no
14993 rm -f core conftest.err conftest.
$ac_objext \
14994 conftest
$ac_exeext conftest.
$ac_ext
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14997 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14998 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
15000 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15005 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15006 if test "${libgo_cv_c_stringops+set}" = set; then :
15007 $as_echo_n "(cached) " >&6
15009 CFLAGS_hold
=$CFLAGS
15010 CFLAGS
="$CFLAGS -minline-all-stringops"
15011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15015 if ac_fn_c_try_compile
"$LINENO"; then :
15016 libgo_cv_c_stringops
=yes
15018 libgo_cv_c_stringops
=no
15020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15021 CFLAGS
=$CFLAGS_hold
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15024 $as_echo "$libgo_cv_c_stringops" >&6; }
15026 if test "$libgo_cv_c_stringops" = yes; then
15027 STRINGOPS_FLAG
=-minline-all-stringops
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15032 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15033 if test "${libgo_cv_c_fancymath+set}" = set; then :
15034 $as_echo_n "(cached) " >&6
15036 CFLAGS_hold
=$CFLAGS
15037 CFLAGS
="$CFLAGS -mfancy-math-387"
15038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15039 /* end confdefs.h. */
15042 if ac_fn_c_try_compile
"$LINENO"; then :
15043 libgo_cv_c_fancymath
=yes
15045 libgo_cv_c_fancymath
=no
15047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15048 CFLAGS
=$CFLAGS_hold
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15051 $as_echo "$libgo_cv_c_fancymath" >&6; }
15053 if test "$libgo_cv_c_fancymath" = yes; then
15054 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
15056 MATH_FLAG
="-ffp-contract=off"
15060 CFLAGS_hold
=$CFLAGS
15061 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15062 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15063 if test "x$ac_cv_type_off64_t" = x
""yes; then :
15065 cat >>confdefs.h
<<_ACEOF
15066 #define HAVE_OFF64_T 1
15072 CFLAGS
=$CFLAGS_hold
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15075 $as_echo_n "checking epoll_event size... " >&6; }
15076 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
15077 $as_echo_n "(cached) " >&6
15079 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15082 libgo_cv_c_epoll_event_size
=0
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15087 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15088 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15092 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15093 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
15094 $as_echo_n "(cached) " >&6
15096 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15097 #include <sys/epoll.h>"; then :
15100 libgo_cv_c_epoll_event_fd_offset
=0
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15105 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15106 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 #include <sys/stat.h>
15114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15115 $EGREP "timespec_t.*st_atim" >/dev
/null
2>&1; then :
15116 have_stat_timespec
=yes
15118 have_stat_timespec
=no
15122 if test $have_stat_timespec = yes; then
15123 HAVE_STAT_TIMESPEC_TRUE
=
15124 HAVE_STAT_TIMESPEC_FALSE
='#'
15126 HAVE_STAT_TIMESPEC_TRUE
='#'
15127 HAVE_STAT_TIMESPEC_FALSE
=
15131 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15133 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15134 libgo_has_struct_exception
=yes
15136 libgo_has_struct_exception
=no
15139 if test "$libgo_has_struct_exception" = "yes"; then
15141 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15146 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15147 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15148 $as_echo_n "(cached) " >&6
15150 CFLAGS_hold
="$CFLAGS"
15151 CFLAGS
="$PTHREAD_CFLAGS"
15153 LIBS
="$LIBS $PTHREAD_LIBS"
15154 # The cast to long int works around a bug in the HP C Compiler
15155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15157 # This bug is HP SR number 8606223364.
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15159 $as_echo_n "checking size of void *... " >&6; }
15160 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15161 $as_echo_n "(cached) " >&6
15163 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15166 if test "$ac_cv_type_void_p" = yes; then
15167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15169 { as_fn_set_status
77
15170 as_fn_error
"cannot compute sizeof (void *)
15171 See \`config.log' for more details." "$LINENO" 5; }; }
15173 ac_cv_sizeof_void_p
=0
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15179 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15183 cat >>confdefs.h
<<_ACEOF
15184 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15188 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15189 if test "$cross_compiling" = yes; then :
15190 case "$target:$ptr_type_size" in
15191 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15192 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15194 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 #include <pthread.h>
15202 #include <stdlib.h>
15203 #include <ucontext.h>
15204 #include <unistd.h>
15208 static char stack[10 * 1024 * 1024];
15209 static ucontext_t c;
15211 /* Called via makecontext/setcontext. */
15219 /* Called via pthread_create. */
15224 /* The thread should still see this value after calling
15230 /* The call to setcontext should not return. */
15239 /* The thread should not see this value. */
15242 if (getcontext (&c) < 0)
15245 c.uc_stack.ss_sp = stack;
15246 #ifdef MAKECONTEXT_STACK_TOP
15247 c.uc_stack.ss_sp += sizeof stack;
15249 c.uc_stack.ss_flags = 0;
15250 c.uc_stack.ss_size = sizeof stack;
15252 makecontext (&c, cfn, 0);
15254 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15257 if (pthread_join (tid, NULL) != 0)
15260 /* The thread should have called exit. */
15265 if ac_fn_c_try_run
"$LINENO"; then :
15266 libgo_cv_lib_setcontext_clobbers_tls
=no
15268 libgo_cv_lib_setcontext_clobbers_tls
=yes
15270 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15271 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15274 CFLAGS
="$CFLAGS_hold"
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15279 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15280 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15282 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15287 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15288 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15289 $as_echo_n "(cached) " >&6
15292 libgo_cv_ro_eh_frame
=no
15293 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15294 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15295 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15296 libgo_cv_ro_eh_frame
=yes
15297 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15298 |
grep -v '#write' > /dev
/null
; then
15299 libgo_cv_ro_eh_frame
=yes
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15306 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15307 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15309 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15313 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15318 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15319 if test "${libgo_cv_c_unused_arguments+set}" = set; then :
15320 $as_echo_n "(cached) " >&6
15322 CFLAGS_hold
=$CFLAGS
15323 CFLAGS
="$CFLAGS -Qunused-arguments"
15324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15328 if ac_fn_c_try_compile
"$LINENO"; then :
15329 libgo_cv_c_unused_arguments
=yes
15331 libgo_cv_c_unused_arguments
=no
15333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15334 CFLAGS
=$CFLAGS_hold
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15337 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15340 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15341 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15345 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15346 CFLAGS_hold
=$CFLAGS
15347 if test "$libgo_cv_c_unused_arguments" = yes; then
15348 CFLAGS
="$CFLAGS -Qunused-arguments"
15350 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15351 libgo_cv_as_comdat_gnu
=yes
15353 libgo_cv_as_comdat_gnu
=no
15355 CFLAGS
=$CFLAGS_hold
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15359 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15360 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15362 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15367 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15368 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15369 $as_echo_n "(cached) " >&6
15372 libgo_cv_as_x86_pcrel
=yes
15373 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15374 CFLAGS_hold
=$CFLAGS
15375 if test "$libgo_cv_c_unused_arguments" = yes; then
15376 CFLAGS
="$CFLAGS -Qunused-arguments"
15378 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15379 libgo_cv_as_x86_pcrel
=no
15381 CFLAGS
=$CFLAGS_hold
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15385 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15386 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15388 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15393 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15394 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15395 $as_echo_n "(cached) " >&6
15398 libgo_cv_as_x86_64_unwind_section_type
=yes
15399 echo '.section .eh_frame,"a",@unwind' > conftest.s
15400 CFLAGS_hold
=$CFLAGS
15401 if test "$libgo_cv_c_unused_arguments" = yes; then
15402 CFLAGS
="$CFLAGS -Qunused-arguments"
15404 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15405 libgo_cv_as_x86_64_unwind_section_type
=no
15407 CFLAGS
=$CFLAGS_hold
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15411 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15412 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15414 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15418 cat >confcache
<<\_ACEOF
15419 # This file is a shell script that caches the results of configure
15420 # tests run on this system so they can be shared between configure
15421 # scripts and configure runs, see configure's option --config-cache.
15422 # It is not useful on other systems. If it contains results you don't
15423 # want to keep, you may remove or edit it.
15425 # config.status only pays attention to the cache file if you give it
15426 # the --recheck option to rerun configure.
15428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15430 # following values.
15434 # The following way of writing the cache mishandles newlines in values,
15435 # but we know of no workaround that is simple, portable, and efficient.
15436 # So, we kill variables containing newlines.
15437 # Ultrix sh set writes to stderr and can't be redirected directly,
15438 # and sets the high bit in the cache file unless we assign to the vars.
15440 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15441 eval ac_val
=\$
$ac_var
15445 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15449 _ | IFS | as_nl
) ;; #(
15450 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15451 *) { eval $ac_var=; unset $ac_var;} ;;
15457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15458 *${as_nl}ac_space
=\
*)
15459 # `set' does not quote correctly, so add quotes: double-quote
15460 # substitution turns \\\\ into \\, and sed turns \\ into \.
15463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15466 # `set' quotes correctly as required by POSIX, so do not add quotes.
15467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15480 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15481 if test -w "$cache_file"; then
15482 test "x$cache_file" != "x/dev/null" &&
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15484 $as_echo "$as_me: updating cache $cache_file" >&6;}
15485 cat confcache
>$cache_file
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15488 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15493 if test ${multilib} = yes; then
15494 multilib_arg
="--enable-multilib"
15499 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15502 ac_config_commands
="$ac_config_commands default"
15505 cat >confcache
<<\_ACEOF
15506 # This file is a shell script that caches the results of configure
15507 # tests run on this system so they can be shared between configure
15508 # scripts and configure runs, see configure's option --config-cache.
15509 # It is not useful on other systems. If it contains results you don't
15510 # want to keep, you may remove or edit it.
15512 # config.status only pays attention to the cache file if you give it
15513 # the --recheck option to rerun configure.
15515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15517 # following values.
15521 # The following way of writing the cache mishandles newlines in values,
15522 # but we know of no workaround that is simple, portable, and efficient.
15523 # So, we kill variables containing newlines.
15524 # Ultrix sh set writes to stderr and can't be redirected directly,
15525 # and sets the high bit in the cache file unless we assign to the vars.
15527 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15528 eval ac_val
=\$
$ac_var
15532 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15533 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15536 _ | IFS | as_nl
) ;; #(
15537 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15538 *) { eval $ac_var=; unset $ac_var;} ;;
15544 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15545 *${as_nl}ac_space
=\
*)
15546 # `set' does not quote correctly, so add quotes: double-quote
15547 # substitution turns \\\\ into \\, and sed turns \\ into \.
15550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15553 # `set' quotes correctly as required by POSIX, so do not add quotes.
15554 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15563 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15565 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15567 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15568 if test -w "$cache_file"; then
15569 test "x$cache_file" != "x/dev/null" &&
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15571 $as_echo "$as_me: updating cache $cache_file" >&6;}
15572 cat confcache
>$cache_file
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15575 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15580 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15581 # Let make expand exec_prefix.
15582 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15584 DEFS
=-DHAVE_CONFIG_H
15588 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15589 # 1. Remove the extension, and $U if already installed.
15590 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15591 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15592 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15593 # will be set to the directory where LIBOBJS objects are built.
15594 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15595 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15597 LIBOBJS
=$ac_libobjs
15599 LTLIBOBJS
=$ac_ltlibobjs
15602 if test -n "$EXEEXT"; then
15604 am__EXEEXT_FALSE
='#'
15606 am__EXEEXT_TRUE
='#'
15610 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15611 as_fn_error
"conditional \"AMDEP\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15615 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15619 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15623 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15627 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15631 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15635 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15639 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15643 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
15647 as_fn_error
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15651 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15655 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15659 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15663 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15666 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15667 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15670 if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
15671 as_fn_error
"conditional \"LIBGO_IS_ARM64\" was never defined.
15672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15674 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15675 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15678 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15679 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15682 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15683 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15686 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15687 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15690 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15691 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15694 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15695 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15698 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15699 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15702 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15703 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15706 if test -z "${LIBGO_IS_PPC64LE_TRUE}" && test -z "${LIBGO_IS_PPC64LE_FALSE}"; then
15707 as_fn_error
"conditional \"LIBGO_IS_PPC64LE\" was never defined.
15708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15710 if test -z "${LIBGO_IS_S390_TRUE}" && test -z "${LIBGO_IS_S390_FALSE}"; then
15711 as_fn_error
"conditional \"LIBGO_IS_S390\" was never defined.
15712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15714 if test -z "${LIBGO_IS_S390X_TRUE}" && test -z "${LIBGO_IS_S390X_FALSE}"; then
15715 as_fn_error
"conditional \"LIBGO_IS_S390X\" was never defined.
15716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15718 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15719 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15722 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15723 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15726 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15727 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15730 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15731 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15734 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
15735 as_fn_error
"conditional \"GOC_IS_LLGO\" was never defined.
15736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15739 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15740 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15743 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15744 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15747 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15748 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15751 if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
15752 as_fn_error
"conditional \"HAVE_STAT_TIMESPEC\" was never defined.
15753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15756 : ${CONFIG_STATUS=./config.status}
15758 ac_clean_files_save
=$ac_clean_files
15759 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15761 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15763 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15765 # Generated by $as_me.
15766 # Run this file to recreate the current configuration.
15767 # Compiler output produced by configure, useful for debugging
15768 # configure, is in config.log if it exists.
15771 ac_cs_recheck=false
15774 SHELL=\${CONFIG_SHELL-$SHELL}
15777 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15778 ## -------------------- ##
15779 ## M4sh Initialization. ##
15780 ## -------------------- ##
15782 # Be more Bourne compatible
15783 DUALCASE
=1; export DUALCASE
# for MKS sh
15784 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15787 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15788 # is contrary to our usage. Disable this feature.
15789 alias -g '${1+"$@"}'='"$@"'
15790 setopt NO_GLOB_SUBST
15792 case `(set -o) 2>/dev/null` in #(
15804 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15805 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15806 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15807 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15808 # Prefer a ksh shell builtin over an external printf program on Solaris,
15809 # but without wasting forks for bash or zsh.
15810 if test -z "$BASH_VERSION$ZSH_VERSION" \
15811 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15812 as_echo='print
-r --'
15813 as_echo_n='print
-rn --'
15814 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15815 as_echo='printf %s
\n'
15816 as_echo_n='printf %s
'
15818 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15819 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15820 as_echo_n='/usr
/ucb
/echo -n'
15822 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15823 as_echo_n_body='eval
15827 expr "X$arg" : "X\\(.*\\)$as_nl";
15828 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15830 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15832 export as_echo_n_body
15833 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15835 export as_echo_body
15836 as_echo='sh
-c $as_echo_body as_echo
'
15839 # The user is always right.
15840 if test "${PATH_SEPARATOR+set}" != set; then
15842 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15843 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15850 # We need space, tab and new line, in precisely that order. Quoting is
15851 # there to prevent editors from complaining about space-tab.
15852 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15853 # splitting by setting IFS to empty value.)
15856 # Find who we are. Look in the path if we contain no directory separator.
15858 *[\\/]* ) as_myself=$0 ;;
15859 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15860 for as_dir in $PATH
15863 test -z "$as_dir" && as_dir=.
15864 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15870 # We did not find ourselves, most probably we were run as `sh COMMAND'
15871 # in which case we are not to be found in the path.
15872 if test "x$as_myself" = x
; then
15875 if test ! -f "$as_myself"; then
15876 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15880 # Unset variables that we do not need and which cause bugs (e.g. in
15881 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15882 # suppresses any "Segmentation fault" message there. '((' could
15883 # trigger a bug in pdksh 5.2.14.
15884 for as_var
in BASH_ENV ENV MAIL MAILPATH
15885 do eval test x\
${$as_var+set} = xset \
15886 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15899 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15902 # as_fn_error ERROR [LINENO LOG_FD]
15903 # ---------------------------------
15904 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15905 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15906 # script with status $?, using 1 if that was 0.
15909 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15911 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15912 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15914 $as_echo "$as_me: error: $1" >&2
15915 as_fn_exit
$as_status
15919 # as_fn_set_status STATUS
15920 # -----------------------
15921 # Set $? to STATUS, without forking.
15922 as_fn_set_status
()
15925 } # as_fn_set_status
15927 # as_fn_exit STATUS
15928 # -----------------
15929 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15933 as_fn_set_status
$1
15939 # Portably unset VAR.
15942 { eval $1=; unset $1;}
15944 as_unset
=as_fn_unset
15945 # as_fn_append VAR VALUE
15946 # ----------------------
15947 # Append the text in VALUE to the end of the definition contained in VAR. Take
15948 # advantage of any shell optimizations that allow amortized linear growth over
15949 # repeated appends, instead of the typical quadratic growth present in naive
15951 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15952 eval 'as_fn_append ()
15963 # as_fn_arith ARG...
15964 # ------------------
15965 # Perform arithmetic evaluation on the ARGs, and store the result in the
15966 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15967 # must be portable across $(()) and expr.
15968 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15969 eval 'as_fn_arith ()
15976 as_val
=`expr "$@" || test $? -eq 1`
15981 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15982 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15988 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15989 as_basename
=basename
15994 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16000 as_me
=`$as_basename -- "$0" ||
16001 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16002 X"$0" : 'X\(//\)$' \| \
16003 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16005 sed '/^.*\/\([^/][^/]*\)\/*$/{
16019 # Avoid depending upon Character Ranges.
16020 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16021 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16022 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16023 as_cr_digits
='0123456789'
16024 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16026 ECHO_C
= ECHO_N
= ECHO_T
=
16027 case `echo -n x` in #(((((
16029 case `echo 'xy\c'` in
16030 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16032 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16039 rm -f conf$$ conf$$.exe conf$$.
file
16040 if test -d conf$$.dir
; then
16041 rm -f conf$$.dir
/conf$$.
file
16044 mkdir conf$$.dir
2>/dev
/null
16046 if (echo >conf$$.
file) 2>/dev
/null
; then
16047 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16049 # ... but there are two gotchas:
16050 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16051 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16052 # In both cases, we have to default to `cp -p'.
16053 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16055 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16063 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16064 rmdir conf$$.dir
2>/dev
/null
16069 # Create "$as_dir" as a directory, including parents if necessary.
16074 -*) as_dir
=.
/$as_dir;;
16076 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16080 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16081 *) as_qdir
=$as_dir;;
16083 as_dirs
="'$as_qdir' $as_dirs"
16084 as_dir
=`$as_dirname -- "$as_dir" ||
16085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16086 X"$as_dir" : 'X\(//\)[^/]' \| \
16087 X"$as_dir" : 'X\(//\)$' \| \
16088 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16089 $as_echo X"$as_dir" |
16090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16094 /^X\(\/\/\)[^/].*/{
16107 test -d "$as_dir" && break
16109 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16110 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16114 if mkdir
-p .
2>/dev
/null
; then
16115 as_mkdir_p
='mkdir -p "$as_dir"'
16117 test -d .
/-p && rmdir .
/-p
16121 if test -x / >/dev
/null
2>&1; then
16122 as_test_x
='test -x'
16124 if ls -dL / >/dev
/null
2>&1; then
16131 if test -d "$1"; then
16137 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16138 ???[sx]*):;;*)false;;esac;fi
16142 as_executable_p
=$as_test_x
16144 # Sed expression to map a string onto a valid CPP name.
16145 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16147 # Sed expression to map a string onto a valid variable name.
16148 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16152 ## ----------------------------------- ##
16153 ## Main body of $CONFIG_STATUS script. ##
16154 ## ----------------------------------- ##
16156 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16159 # Save the log message, to keep $0 and so on meaningful, and to
16160 # report actual input values of CONFIG_FILES etc. instead of their
16161 # values after options handling.
16163 This file was extended by package-unused $as_me version-unused, which was
16164 generated by GNU Autoconf 2.64. Invocation command line was
16166 CONFIG_FILES = $CONFIG_FILES
16167 CONFIG_HEADERS = $CONFIG_HEADERS
16168 CONFIG_LINKS = $CONFIG_LINKS
16169 CONFIG_COMMANDS = $CONFIG_COMMANDS
16172 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16177 case $ac_config_files in *"
16178 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16181 case $ac_config_headers in *"
16182 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16187 # Files that config.status was made for.
16188 config_files="$ac_config_files"
16189 config_headers="$ac_config_headers"
16190 config_commands="$ac_config_commands"
16194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16196 \`$as_me' instantiates files and other configuration actions
16197 from templates according to the current configuration. Unless the files
16198 and actions are specified as TAGs, all are instantiated by default.
16200 Usage: $0 [OPTION]... [TAG]...
16202 -h, --help print this help, then exit
16203 -V, --version print version number and configuration settings, then exit
16204 -q, --quiet, --silent
16205 do not print progress messages
16206 -d, --debug don't remove temporary files
16207 --recheck update $as_me by reconfiguring in the same conditions
16208 --file=FILE[:TEMPLATE]
16209 instantiate the configuration file FILE
16210 --header=FILE[:TEMPLATE]
16211 instantiate the configuration header FILE
16213 Configuration files:
16216 Configuration headers:
16219 Configuration commands:
16222 Report bugs to the package provider."
16225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16227 package-unused config.status version-unused
16228 configured by $0, generated by GNU Autoconf 2.64,
16229 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16231 Copyright (C) 2009 Free Software Foundation, Inc.
16232 This config.status script is free software; the Free Software Foundation
16233 gives unlimited permission to copy, distribute and modify it."
16240 test -n "\$AWK" || AWK=awk
16243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16244 # The default lists apply if the user does not specify any file.
16250 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16251 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16262 # Handling of the options.
16263 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16265 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16266 $as_echo "$ac_cs_version"; exit ;;
16267 --debug |
--debu |
--deb |
--de |
--d |
-d )
16269 --file |
--fil |
--fi |
--f )
16272 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16274 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16275 ac_need_defaults
=false
;;
16276 --header |
--heade |
--head |
--hea )
16279 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16281 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16282 ac_need_defaults
=false
;;
16284 # Conflict between --help and --header
16285 as_fn_error
"ambiguous option: \`$1'
16286 Try \`$0 --help' for more information.";;
16287 --help |
--hel |
-h )
16288 $as_echo "$ac_cs_usage"; exit ;;
16289 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16290 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16293 # This is an error.
16294 -*) as_fn_error
"unrecognized option: \`$1'
16295 Try \`$0 --help' for more information." ;;
16297 *) as_fn_append ac_config_targets
" $1"
16298 ac_need_defaults
=false
;;
16304 ac_configure_extra_args
=
16306 if $ac_cs_silent; then
16308 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16313 if \$ac_cs_recheck; then
16314 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16316 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16317 CONFIG_SHELL='$SHELL'
16318 export CONFIG_SHELL
16323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16327 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16328 ## Running $as_me. ##
16334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16342 with_multisubdir="$with_multisubdir"
16343 with_multisrctop="$with_multisrctop"
16344 with_target_subdir="$with_target_subdir"
16345 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16346 multi_basedir="$multi_basedir"
16347 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16350 GFORTRAN="$GFORTRAN"
16352 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16355 # The HP-UX ksh and POSIX shell print the target directory to stdout
16356 # if CDPATH is set.
16357 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16359 sed_quote_subst='$sed_quote_subst'
16360 double_quote_subst='$double_quote_subst'
16361 delay_variable_subst='$delay_variable_subst'
16362 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16363 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16364 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16365 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16366 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16367 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16368 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16369 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16370 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16371 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16372 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16373 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16374 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16375 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16376 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16377 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16378 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16379 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16380 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16381 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16382 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16383 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16384 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16385 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16386 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16387 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16388 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16389 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16390 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16391 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16392 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16393 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16394 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16395 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16396 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16397 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16398 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16399 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16400 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16401 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16402 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16403 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16404 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16405 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16406 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16407 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16408 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16409 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16410 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"`'
16411 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16412 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16413 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16414 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16415 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16416 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16417 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16418 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16419 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16420 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16421 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16422 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16423 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16424 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16425 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16426 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16427 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16428 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16429 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16430 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16431 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16432 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16433 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16434 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16435 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16436 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16437 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16438 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16439 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16440 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16441 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16442 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16443 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16444 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16445 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16446 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16447 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16448 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16449 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16450 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16451 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16452 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16453 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16454 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16455 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16456 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16457 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16458 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16459 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16460 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16461 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16462 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16463 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16464 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16465 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16466 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16467 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16468 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16469 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16470 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16471 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16472 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16473 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16474 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16475 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16476 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16477 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16478 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16479 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16480 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16481 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16482 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16483 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16484 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16485 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16486 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16487 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16488 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16489 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16490 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16491 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16492 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16493 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16494 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16495 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16496 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16497 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16498 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16499 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16500 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16501 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16502 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16503 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16504 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16505 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16506 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16507 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16508 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16509 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16510 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16511 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16512 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16513 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16514 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16515 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16516 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16517 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16518 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16519 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16520 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16521 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16522 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16523 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16524 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16527 LTCFLAGS='$LTCFLAGS'
16528 compiler='$compiler_DEFAULT'
16530 # A function that is used when there is no print builtin or printf.
16531 func_fallback_echo ()
16533 eval 'cat <<_LTECHO_EOF
16538 # Quote evaled strings.
16552 deplibs_check_method \
16561 lt_cv_sys_global_symbol_pipe \
16562 lt_cv_sys_global_symbol_to_cdecl \
16563 lt_cv_sys_global_symbol_to_c_name_address \
16564 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16565 lt_prog_compiler_no_builtin_flag \
16566 lt_prog_compiler_wl \
16567 lt_prog_compiler_pic \
16568 lt_prog_compiler_static \
16569 lt_cv_prog_compiler_c_o \
16577 export_dynamic_flag_spec \
16578 whole_archive_flag_spec \
16579 compiler_needs_object \
16581 allow_undefined_flag \
16582 no_undefined_flag \
16583 hardcode_libdir_flag_spec \
16584 hardcode_libdir_flag_spec_ld \
16585 hardcode_libdir_separator \
16590 variables_saved_for_relink \
16592 library_names_spec \
16594 install_override_mode \
16601 lt_prog_compiler_no_builtin_flag_GO \
16602 lt_prog_compiler_wl_GO \
16603 lt_prog_compiler_pic_GO \
16604 lt_prog_compiler_static_GO \
16605 lt_cv_prog_compiler_c_o_GO \
16606 export_dynamic_flag_spec_GO \
16607 whole_archive_flag_spec_GO \
16608 compiler_needs_object_GO \
16610 allow_undefined_flag_GO \
16611 no_undefined_flag_GO \
16612 hardcode_libdir_flag_spec_GO \
16613 hardcode_libdir_flag_spec_ld_GO \
16614 hardcode_libdir_separator_GO \
16615 fix_srcfile_path_GO \
16616 exclude_expsyms_GO \
16617 include_expsyms_GO \
16618 file_list_spec_GO; do
16619 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16620 *[\\\\\\\`\\"\\\$]*)
16621 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16624 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16629 # Double-quote double-evaled strings.
16630 for var in reload_cmds \
16631 old_postinstall_cmds \
16632 old_postuninstall_cmds \
16634 extract_expsyms_cmds \
16635 old_archive_from_new_cmds \
16636 old_archive_from_expsyms_cmds \
16638 archive_expsym_cmds \
16640 module_expsym_cmds \
16641 export_symbols_cmds \
16644 postuninstall_cmds \
16646 sys_lib_search_path_spec \
16647 sys_lib_dlsearch_path_spec \
16649 old_archive_cmds_GO \
16650 old_archive_from_new_cmds_GO \
16651 old_archive_from_expsyms_cmds_GO \
16653 archive_expsym_cmds_GO \
16655 module_expsym_cmds_GO \
16656 export_symbols_cmds_GO \
16657 prelink_cmds_GO; do
16658 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16659 *[\\\\\\\`\\"\\\$]*)
16660 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16663 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16668 ac_aux_dir='$ac_aux_dir'
16669 xsi_shell='$xsi_shell'
16670 lt_shell_append='$lt_shell_append'
16672 # See if we are running on zsh, and set the options which allow our
16673 # commands through without removal of \ escapes INIT.
16674 if test -n "\${ZSH_VERSION+set}" ; then
16675 setopt NO_GLOB_SUBST
16681 TIMESTAMP='$TIMESTAMP'
16690 # Variables needed in config.status (file generation) which aren't already
16691 # passed by autoconf.
16697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16699 # Handling of arguments.
16700 for ac_config_target
in $ac_config_targets
16702 case $ac_config_target in
16703 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16704 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16705 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16706 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16707 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16708 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16709 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16711 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16716 # If the user did not use the arguments to specify the items to instantiate,
16717 # then the envvar interface is used. Set only those that are not.
16718 # We use the long form for the default assignment because of an extremely
16719 # bizarre bug on SunOS 4.1.3.
16720 if $ac_need_defaults; then
16721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16723 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16726 # Have a temporary directory for convenience. Make it in the build tree
16727 # simply because there is no reason against having it here, and in addition,
16728 # creating and moving files from /tmp can sometimes cause problems.
16729 # Hook for its removal unless debugging.
16730 # Note that there is a small window in which the directory will not be cleaned:
16731 # after its creation but before its name has been assigned to `$tmp'.
16735 trap 'exit_status=$?
16736 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16738 trap 'as_fn_exit 1' 1 2 13 15
16740 # Create a (secure) tmp directory for tmp files.
16743 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16744 test -n "$tmp" && test -d "$tmp"
16747 tmp
=.
/conf$$
-$RANDOM
16748 (umask 077 && mkdir
"$tmp")
16749 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16751 # Set up the scripts for CONFIG_FILES section.
16752 # No need to generate them if there are no CONFIG_FILES.
16753 # This happens for instance with `./config.status config.h'.
16754 if test -n "$CONFIG_FILES"; then
16757 ac_cr
=`echo X | tr X '\015'`
16758 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16759 # But we know of no other shell where ac_cr would be empty at this
16760 # point, so we can use a bashism as a fallback.
16761 if test "x$ac_cr" = x
; then
16762 eval ac_cr
=\$
\'\\r
\'
16764 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16765 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16768 ac_cs_awk_cr
=$ac_cr
16771 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16776 echo "cat >conf$$subs.awk <<_ACEOF" &&
16777 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16779 } >conf$$subs.sh ||
16780 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16781 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16783 for ac_last_try in false false false false false :; do
16784 . ./conf$$subs.sh ||
16785 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16787 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16788 if test $ac_delim_n = $ac_delim_num; then
16790 elif $ac_last_try; then
16791 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16793 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16796 rm -f conf$$subs.sh
16798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16799 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16803 s/^/S["/; s
/!.
*/"]=/
16813 s/\(.\{148\}\).*/\1/
16815 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16820 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16827 s/\(.\{148\}\).*/\1/
16829 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16833 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16838 ' <conf$$subs.awk | sed '
16843 ' >>$CONFIG_STATUS || ac_write_fail=1
16844 rm -f conf$$subs.awk
16845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16847 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16848 for (key in S) S_is_set[key] = 1
16854 nfields = split(line, field, "@
")
16856 len = length(field[1])
16857 for (i = 2; i < nfields; i++) {
16859 keylen = length(key)
16860 if (S_is_set[key]) {
16862 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16863 len += length(value) + length(field[++i])
16874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16875 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16876 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16879 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16880 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16883 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16884 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16885 # trailing colons and then remove the whole line if VPATH becomes empty
16886 # (actually we leave an empty line to preserve line numbers).
16887 if test "x
$srcdir" = x.; then
16888 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16889 s/:*\$(srcdir):*/:/
16890 s/:*\${srcdir}:*/:/
16892 s/^\([^=]*=[ ]*\):*/\1/
16898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16899 fi # test -n "$CONFIG_FILES"
16901 # Set up the scripts for CONFIG_HEADERS section.
16902 # No need to generate them if there are no CONFIG_HEADERS.
16903 # This happens for instance with `./config.status Makefile'.
16904 if test -n "$CONFIG_HEADERS"; then
16905 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16909 # Transform confdefs.h into an awk script `defines.awk', embedded as
16910 # here-document in config.status, that substitutes the proper values into
16911 # config.h.in to produce config.h.
16913 # Create a delimiter string that does not exist in confdefs.h, to ease
16914 # handling of long lines.
16916 for ac_last_try in false false :; do
16917 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16918 if test -z "$ac_t"; then
16920 elif $ac_last_try; then
16921 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16923 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16927 # For the awk script, D is an array of macro values keyed by name,
16928 # likewise P contains macro parameters if any. Preserve backslash
16929 # newline sequences.
16931 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16933 s/.\{148\}/&'"$ac_delim"'/g
16936 s/^[ ]*#[ ]*define[ ][ ]*/ /
16943 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16945 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16950 D["\
1"]=" \
3\\\\\\n
"\\/p
16952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16957 s/.\{148\}/&'"$ac_delim"'/g
16962 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16965 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16967 ' <confdefs.h | sed '
16968 s/'"$ac_delim"'/"\\\
16969 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16972 for (key in D) D_is_set[key] = 1
16975 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16977 split(line, arg, " ")
16978 if (arg[1] == "#") {
16982 defundef
= substr
(arg
[1], 2)
16985 split(mac1
, mac2
, "(") #)
16987 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16988 if (D_is_set
[macro
]) {
16989 # Preserve the white space surrounding the "#".
16990 print prefix
"define", macro P
[macro
] D
[macro
]
16993 # Replace #undef with comments. This is necessary, for example,
16994 # in the case of _POSIX_SOURCE, which is predefined and required
16995 # on some systems where configure will not decide to define it.
16996 if (defundef
== "undef") {
16997 print
"/*", prefix defundef
, macro
, "*/"
17005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17006 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17007 fi # test -n "$CONFIG_HEADERS"
17010 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17015 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17017 case $ac_mode$ac_tag in
17019 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17020 :[FH
]-) ac_tag
=-:-;;
17021 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17038 -) ac_f
="$tmp/stdin";;
17039 *) # Look for the file first in the build tree, then in the source tree
17040 # (if the path is not absolute). The absolute path cannot be DOS-style,
17041 # because $ac_f cannot contain `:'.
17045 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17047 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17049 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17050 as_fn_append ac_file_inputs
" '$ac_f'"
17053 # Let's still pretend it is `configure' which instantiates (i.e., don't
17054 # use $as_me), people would be surprised to read:
17055 # /* config.h. Generated by config.status. */
17056 configure_input
='Generated from '`
17057 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17059 if test x
"$ac_file" != x-
; then
17060 configure_input
="$ac_file. $configure_input"
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17062 $as_echo "$as_me: creating $ac_file" >&6;}
17064 # Neutralize special characters interpreted by sed in replacement strings.
17065 case $configure_input in #(
17066 *\
&* |
*\|
* |
*\\* )
17067 ac_sed_conf_input
=`$as_echo "$configure_input" |
17068 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17069 *) ac_sed_conf_input
=$configure_input;;
17073 *:-:* |
*:-) cat >"$tmp/stdin" \
17074 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17079 ac_dir
=`$as_dirname -- "$ac_file" ||
17080 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17081 X"$ac_file" : 'X\(//\)[^/]' \| \
17082 X"$ac_file" : 'X\(//\)$' \| \
17083 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17084 $as_echo X"$ac_file" |
17085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17089 /^X\(\/\/\)[^/].*/{
17102 as_dir
="$ac_dir"; as_fn_mkdir_p
17106 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17108 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17109 # A ".." for each directory in $ac_dir_suffix.
17110 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17111 case $ac_top_builddir_sub in
17112 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17113 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17116 ac_abs_top_builddir
=$ac_pwd
17117 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17118 # for backward compatibility:
17119 ac_top_builddir
=$ac_top_build_prefix
17122 .
) # We are building in place.
17124 ac_top_srcdir
=$ac_top_builddir_sub
17125 ac_abs_top_srcdir
=$ac_pwd ;;
17126 [\\/]* | ?
:[\\/]* ) # Absolute name.
17127 ac_srcdir
=$srcdir$ac_dir_suffix;
17128 ac_top_srcdir
=$srcdir
17129 ac_abs_top_srcdir
=$srcdir ;;
17130 *) # Relative name.
17131 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17132 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17133 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17135 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17145 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17146 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17148 ac_MKDIR_P
=$MKDIR_P
17150 [\\/$
]* | ?
:[\\/]* ) ;;
17151 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17156 # If the template does not know about datarootdir, expand it.
17157 # FIXME: This hack should be removed a few years after 2.60.
17158 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17169 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17170 *datarootdir
*) ac_datarootdir_seen
=yes;;
17171 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17173 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17176 ac_datarootdir_hack='
17177 s&@datadir@&$datadir&g
17178 s&@docdir@&$docdir&g
17179 s&@infodir@&$infodir&g
17180 s&@localedir@&$localedir&g
17181 s&@mandir@&$mandir&g
17182 s&\\\${datarootdir}&$datarootdir&g' ;;
17186 # Neutralize VPATH when `$srcdir' = `.'.
17187 # Shell code in configure.ac might set extrasub.
17188 # FIXME: do we really want to maintain this feature?
17189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17190 ac_sed_extra="$ac_vpsub
17193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17195 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17196 s|@configure_input@|
$ac_sed_conf_input|
;t t
17197 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17198 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17199 s
&@srcdir@
&$ac_srcdir&;t t
17200 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17201 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17202 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17203 s
&@builddir@
&$ac_builddir&;t t
17204 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17205 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17206 s
&@INSTALL@
&$ac_INSTALL&;t t
17207 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17208 $ac_datarootdir_hack
17210 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17211 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17213 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17214 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17215 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17217 which seems to be undefined. Please make sure it is defined." >&5
17218 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17219 which seems to be undefined. Please make sure it is defined." >&2;}
17223 -) cat "$tmp/out" && rm -f "$tmp/out";;
17224 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17226 || as_fn_error "could not create $ac_file" "$LINENO" 5
17232 if test x"$ac_file" != x-; then
17234 $as_echo "/* $configure_input */" \
17235 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17236 } >"$tmp/config.h" \
17237 || as_fn_error "could not create $ac_file" "$LINENO" 5
17238 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17240 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17243 mv "$tmp/config.h" "$ac_file" \
17244 || as_fn_error "could not create $ac_file" "$LINENO" 5
17247 $as_echo "/* $configure_input */" \
17248 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17249 || as_fn_error "could not create -" "$LINENO" 5
17251 # Compute "$ac_file"'s index
in $config_headers.
17254 for _am_header
in $config_headers :; do
17255 case $_am_header in
17256 $_am_arg |
$_am_arg:* )
17259 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17262 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17263 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17264 X"$_am_arg" : 'X\(//\)[^/]' \| \
17265 X"$_am_arg" : 'X\(//\)$' \| \
17266 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17267 $as_echo X"$_am_arg" |
17268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17272 /^X\(\/\/\)[^/].*/{
17284 s/.*/./; q'`/stamp-h
$_am_stamp_count
17287 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17288 $as_echo "$as_me: executing $ac_file commands" >&6;}
17293 case $ac_file$ac_mode in
17295 # Only add multilib support code if we just rebuilt the top-level
17297 case " $CONFIG_FILES " in
17299 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17302 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17303 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17304 # are listed without --file. Let's play safe and only enable the eval
17305 # if we detect the quoting.
17306 case $CONFIG_FILES in
17307 *\'*) eval set x
"$CONFIG_FILES" ;;
17308 *) set x
$CONFIG_FILES ;;
17313 # Strip MF so we end up with the name of the file.
17314 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17315 # Check whether this is an Automake generated Makefile or not.
17316 # We used to match only the files named `Makefile.in', but
17317 # some people rename them; so instead we look at the file content.
17318 # Grep'ing the first line is not enough: some people post-process
17319 # each Makefile.in and add a new line on top of each file to say so.
17320 # Grep'ing the whole file is not good either: AIX grep has a line
17321 # limit of 2048, but all sed's we know have understand at least 4000.
17322 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17323 dirpart
=`$as_dirname -- "$mf" ||
17324 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17325 X"$mf" : 'X\(//\)[^/]' \| \
17326 X"$mf" : 'X\(//\)$' \| \
17327 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17333 /^X\(\/\/\)[^/].*/{
17349 # Extract the definition of DEPDIR, am__include, and am__quote
17350 # from the Makefile without running `make'.
17351 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17352 test -z "$DEPDIR" && continue
17353 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17354 test -z "am__include" && continue
17355 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17356 # When using ansi2knr, U may be empty or an underscore; expand it
17357 U
=`sed -n 's/^U = //p' < "$mf"`
17358 # Find all dependency output files, they are included files with
17359 # $(DEPDIR) in their names. We invoke sed twice because it is the
17360 # simplest approach to changing $(DEPDIR) to its actual value in the
17362 for file in `sed -n "
17363 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17364 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17365 # Make sure the directory exists.
17366 test -f "$dirpart/$file" && continue
17367 fdir
=`$as_dirname -- "$file" ||
17368 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17369 X"$file" : 'X\(//\)[^/]' \| \
17370 X"$file" : 'X\(//\)$' \| \
17371 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17372 $as_echo X"$file" |
17373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17377 /^X\(\/\/\)[^/].*/{
17390 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17391 # echo "creating $dirpart/$file"
17392 echo '# dummy' > "$dirpart/$file"
17399 # See if we are running on zsh, and set the options which allow our
17400 # commands through without removal of \ escapes.
17401 if test -n "${ZSH_VERSION+set}" ; then
17402 setopt NO_GLOB_SUBST
17405 cfgfile
="${ofile}T"
17406 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17409 cat <<_LT_EOF >> "$cfgfile"
17412 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17413 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17414 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17415 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17417 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17418 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17419 # Written by Gordon Matzigkeit, 1996
17421 # This file is part of GNU Libtool.
17423 # GNU Libtool is free software; you can redistribute it and/or
17424 # modify it under the terms of the GNU General Public License as
17425 # published by the Free Software Foundation; either version 2 of
17426 # the License, or (at your option) any later version.
17428 # As a special exception to the GNU General Public License,
17429 # if you distribute this file as part of a program or library that
17430 # is built using GNU Libtool, you may include this file under the
17431 # same distribution terms that you use for the rest of that program.
17433 # GNU Libtool is distributed in the hope that it will be useful,
17434 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17435 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17436 # GNU General Public License for more details.
17438 # You should have received a copy of the GNU General Public License
17439 # along with GNU Libtool; see the file COPYING. If not, a copy
17440 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17441 # obtained by writing to the Free Software Foundation, Inc.,
17442 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17445 # The names of the tagged configurations supported by this script.
17446 available_tags="GO "
17448 # ### BEGIN LIBTOOL CONFIG
17450 # A sed program that does not truncate output.
17453 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17454 Xsed="\$SED -e 1s/^X//"
17456 # A grep program that handles long lines.
17462 # A literal string matcher.
17465 # Shell to use when invoking shell scripts.
17468 # An echo program that protects backslashes.
17471 # Which release of libtool.m4 was used?
17472 macro_version=$macro_version
17473 macro_revision=$macro_revision
17475 # Whether or not to build shared libraries.
17476 build_libtool_libs=$enable_shared
17478 # Whether or not to build static libraries.
17479 build_old_libs=$enable_static
17481 # What type of objects to build.
17484 # Whether or not to optimize for fast installation.
17485 fast_install=$enable_fast_install
17488 host_alias=$host_alias
17492 # The build system.
17493 build_alias=$build_alias
17497 # A BSD- or MS-compatible name lister.
17500 # Whether we need soft or hard links.
17503 # What is the maximum length of a command?
17504 max_cmd_len=$max_cmd_len
17506 # Object file suffix (normally "o").
17509 # Executable file suffix (normally "").
17512 # whether the shell understands "unset".
17515 # turn spaces into newlines.
17518 # turn newlines into spaces.
17521 # An object symbol dumper.
17522 OBJDUMP=$lt_OBJDUMP
17524 # Method to check whether dependent libraries are shared objects.
17525 deplibs_check_method=$lt_deplibs_check_method
17527 # Command to use when deplibs_check_method == "file_magic".
17528 file_magic_cmd=$lt_file_magic_cmd
17532 AR_FLAGS=$lt_AR_FLAGS
17534 # A symbol stripping program.
17537 # Commands used to install an old-style archive.
17539 old_postinstall_cmds=$lt_old_postinstall_cmds
17540 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17542 # Whether to use a lock for old archive extraction.
17543 lock_old_archive_extraction=$lock_old_archive_extraction
17548 # LTCC compiler flags.
17549 LTCFLAGS=$lt_CFLAGS
17551 # Take the output of nm and produce a listing of raw symbols and C names.
17552 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17554 # Transform the output of nm in a proper C declaration.
17555 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17557 # Transform the output of nm in a C name address pair.
17558 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17560 # Transform the output of nm in a C name address pair when lib prefix is needed.
17561 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17563 # The name of the directory that contains temporary libtool files.
17566 # Used to examine libraries when file_magic_cmd begins with "file".
17567 MAGIC_CMD=$MAGIC_CMD
17569 # Must we lock files when doing compilation?
17570 need_locks=$lt_need_locks
17572 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17573 DSYMUTIL=$lt_DSYMUTIL
17575 # Tool to change global to local symbols on Mac OS X.
17578 # Tool to manipulate fat objects and archives on Mac OS X.
17581 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17584 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17585 OTOOL64=$lt_OTOOL64
17587 # Old archive suffix (normally "a").
17590 # Shared library suffix (normally ".so").
17591 shrext_cmds=$lt_shrext_cmds
17593 # The commands to extract the exported symbol list from a shared archive.
17594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17596 # Variables whose values should be saved in libtool wrapper scripts and
17597 # restored at link time.
17598 variables_saved_for_relink=$lt_variables_saved_for_relink
17600 # Do we need the "lib" prefix for modules?
17601 need_lib_prefix=$need_lib_prefix
17603 # Do we need a version for libraries?
17604 need_version=$need_version
17606 # Library versioning type.
17607 version_type=$version_type
17609 # Shared library runtime path variable.
17610 runpath_var=$runpath_var
17612 # Shared library path variable.
17613 shlibpath_var=$shlibpath_var
17615 # Is shlibpath searched before the hard-coded library search path?
17616 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17618 # Format of library name prefix.
17619 libname_spec=$lt_libname_spec
17621 # List of archive names. First name is the real one, the rest are links.
17622 # The last name is the one that the linker finds with -lNAME
17623 library_names_spec=$lt_library_names_spec
17625 # The coded name of the library, if different from the real name.
17626 soname_spec=$lt_soname_spec
17628 # Permission mode override for installation of shared libraries.
17629 install_override_mode=$lt_install_override_mode
17631 # Command to use after installation of a shared archive.
17632 postinstall_cmds=$lt_postinstall_cmds
17634 # Command to use after uninstallation of a shared archive.
17635 postuninstall_cmds=$lt_postuninstall_cmds
17637 # Commands used to finish a libtool library installation in a directory.
17638 finish_cmds=$lt_finish_cmds
17640 # As "finish_cmds", except a single script fragment to be evaled but
17642 finish_eval=$lt_finish_eval
17644 # Whether we should hardcode library paths into libraries.
17645 hardcode_into_libs=$hardcode_into_libs
17647 # Compile-time system search path for libraries.
17648 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17650 # Run-time system search path for libraries.
17651 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17653 # Whether dlopen is supported.
17654 dlopen_support=$enable_dlopen
17656 # Whether dlopen of programs is supported.
17657 dlopen_self=$enable_dlopen_self
17659 # Whether dlopen of statically linked programs is supported.
17660 dlopen_self_static=$enable_dlopen_self_static
17662 # Commands to strip libraries.
17663 old_striplib=$lt_old_striplib
17664 striplib=$lt_striplib
17667 # The linker used to build libraries.
17670 # How to create reloadable object files.
17671 reload_flag=$lt_reload_flag
17672 reload_cmds=$lt_reload_cmds
17674 # Commands used to build an old-style archive.
17675 old_archive_cmds=$lt_old_archive_cmds
17677 # A language specific compiler.
17680 # Is the compiler the GNU compiler?
17683 # Compiler flag to turn off builtin functions.
17684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17686 # How to pass a linker flag through the compiler.
17687 wl=$lt_lt_prog_compiler_wl
17689 # Additional compiler flags for building library objects.
17690 pic_flag=$lt_lt_prog_compiler_pic
17692 # Compiler flag to prevent dynamic linking.
17693 link_static_flag=$lt_lt_prog_compiler_static
17695 # Does compiler simultaneously support -c and -o options?
17696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17698 # Whether or not to add -lc for building shared libraries.
17699 build_libtool_need_lc=$archive_cmds_need_lc
17701 # Whether or not to disallow shared libs when runtime libs are static.
17702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17704 # Compiler flag to allow reflexive dlopens.
17705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17707 # Compiler flag to generate shared objects directly from archives.
17708 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17710 # Whether the compiler copes with passing no objects directly.
17711 compiler_needs_object=$lt_compiler_needs_object
17713 # Create an old-style archive from a shared archive.
17714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17716 # Create a temporary old-style archive to link instead of a shared archive.
17717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17719 # Commands used to build a shared archive.
17720 archive_cmds=$lt_archive_cmds
17721 archive_expsym_cmds=$lt_archive_expsym_cmds
17723 # Commands used to build a loadable module if different from building
17724 # a shared archive.
17725 module_cmds=$lt_module_cmds
17726 module_expsym_cmds=$lt_module_expsym_cmds
17728 # Whether we are building with GNU ld or not.
17729 with_gnu_ld=$lt_with_gnu_ld
17731 # Flag that allows shared libraries with undefined symbols to be built.
17732 allow_undefined_flag=$lt_allow_undefined_flag
17734 # Flag that enforces no undefined symbols.
17735 no_undefined_flag=$lt_no_undefined_flag
17737 # Flag to hardcode \$libdir into a binary during linking.
17738 # This must work even if \$libdir does not exist
17739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17741 # If ld is used when linking, flag to hardcode \$libdir into a binary
17742 # during linking. This must work even if \$libdir does not exist.
17743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17745 # Whether we need a single "-rpath" flag with a separated argument.
17746 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17749 # DIR into the resulting binary.
17750 hardcode_direct=$hardcode_direct
17752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17753 # DIR into the resulting binary and the resulting library dependency is
17754 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17755 # library is relocated.
17756 hardcode_direct_absolute=$hardcode_direct_absolute
17758 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17759 # into the resulting binary.
17760 hardcode_minus_L=$hardcode_minus_L
17762 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17763 # into the resulting binary.
17764 hardcode_shlibpath_var=$hardcode_shlibpath_var
17766 # Set to "yes" if building a shared library automatically hardcodes DIR
17767 # into the library and all subsequent libraries and executables linked
17769 hardcode_automatic=$hardcode_automatic
17771 # Set to yes if linker adds runtime paths of dependent libraries
17772 # to runtime path list.
17773 inherit_rpath=$inherit_rpath
17775 # Whether libtool must link a program against all its dependency libraries.
17776 link_all_deplibs=$link_all_deplibs
17778 # Fix the shell variable \$srcfile for the compiler.
17779 fix_srcfile_path=$lt_fix_srcfile_path
17781 # Set to "yes" if exported symbols are required.
17782 always_export_symbols=$always_export_symbols
17784 # The commands to list exported symbols.
17785 export_symbols_cmds=$lt_export_symbols_cmds
17787 # Symbols that should not be listed in the preloaded symbols.
17788 exclude_expsyms=$lt_exclude_expsyms
17790 # Symbols that must always be exported.
17791 include_expsyms=$lt_include_expsyms
17793 # Commands necessary for linking programs (against libraries) with templates.
17794 prelink_cmds=$lt_prelink_cmds
17796 # Specify filename containing input files.
17797 file_list_spec=$lt_file_list_spec
17799 # How to hardcode a shared library path into an executable.
17800 hardcode_action=$hardcode_action
17802 # ### END LIBTOOL CONFIG
17808 cat <<\_LT_EOF
>> "$cfgfile"
17809 # AIX sometimes has problems with the GCC collect2 program. For some
17810 # reason, if we set the COLLECT_NAMES environment variable, the problems
17811 # vanish in a puff of smoke.
17812 if test "X${COLLECT_NAMES+set}" != Xset
; then
17814 export COLLECT_NAMES
17821 ltmain
="$ac_aux_dir/ltmain.sh"
17824 # We use sed instead of cat because bash on DJGPP gets confused if
17825 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17826 # text mode, it properly converts lines to CR/LF. This bash problem
17827 # is reportedly fixed, but why not run on old versions too?
17828 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17829 ||
(rm -f "$cfgfile"; exit 1)
17833 cat << \_LT_EOF
>> "$cfgfile"
17835 # func_dirname file append nondir_replacement
17836 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17837 # otherwise set result to NONDIR_REPLACEMENT.
17841 */*) func_dirname_result
="${1%/*}${2}" ;;
17842 * ) func_dirname_result
="${3}" ;;
17846 # func_basename file
17849 func_basename_result
="${1##*/}"
17852 # func_dirname_and_basename file append nondir_replacement
17853 # perform func_basename and func_dirname in a single function
17855 # dirname: Compute the dirname of FILE. If nonempty,
17856 # add APPEND to the result, otherwise set result
17857 # to NONDIR_REPLACEMENT.
17858 # value returned in "$func_dirname_result"
17859 # basename: Compute filename of FILE.
17860 # value retuned in "$func_basename_result"
17861 # Implementation must be kept synchronized with func_dirname
17862 # and func_basename. For efficiency, we do not delegate to
17863 # those functions but instead duplicate the functionality here.
17864 func_dirname_and_basename
()
17867 */*) func_dirname_result
="${1%/*}${2}" ;;
17868 * ) func_dirname_result
="${3}" ;;
17870 func_basename_result
="${1##*/}"
17873 # func_stripname prefix suffix name
17874 # strip PREFIX and SUFFIX off of NAME.
17875 # PREFIX and SUFFIX must not contain globbing or regex special
17876 # characters, hashes, percent signs, but SUFFIX may contain a leading
17877 # dot (in which case that matches only a dot).
17880 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17881 # positional parameters, so assign one to ordinary parameter first.
17882 func_stripname_result
=${3}
17883 func_stripname_result
=${func_stripname_result#"${1}"}
17884 func_stripname_result
=${func_stripname_result%"${2}"}
17890 func_opt_split_opt
=${1%%=*}
17891 func_opt_split_arg
=${1#*=}
17898 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17899 *) func_lo2o_result
=${1} ;;
17903 # func_xform libobj-or-source
17906 func_xform_result
=${1%.*}.lo
17909 # func_arith arithmetic-term...
17912 func_arith_result
=$
(( $
* ))
17916 # STRING may not start with a hyphen.
17919 func_len_result
=${#1}
17924 *) # Bourne compatible functions.
17925 cat << \_LT_EOF
>> "$cfgfile"
17927 # func_dirname file append nondir_replacement
17928 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17929 # otherwise set result to NONDIR_REPLACEMENT.
17932 # Extract subdirectory from the argument.
17933 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17934 if test "X$func_dirname_result" = "X${1}"; then
17935 func_dirname_result
="${3}"
17937 func_dirname_result
="$func_dirname_result${2}"
17941 # func_basename file
17944 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17948 # func_stripname prefix suffix name
17949 # strip PREFIX and SUFFIX off of NAME.
17950 # PREFIX and SUFFIX must not contain globbing or regex special
17951 # characters, hashes, percent signs, but SUFFIX may contain a leading
17952 # dot (in which case that matches only a dot).
17953 # func_strip_suffix prefix name
17957 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17958 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17963 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17964 my_sed_long_arg
='1s/^-[^=]*=//'
17969 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17970 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17976 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17979 # func_xform libobj-or-source
17982 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17985 # func_arith arithmetic-term...
17988 func_arith_result
=`expr "$@"`
17992 # STRING may not start with a hyphen.
17995 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18001 case $lt_shell_append in
18003 cat << \_LT_EOF
>> "$cfgfile"
18005 # func_append var value
18006 # Append VALUE to the end of shell variable VAR.
18014 cat << \_LT_EOF
>> "$cfgfile"
18016 # func_append var value
18017 # Append VALUE to the end of shell variable VAR.
18028 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18029 ||
(rm -f "$cfgfile"; exit 1)
18031 mv -f "$cfgfile" "$ofile" ||
18032 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18036 cat <<_LT_EOF >> "$ofile"
18038 # ### BEGIN LIBTOOL TAG CONFIG: GO
18040 # The linker used to build libraries.
18043 # How to create reloadable object files.
18044 reload_flag=$lt_reload_flag_GO
18045 reload_cmds=$lt_reload_cmds_GO
18047 # Commands used to build an old-style archive.
18048 old_archive_cmds=$lt_old_archive_cmds_GO
18050 # A language specific compiler.
18053 # Is the compiler the GNU compiler?
18056 # Compiler flag to turn off builtin functions.
18057 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18059 # How to pass a linker flag through the compiler.
18060 wl=$lt_lt_prog_compiler_wl_GO
18062 # Additional compiler flags for building library objects.
18063 pic_flag=$lt_lt_prog_compiler_pic_GO
18065 # Compiler flag to prevent dynamic linking.
18066 link_static_flag=$lt_lt_prog_compiler_static_GO
18068 # Does compiler simultaneously support -c and -o options?
18069 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18071 # Whether or not to add -lc for building shared libraries.
18072 build_libtool_need_lc=$archive_cmds_need_lc_GO
18074 # Whether or not to disallow shared libs when runtime libs are static.
18075 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18077 # Compiler flag to allow reflexive dlopens.
18078 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18080 # Compiler flag to generate shared objects directly from archives.
18081 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18083 # Whether the compiler copes with passing no objects directly.
18084 compiler_needs_object=$lt_compiler_needs_object_GO
18086 # Create an old-style archive from a shared archive.
18087 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18089 # Create a temporary old-style archive to link instead of a shared archive.
18090 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18092 # Commands used to build a shared archive.
18093 archive_cmds=$lt_archive_cmds_GO
18094 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18096 # Commands used to build a loadable module if different from building
18097 # a shared archive.
18098 module_cmds=$lt_module_cmds_GO
18099 module_expsym_cmds=$lt_module_expsym_cmds_GO
18101 # Whether we are building with GNU ld or not.
18102 with_gnu_ld=$lt_with_gnu_ld_GO
18104 # Flag that allows shared libraries with undefined symbols to be built.
18105 allow_undefined_flag=$lt_allow_undefined_flag_GO
18107 # Flag that enforces no undefined symbols.
18108 no_undefined_flag=$lt_no_undefined_flag_GO
18110 # Flag to hardcode \$libdir into a binary during linking.
18111 # This must work even if \$libdir does not exist
18112 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18114 # If ld is used when linking, flag to hardcode \$libdir into a binary
18115 # during linking. This must work even if \$libdir does not exist.
18116 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18118 # Whether we need a single "-rpath" flag with a separated argument.
18119 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18121 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18122 # DIR into the resulting binary.
18123 hardcode_direct=$hardcode_direct_GO
18125 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18126 # DIR into the resulting binary and the resulting library dependency is
18127 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18128 # library is relocated.
18129 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18131 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18132 # into the resulting binary.
18133 hardcode_minus_L=$hardcode_minus_L_GO
18135 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18136 # into the resulting binary.
18137 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18139 # Set to "yes" if building a shared library automatically hardcodes DIR
18140 # into the library and all subsequent libraries and executables linked
18142 hardcode_automatic=$hardcode_automatic_GO
18144 # Set to yes if linker adds runtime paths of dependent libraries
18145 # to runtime path list.
18146 inherit_rpath=$inherit_rpath_GO
18148 # Whether libtool must link a program against all its dependency libraries.
18149 link_all_deplibs=$link_all_deplibs_GO
18151 # Fix the shell variable \$srcfile for the compiler.
18152 fix_srcfile_path=$lt_fix_srcfile_path_GO
18154 # Set to "yes" if exported symbols are required.
18155 always_export_symbols=$always_export_symbols_GO
18157 # The commands to list exported symbols.
18158 export_symbols_cmds=$lt_export_symbols_cmds_GO
18160 # Symbols that should not be listed in the preloaded symbols.
18161 exclude_expsyms=$lt_exclude_expsyms_GO
18163 # Symbols that must always be exported.
18164 include_expsyms=$lt_include_expsyms_GO
18166 # Commands necessary for linking programs (against libraries) with templates.
18167 prelink_cmds=$lt_prelink_cmds_GO
18169 # Specify filename containing input files.
18170 file_list_spec=$lt_file_list_spec_GO
18172 # How to hardcode a shared library path into an executable.
18173 hardcode_action=$hardcode_action_GO
18175 # ### END LIBTOOL TAG CONFIG: GO
18179 "default":C
) if test -n "$CONFIG_FILES"; then
18180 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18181 # that multilib installs will end up installed in the correct place.
18182 # The testsuite needs it for multilib-aware ABI baseline files.
18183 # To work around this not being passed down from config-ml.in ->
18184 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18185 # append it here. Only modify Makefiles that have just been created.
18187 # Also, get rid of this simulated-VPATH thing that automake does.
18188 cat > vpsed
<< \_EOF
18189 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18191 for i
in $SUBDIRS; do
18192 case $CONFIG_FILES in
18194 #echo "Adding MULTISUBDIR to $i/Makefile"
18195 sed -f vpsed
$i/Makefile
> tmp
18196 grep '^MULTISUBDIR =' Makefile
>> tmp
18211 ac_clean_files
=$ac_clean_files_save
18213 test $ac_write_fail = 0 ||
18214 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18217 # configure is writing to config.log, and then calls config.status.
18218 # config.status does its own redirection, appending to config.log.
18219 # Unfortunately, on DOS this fails, as config.log is still kept open
18220 # by configure, so config.status won't be able to write to it; its
18221 # output is simply discarded. So we exec the FD to /dev/null,
18222 # effectively closing config.log, so it can be properly (re)opened and
18223 # appended to by config.status. When coming back to configure, we
18224 # need to make the FD available again.
18225 if test "$no_create" != yes; then
18227 ac_config_status_args
=
18228 test "$silent" = yes &&
18229 ac_config_status_args
="$ac_config_status_args --quiet"
18231 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18233 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18234 # would make configure fail if this is the last instruction.
18235 $ac_cs_success || as_fn_exit $?
18237 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18239 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}